EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Need help with compire error, please help (https://www.eqemulator.org/forums/showthread.php?t=32078)

louis1016 09-10-2010 05:24 PM

Need help with compire error, please help
 
I am trying to compile the eqemu server for the first time to try to look at bot codes but i followed the guide here:

http://www.eqemulator.net/wiki/wikka.php?wakka=VS2008



I believe this guide, like almost all the other guides here in eqemu are outdated. After following the guide, when i try to build solution with vc++2008, It scrolls text for a while like normal, but at the end it says

5>Build log was saved at "file://c:\EQServer\SVN\EQEMU_CODE\EQEmuServer\ucs\Release \BuildLog.htm"
5>ucs - 6 error(s), 145 warning(s)
========== Build: 1 succeeded, 4 failed, 0 up-to-date, 0 skipped ==========

I am new to this and dont know what it means, please let me know how to fix this, thanks

joligario 09-10-2010 05:44 PM

Scroll up above that message and look for the parts where it says Error. You can post those errors here and we can help you troubleshoot.

louis1016 09-10-2010 08:31 PM

Thanks for the response, the compile message is real long but here is the beginning and end:

1>------ Build started: Project: eqlaunch, Configuration: Release Win32 ------
2>------ Build started: Project: Zone, Configuration: ReleaseBots Win32 ------
1>Compiling...
2>Compiling...
2>XMLParser.cpp
1>logsys_eqemu.cpp
1>logsys.cpp
2>worldconn.cpp
1>EQEmuConfig.cpp
2>c:\eqserver\svn\eqemu_code\eqemuserver\common\db core.h(9) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
2>tinyxmlparser.cpp
2>tinyxmlerror.cpp
2>tinyxml.cpp
1>EmuTCPServer.cpp
2>tinystr.cpp
2>timer.cpp
2>timeoutmgr.cpp
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\Em uTCPConnection.h(23) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
2>TCPServer.cpp
1>EmuTCPConnection.cpp
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\Em uTCPConnection.h(23) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
2>TCPConnection.cpp
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(409) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(1047) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(1395) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(2027) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(2466) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(2857) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(2934) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(3020) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(3063) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(3225) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(3242) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(3385) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(3410) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(3422) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(3462) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(3961) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(4424) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(4456) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
1>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(4468) : warning C4200: nonstandard extension used : zero-sized array in struct/union
1> Cannot generate copy-ctor or copy-assignment operator when UDT


.... too long to post here



5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(3961) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(4424) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(4456) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(4468) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/eq_packet_structs.h(4481) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/servertalk.h(243) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/servertalk.h(287) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/servertalk.h(295) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/servertalk.h(340) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/servertalk.h(469) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/servertalk.h(490) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/servertalk.h(546) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/servertalk.h(606) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/servertalk.h(651) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>c:\eqserver\svn\eqemu_code\eqemuserver\common\. ./common/servertalk.h(780) : warning C4200: nonstandard extension used : zero-sized array in struct/union
5> Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
5>emu_opcodes.cpp
5>debug.cpp
5>dbcore.cpp
5>..\common\dbcore.cpp(10) : fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
5>crc32.cpp
5>CRC16.cpp
5>Condition.cpp
5>Compiling...
5>BasePacket.cpp
5>ucsconfig.cpp
5>ucs.cpp
5>c:\eqserver\svn\eqemu_code\eqemuserver\ucs\../common/dbcore.h(9) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
5>database.cpp
5>.\database.cpp(29) : fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
5>clientlist.cpp
5>c:\eqserver\svn\eqemu_code\eqemuserver\ucs\../common/dbcore.h(9) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
5>chatchannel.cpp
5>c:\eqserver\svn\eqemu_code\eqemuserver\ucs\../common/dbcore.h(9) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory

(the end)



If you need me to post more from the long message let me know, thank you

lerxst2112 09-11-2010 12:49 AM

Double check that you added the include directories for MySQL like it says to do in step 5 of that guide.

louis1016 09-11-2010 01:47 AM

I did add those directories, but I think the problem lies here. The guide says to use a directory called "lib/opt" at one point in step 5 but that directory does not exist with the install of showsql that it says to install. Maybe its a different version on that website now? Please let me know what version of mysql I need because I think thats the problem

louis1016 09-11-2010 02:20 AM

after digging around i realize i need to use MySQL 5.0.82 rather then the 5.1 that links from that guide

I'm building the solution now for the first time, looks like everything is running smoothly so far, hopefully it goes through!

joligario 09-11-2010 07:17 AM

That shouldn't matter. I'm using MySQL 5.1.4.1 with the 6.2.3 connector.

EDIT: Just as long as you have your \lib, \bin, and \include in your environment path it will pick it up if there is a $PATH in your VC++ directories section.

cannon 03-20-2011 11:52 AM

Fixed Error
 
Install MySQL with headers and libraries, assumed to be in c:\mysql (some option in the installer like docs and includes, you should have the dir c:\mysql\include)

for error
========== Build: 1 succeeded, 4 failed, 0 up-to-date, 0 skipped ==========

In my case I forgot to add the additional installation files when installing MYSQL. Reinstall mysql and either repair or fresh install then choose to install the dev stuff, this will populate the include folder.


All times are GMT -4. The time now is 01:15 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.