EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Erorrs during Build compile (https://www.eqemulator.org/forums/showthread.php?t=34324)

bishop91 10-12-2011 08:02 PM

Erorrs during Build compile
 
I have been trying today to build my server following the guide posted here but I keep getting 1 success 4 failed when I compile.

Here is a snippet from the error log.

c:\eqemusource\trunk\eqemuserver\common\servertalk .h(628) : warning C4200: nonstandard extension used : zero-sized array in struct/union
Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
c:\eqemusource\trunk\eqemuserver\common\servertalk .h(673) : warning C4200: nonstandard extension used : zero-sized array in struct/union
Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
c:\eqemusource\trunk\eqemuserver\common\servertalk .h(802) : warning C4200: nonstandard extension used : zero-sized array in struct/union
Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
c:\eqemusource\trunk\eqemuserver\common\servertalk .h(1030) : warning C4200: nonstandard extension used : zero-sized array in struct/union
Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array


..\common\timer.cpp(68) : warning C4244: '=' : conversion from 'time_t' to 'long', possible loss of data
timeoutmgr.cpp
TCPServer.cpp


c:\eqemusource\trunk\eqemuserver\ucs\../common/EmuTCPConnection.h(23) : warning C4200: nonstandard extension used : zero-sized array in struct/union
Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
.\clientlist.cpp(1012) : warning C4018: '<' : signed/unsigned mismatch
.\clientlist.cpp(1314) : warning C4018: '<' : signed/unsigned mismatch
.\clientlist.cpp(1317) : warning C4018: '<' : signed/unsigned mismatch
.\clientlist.cpp(1427) : warning C4018: '<' : signed/unsigned mismatch
.\clientlist.cpp(1430) : warning C4018: '<' : signed/unsigned mismatch


This doesn't mean much to me but I am hoping someone else knows?

I can send someone the full log if need be.

I have tried this several times today. At first I thought it was because of my version of Perl but I found the right version uninstalled rebooted and reinstalled (deleted the perl directory too!)

Any help would be great! (I searched the forums too but didn't find anything but that could be I don't know what I am looking at!)

joligario 10-12-2011 08:13 PM

Warnings are just warnings. You should be looking for errors. Errors make it fail compiling.

bishop91 10-12-2011 08:24 PM

Errors
 
c:\zlib\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

c:\zlib\include\zconf.h(289) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory

These are the only two errors I get I will try re-installing zlib

bishop91 10-12-2011 09:06 PM

Version of Zlib
 
I searched for my error again and found a few hits. Looks like the version of zlib can solve this. I am using the most recent 1.2.5

Can someone tell me what version I should use?

The links that were in the OP don't exist on sourceforge anymore.

bishop91 10-13-2011 02:25 PM

Issue solved
 
Okay so the issue was the version of zlib. I uninstalled 1.2.5 and installed 1.2.3 and copied the new zlib1.dll file over and now I get 5 successes 0 failures!


All times are GMT -4. The time now is 01:48 AM.

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