Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2010, 05:24 PM
louis1016
Hill Giant
 
Join Date: Dec 2009
Posts: 157
Default 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
Reply With Quote
  #2  
Old 09-10-2010, 05:44 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

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.
Reply With Quote
  #3  
Old 09-10-2010, 08:31 PM
louis1016
Hill Giant
 
Join Date: Dec 2009
Posts: 157
Default

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(446 : 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(446 : 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
Reply With Quote
  #4  
Old 09-11-2010, 12:49 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

Double check that you added the include directories for MySQL like it says to do in step 5 of that guide.
Reply With Quote
  #5  
Old 09-11-2010, 01:47 AM
louis1016
Hill Giant
 
Join Date: Dec 2009
Posts: 157
Default

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
Reply With Quote
  #6  
Old 09-11-2010, 02:20 AM
louis1016
Hill Giant
 
Join Date: Dec 2009
Posts: 157
Default

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!
Reply With Quote
  #7  
Old 09-11-2010, 07:17 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

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.
Reply With Quote
  #8  
Old 03-20-2011, 11:52 AM
cannon
Hill Giant
 
Join Date: Dec 2004
Location: Pittsburgh, PA
Posts: 128
Default 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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:50 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3