Log in

View Full Version : latest build 2152 fails compile 64bit


gibroni
06-24-2012, 11:40 PM
5 build, 1 fail with lastest 2152 source with 64 bit compile. something with tradeskill.cpp

blackdragonsdg
06-24-2012, 11:45 PM
Compile fails on 32bit as well. Gives the following error:

Error 2 error C2511: 'void Client::SendTradeskillDetails(uint32)' : overloaded member function not found in 'Client' d:\Everquest\SVN\Source Code\zone\tradeskills.cpp 665 Zone

FievelMousey
06-25-2012, 12:39 AM
I got the same error to trying compile it

blackdragonsdg
06-25-2012, 03:03 AM
Revision 2153 works great...Thanks for the compile fix.

gibroni
06-25-2012, 11:32 PM
now i get a zone compile error with build 2155. 5 build, 1 fail. gives me

3>LINK : fatal error LNK1104: cannot open file 'perl510.lib'
3>
3>Build FAILED.

FievelMousey
06-26-2012, 12:09 AM
that is because you not using Perl 5.10 you using the newer builds

Akkadius
06-26-2012, 12:19 AM
now i get a zone compile error with build 2155. 5 build, 1 fail. gives me

3>LINK : fatal error LNK1104: cannot open file 'perl510.lib'
3>
3>Build FAILED.

Rev 2152: If you change the pragma comment back to perl514.lib in embperl.cpp you will be golden. I don't know why it was changed like that, it broke mine too and I had to change it back.


Modify /trunk/EQEmuServer/zone/embperl.cpp diff
...
28 28 //#pragma comment(lib, "perl56.lib")
29 29 #ifdef _WINDOWS
30 30 #if _MSC_VER >= 1600 // for V100+ toolset
31 - #pragma comment(lib, "perl514.lib")
31 + #pragma comment(lib, "perl510.lib")
32 32 #else
33 33 #pragma comment(lib, "perl510.lib")
34 34 #endif

lerxst2112
06-26-2012, 12:47 AM
I would guess just an oversight for testing without upgrading from perl510.

cmileto
06-28-2012, 08:36 AM
make rev 2155 on 64 bit

EQWParser.cpp: In member function ‘void EQWParser::DoInit()’:
EQWParser.cpp:92:25: warning: cast from type ‘const char**’ to type ‘char**’ casts away qualifiers [-Wcast-qual]
EQWParser.cpp:116:18: error: lvalue required as left operand of assignment
EQWParser.cpp:123:19: error: lvalue required as left operand of assignment
make[1]: *** [EQWParser.o] Error 1
make[1]: Leaving directory `/home/clayton/eqemu/source/world'
make: *** [all] Error 2

cmileto
06-28-2012, 09:46 AM
Dug around a little more. seems its ubuntu 12.04 --> http://www.eqemulator.org/forums/showthread.php?t=35311
guess ill go back to debian squeeze

gibroni
06-28-2012, 04:37 PM
It compile 64 bit fine after changing the Perl 5.10 thing suggested