Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2002, 04:55 PM
GrimReaper
Fire Beetle
 
Join Date: Mar 2002
Posts: 5
Default Problem compiling with VC6

Gives me an error saying
'mysql.h' : No such file or directory

Does that normally come with VC6 or can I download it from somewhere or what?
Reply With Quote
  #2  
Old 03-16-2002, 04:57 PM
Shawn319
Demi-God
 
Join Date: Jan 2002
Posts: 2,073
Default

You need mysql installed.


mysql.h found in C:\mysql\include


incase u get a zlib.lib error after that, zlib.h is found in C:\mysql\lib\opt
__________________
Shawn319
Semi-Retired EQ Addict

(Retired)EQEmu Lead Tester
(Retired)EQEmu Tech Support

(Retired)Host/ServerOP - [LIVE] Official EQEmu Test Server
(Retired)Host/ServerOP - Shawn319's All-GM Dev Test Server
(Retired)ServerOP - EQEmu Beta Server
(Retired)ServerOP - GuildWars Server
(Retired)ServerOP - Raid Addicts
--------------------------
Reply With Quote
  #3  
Old 03-16-2002, 05:04 PM
GrimReaper
Fire Beetle
 
Join Date: Mar 2002
Posts: 5
Default

Thanks, I have mySQL installed, but I didn't noticed the folder named 'include.'
Reply With Quote
  #4  
Old 03-16-2002, 05:21 PM
GrimReaper
Fire Beetle
 
Join Date: Mar 2002
Posts: 5
Default

I am getting the zlib.h error, and I couldn't find zlib.h in the c:\mysql\lib\opt folder. I could only find the file zlib.lib.
Reply With Quote
  #5  
Old 03-17-2002, 12:16 AM
Lyenu X`Arie
Fire Beetle
 
Join Date: Mar 2002
Posts: 0
Default

zlib is a seperate download.. you can get it here:
http://www.gzip.org/zlib/
Reply With Quote
  #6  
Old 03-17-2002, 08:21 AM
GrimReaper
Fire Beetle
 
Join Date: Mar 2002
Posts: 5
Default

Thanks for the help. Now I can finally compile my own version.
Reply With Quote
  #7  
Old 04-29-2002, 09:40 AM
TheDreamX
Sarnak
 
Join Date: Apr 2002
Posts: 54
Default Arggg

Ok, finally got down to one measly little error. Cannot find input file zlib.lib. I copied zlib.lib to the common, world, and zone folders, but didn't work. I looked throughout the source code and couldn't even find where the file is called. What's the problem?
Reply With Quote
  #8  
Old 05-02-2002, 09:37 AM
Boogahed
Fire Beetle
 
Join Date: May 2002
Posts: 28
Default

Ok.. to clear a few things up here.

zlib.h is found in the zlib download but not zlib.lib

zlib.lib is in the binary distro of mysql, not the source.

Copy all 4 files in the mysql/lib/opt folder, youre gonna need them. Best thing to do is copy them into your eqemu source /common folder.

Make sure you reference the /common folder in Tool->Options then Directories tab. Also add it for both include files and library files, there's a combo box for that.
TheDreamX - you need to add it for Library files, thats why its not being found.
Reply With Quote
  #9  
Old 05-02-2002, 10:26 AM
TheDreamX
Sarnak
 
Join Date: Apr 2002
Posts: 54
Default

Ok, last problem (I hope). Server compiles fine, but when it runs, it says that it cannot find DB.ini and to see the readme. Well, there was no readme (in C++ project there was, but when I clicked it, it said there is no file called readme.txt) and I tried putting DB.ini from the executables in every single source code folder with no luck. Does anyone know how to implement DB.ini?
Reply With Quote
  #10  
Old 05-03-2002, 12:47 PM
theCoder
Sarnak
 
Join Date: Jan 2002
Posts: 90
Default

I think it tries to open db.ini in the current working directory -- whatever directory you run the executable from. I think if you put it in the project directory, it will work. If not that, then perhaps the debug directory.
Reply With Quote
  #11  
Old 01-01-2003, 09:58 PM
Feanaro
Fire Beetle
 
Join Date: Nov 2002
Posts: 26
Default

I have another problem :

Compiling...
client.cpp
console.cpp
LoginServer.cpp
net.cpp
zoneserver.cpp
classes.cpp
database.cpp
EMuShareMem.cpp
EQNetwork.cpp
eqtime.cpp
MiscFunctions.cpp
moremath.cpp
Mutex.cpp
packet_dump.cpp
packet_dump_file.cpp
packet_functions.cpp
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\zlib.h(171) : error C2143: syntax error : missing ';' before 'const'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\zlib.h(171) : error C2501: 'ZEXTERN' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\zlib.h(201) : error C2144: syntax error : missing ';' before type 'int'
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\zlib.h(201) : error C2501: 'ZEXTERN' : missing storage-class or type specifiers
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\zlib.h(201) : error C2086: 'ZEXTERN' : redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\zlib.h(201) : fatal error C1004: unexpected end of file found
races.cpp
serverinfo.cpp
TCPConnection.cpp
timer.cpp
Error executing cl.exe.

World.exe - 6 error(s), 0 warning(s)

Who knows, whats that ??
__________________
Coma White
Reply With Quote
  #12  
Old 01-01-2003, 11:23 PM
Edgar1898
Senior Member
Former EQEmu Developer
Current EQ2Emu Lead Developer
 
Join Date: Dec 2002
Posts: 1,065
Default

Looks like you got a bad zlib.h file, you can find a new one easily enough searching yahoo. After you get a new one put it in the old ones path (C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE)
Reply With Quote
  #13  
Old 01-02-2003, 02:03 AM
Feanaro
Fire Beetle
 
Join Date: Nov 2002
Posts: 26
Default

I have zlib 1.1.4 from zlib homepage, i was downloaded it's today
__________________
Coma White
Reply With Quote
  #14  
Old 01-03-2003, 03:26 PM
bobmook
Sarnak
 
Join Date: Dec 2002
Posts: 37
Default Thanks

Just wanted to say this sticky was invaluable to me in compiling my server thanx all
__________________
freedom and whiskey
Reply With Quote
  #15  
Old 05-07-2003, 04:28 AM
Kyraxe
Fire Beetle
 
Join Date: Apr 2002
Posts: 9
Default Interesting errors

Hey guys,

Trying to compile the latest CVS I am getting the following errors:

c:\program files\microsoft visual studio\myprojects\eqemu\source\common\emusharemem. h(2) : warning C4182: #include nesting level is 361 deep; possible infinite recursion
c:\program files\microsoft visual studio\myprojects\eqemu\source\common\emusharemem. h(2) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit

Any idea whats going on here and what I can do to fix it?

Thanks,

Kyraxe


Update: Nevermind, had a corrupt file which was calling itself somehow?? =) Working ok now.
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 10:14 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