Jump to content

Can't compile source - LNK2019


Recommended Posts

Hello, I'm using r4160 source code and I get LNK2019 error's. All problem is described here -

1>CPedSA.obj : error LNK2019: unresolved external symbol "void __cdecl MemCpy(void *,void const *,unsigned int)" (?MemCpy@@YAXPAXPBXI@Z) referenced in function "public: virtual void __thiscall CPedSA::Respawn(class CVector *,bool)" (?Respawn@CPedSA@@UAEXPAVCVector@@_N@Z) 
1>CPedSA.obj : error LNK2019: unresolved external symbol "void __cdecl MemSet(void *,int,unsigned int)" (?MemSet@@YAXPAXHI@Z) referenced in function "public: virtual void __thiscall CPedSA::Respawn(class CVector *,bool)" (?Respawn@CPedSA@@UAEXPAVCVector@@_N@Z) 
1>thread.obj : error LNK2019: unresolved external symbol "void __cdecl boost::tss_cleanup_implemented(void)" (?tss_cleanup_implemented@boost@@YAXXZ) referenced in function "void __cdecl boost::`anonymous namespace'::create_current_thread_tls_key(void)" (?create_current_thread_tls_key@?A0x5f6ae38d@boost@@YAXXZ) 
1>thread.obj : error LNK2019: unresolved external symbol "public: static class boost::chrono::time_point<class boost::chrono::system_clock,class boost::chrono::duration<__int64,class boost::ratio<1,10000000> > > __cdecl boost::chrono::system_clock::now(void)" (?now@system_clock@chrono@boost@@SA?AV?$time_point@Vsystem_clock@chrono@boost@@V?$duration@_JV?$ratio@$00$0JIJGIA@@boost@@@23@@23@XZ) referenced in function "public: bool __thiscall boost::thread::try_join_until(class boost::chrono::time_point<class boost::chrono::system_clock,class boost::chrono::duration<__int64,class boost::ratio<1,1000000000> > > const &)" (?try_join_until@thread@boost@@QAE_NABV?$time_point@Vsystem_clock@chrono@boost@@V?$duration@_JV?$ratio@$00$0DLJKMKAA@@boost@@@23@@chrono@2@@Z) 

Header file with Mem* - https://github.com/SkyFire/MTA/blob/mas ... esa_init.h

void MemSet ( void* dwDest, int cValue, unsigned int uiAmount ); 
void MemCpy ( void* dwDest, const void* dwSrc, unsigned int uiAmount ); 

I'm using VS208, if you know how to solve this, please help me.

Edited by Guest
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...