Compiling Connector
#15

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:Confusedhared_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 ?



Messages In This Thread
[No subject] - by WorldOfWars - 03-04-2015, 09:19 PM
[No subject] - by ZaTii - 03-04-2015, 10:02 PM
[No subject] - by WorldOfWars - 03-04-2015, 10:22 PM
[No subject] - by Karmel - 03-04-2015, 11:09 PM
[No subject] - by Sickness - 03-05-2015, 12:02 AM
[No subject] - by ZaTii - 03-05-2015, 12:47 AM
[No subject] - by Nikolee - 03-05-2015, 07:12 AM
[No subject] - by Wizatek - 03-05-2015, 12:08 PM
[No subject] - by Nikolee - 03-05-2015, 02:44 PM
[No subject] - by WorldOfWars - 03-05-2015, 04:22 PM
[No subject] - by WorldOfWars - 03-05-2015, 04:43 PM
[No subject] - by jeremie - 03-05-2015, 06:21 PM
[No subject] - by WorldOfWars - 03-05-2015, 07:16 PM
[No subject] - by Wizatek - 03-05-2015, 07:38 PM
[No subject] - by Karmel - 03-05-2015, 07:58 PM
[No subject] - by Tarissuis - 03-06-2015, 06:29 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)