KubiPL Posted February 24, 2014 Share Posted February 24, 2014 (edited) 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 February 25, 2014 by Guest Link to comment
Jusonex Posted February 24, 2014 Share Posted February 24, 2014 You are currently only able to compile MTA with VS2008. Link to comment
KubiPL Posted February 24, 2014 Author Share Posted February 24, 2014 OK, I'll try using VS2008. Link to comment
KubiPL Posted February 25, 2014 Author Share Posted February 25, 2014 Same problem when compiling in VS2008.. Link to comment
Recommended Posts