Log in

View Full Version : getting an error when compiling rev 1416


Darkheat
04-25-2010, 09:37 PM
Hello, I followed the Wiki guide line by line and I got most of the emulator to compile fine (all but zone file)

The error I get is this below:

5>chatchannel.cpp
2>.\client.cpp(1083) : error C2065: 'msg' : undeclared identifier
2>.\client.cpp(1083) : error C2065: 'msg' : undeclared identifier
2>.\client.cpp(1083) : error C2070: ''unknown-type'': illegal sizeof operand
2>.\client.cpp(1084) : error C2065: 'msg' : undeclared identifier
2>botspellsai.cpp
5>Linking...
5>Generating code
2>bot.cpp
2>bonuses.cpp
5>Finished generating code
5>Embedding manifest...
5>Build log was saved at "file://c:\Users\Turbo\Desktop\eq crap\source\trunk\EQEmuServer\ucs\Release\BuildLog .htm"
5>ucs - 0 error(s), 192 warning(s)
2>beacon.cpp
2>attack.cpp
2>aggro.cpp
2>AA.cpp
2>Generating Code...
2>Creating browse information file...
2>Microsoft Browse Information Maintenance Utility Version 9.00.30729
2>Copyright (C) Microsoft Corporation. All rights reserved.
2>Build log was saved at "file://c:\Users\Turbo\Desktop\eq crap\source\trunk\EQEmuServer\zone\ReleaseBots\Bui ldLog.htm"
2>Zone - 4 error(s), 0 warning(s)
========== Build: 4 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Andrew80k
04-25-2010, 11:27 PM
I commented out these 3 (1083-1085) lines in zone/client.cpp:

//va_start(argptr, msg);
//vsnprintf(buffer, 4096, msg, argptr);
//va_end(argptr);

And it compiled fine. I haven't tried to run it.

Andrew80k
04-25-2010, 11:52 PM
I see KLS put in a fix. Try 1418.