Compile help pls
when i try to compile world.exe i get 13 errors as shown below... Can anyone tell me how to fix this please? I'm using the latest source !
EQChatPacket.cpp c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.h(33) : error C2664: 'EQApplicationPacket::EQApplicationPacket(const EmuOpcode)' : cannot convert parameter 1 from 'OpcodeManager **' to 'const EmuOpcode' There is no context in which this conversion is possible c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.h(34) : error C2664: 'EQApplicationPacket::EQApplicationPacket(const EmuOpcode,const uint32)' : cannot convert parameter 1 from 'OpcodeManager **' to 'const EmuOpcode' There is no context in which this conversion is possible c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.h(35) : error C2664: 'EQApplicationPacket::EQApplicationPacket(const EmuOpcode,const unsigned char *,const uint32)' : cannot convert parameter 1 from 'OpcodeManager **' to 'const EmuOpcode' There is no context in which this conversion is possible c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.h(36) : error C2661: 'EQApplicationPacket::EQApplicationPacket' : no overloaded function takes 4 arguments c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.h(42) : error C2039: 'opcode' : is not a member of 'EQChatPacket' c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.h(28) : see declaration of 'EQChatPacket' c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.h(52) : error C2661: 'EQApplicationPacket::EQApplicationPacket' : no overloaded function takes 4 arguments c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.cpp(27) : error C2664: 'EQApplicationPacket::EQApplicationPacket(const EmuOpcode)' : cannot convert parameter 1 from 'OpcodeManager **' to 'const EmuOpcode' There is no context in which this conversion is possible c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.cpp(46) : error C2039: 'MakeChatPacket' : is not a member of 'EQProtocolPacket' c:\users\admin\desktop\eqemu-0.7.0-941\common\eqpacket.h(63) : see declaration of 'EQProtocolPacket' c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.cpp(46) : error C2270: 'MakeChatPacket' : modifiers not allowed on nonmember functions c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.cpp(48) : error C2065: 'size' : undeclared identifier c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.cpp(49) : error C2065: 'pBuffer' : undeclared identifier c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.cpp(50) : error C2039: 'opcode' : is not a member of 'EQChatPacket' c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.h(28) : see declaration of 'EQChatPacket' c:\users\admin\desktop\eqemu-0.7.0-941\common\eqchatpacket.cpp(52) : error C2673: 'MakeChatPacket' : global functions do not have 'this' pointers Heres the errors i get when trying to compile Zoneperl.exe also... Error 29 error LNK2019: unresolved external symbol __iob referenced in function _my_thread_global_init mysqlclient.lib Error 30 error LNK2001: unresolved external symbol __iob mysqlclient.lib Error 31 error LNK2001: unresolved external symbol __iob mysqlclient.lib Error 32 fatal error LNK1120: 1 unresolved externals ../build/ZonePerl.exe |
how about 0.7.0-940 ? does it compile ok for you?
|
remove eqchatpacket.cpp from the project and try again.
|
All times are GMT -4. The time now is 04:43 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.