|  |  | 
 
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  |  |  |  
  |  | 
	
		
   
   
      | Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days. |  
	
	
		
	
	
	| 
			
			 
			
				03-16-2002, 04:55 PM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Mar 2002 
						Posts: 5
					      |  |  
	| 
				 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?
 |  
	
		
	
	
	| 
			
			 
			
				03-16-2002, 04:57 PM
			
			
			
		 |  
	| 
		
			
			| Demi-God |  | 
					Join Date: Jan 2002 
						Posts: 2,073
					      |  |  
	| 
 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
 --------------------------
 |  
	
		
	
	
	| 
			
			 
			
				03-16-2002, 05:04 PM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Mar 2002 
						Posts: 5
					      |  |  
	| 
 Thanks, I have mySQL installed, but I didn't noticed the folder named 'include.' |  
	
		
	
	
	| 
			
			 
			
				03-16-2002, 05:21 PM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Mar 2002 
						Posts: 5
					      |  |  
	| 
 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. |  
	
		
	
	
	| 
			
			 
			
				03-17-2002, 12:16 AM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Mar 2002 
						Posts: 0
					      |  |  
	| 
 zlib is a seperate download.. you can get it here:http://www.gzip.org/zlib/ |  
	
		
	
	
	| 
			
			 
			
				03-17-2002, 08:21 AM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Mar 2002 
						Posts: 5
					      |  |  
	| 
 Thanks for the help.  Now I can finally compile my own version. |  
	
		
	
	
	| 
			
			 
			
				04-29-2002, 09:40 AM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Apr 2002 
						Posts: 54
					      |  |  
	| 
				 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? |  
	
		
	
	
	| 
			
			 
			
				05-02-2002, 09:37 AM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: May 2002 
						Posts: 28
					      |  |  
	| 
 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.
 |  
	
		
	
	
	| 
			
			 
			
				05-02-2002, 10:26 AM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Apr 2002 
						Posts: 54
					      |  |  
	| 
 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? |  
	
		
	
	
	| 
			
			 
			
				05-03-2002, 12:47 PM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Jan 2002 
						Posts: 90
					      |  |  
	| 
 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. |  
	
		
	
	
 
  |  |  |  |  
	| 
			
			 
			
				01-01-2003, 09:58 PM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Nov 2002 
						Posts: 26
					      |  |  
	| 
				  
 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
 |  
 
  |  |  |  |  
	
		
	
	
	| 
			
			 
			
				01-01-2003, 11:23 PM
			
			
			
		 |  
	| 
		
			
			| Senior MemberFormer EQEmu Developer
 Current EQ2Emu Lead Developer
 |  | 
					Join Date: Dec 2002 
						Posts: 1,065
					      |  |  
	| 
 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) |  
	
		
	
	
	| 
			
			 
			
				01-02-2003, 02:03 AM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Nov 2002 
						Posts: 26
					      |  |  
	| 
 I have zlib 1.1.4 from zlib homepage, i was downloaded it's today 
				__________________Coma White
 |  
	
		
	
	
	| 
			
			 
			
				01-03-2003, 03:26 PM
			
			
			
		 |  
	| 
		
			
			| Sarnak |  | 
					Join Date: Dec 2002 
						Posts: 37
					      |  |  
	| 
				 Thanks 
 Just wanted to say this sticky was invaluable to me in compiling my server thanx all 
				__________________freedom and whiskey
 |  
	
		
	
	
	| 
			
			 
			
				05-07-2003, 04:28 AM
			
			
			
		 |  
	| 
		
			
			| Fire Beetle |  | 
					Join Date: Apr 2002 
						Posts: 9
					      |  |  
	| 
				 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.
 |  
	
		
	
	
	
	
	| Thread Tools |  
	|  |  
	| Display Modes |  
	
	| 
		 Linear Mode |  
	| 
	|  Posting Rules |  
	| 
		
		You may not post new threads You may not post replies You may not post attachments You may not edit your posts 
 HTML code is Off 
 |  |  |  All times are GMT -4. The time now is 02:25 AM.
 
 |  |  
    |  |  |  |  
    |  |  |  |  
     |  |  |  |  
 |  |