03-05-2015, 07:58 PM
Project > Properties > Configuration Properties > C/C++ > Preprocessor > Preprocessor Definitions >
WIN32;_WIN32;_WIN32_WINNT;
Some of these definitions, I do not remember well. Anyway, you can insert all.
Error 1 error LNK2019: unresolved external symbol "public: void __thiscall CBPacket::Init(short)" (?Init@CBPacket@@QAEXF@Z) referenced in function "void __cdecl BillBalanceReqMsg(class boost:
hared_ptr<class CBPacket> &,int,char const *)" (?BillBalanceReqMsg@@YAXAAV?$shared_ptr@VCBPacket@@@boost@@HPBD@Z)About shared_ptr you need to add #include <boost/shared_ptr.hpp> into source.Or something like that, when i compiling gameserver on linux I had to add: #include <boost/scoped_ptr.hpp> into "GameServer/DBProcess_CreateChar.cpp".
But i can be wrong with this, maybe it is missing symbol in lib...
Edit: ofc, you add boost libs to the project ?

