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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 10-05-2003, 01:23 PM
dgates
Fire Beetle
 
Join Date: Oct 2003
Posts: 5
Default Compiling problems.....

I compiled EmuShareMem perfectly fine;however, I cannot compile neither zone.exe or world.exe. I read some of the previous threads regarding this however the only answer i saw was to correct improper capitalization in the root directories. These are all fine on my machine. Here is the code.

Code:
ompiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
client.cpp
C:\EqEmu\cvs\eqemu\NewSource\world\client.cpp(9) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
console.cpp
C:\EqEmu\cvs\eqemu\NewSource\world\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
LoginServer.cpp
C:\EqEmu\cvs\eqemu\NewSource\world\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
net.cpp
C:\EqEmu\cvs\eqemu\NewSource\world\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
zoneserver.cpp
C:\EqEmu\cvs\eqemu\NewSource\world\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
classes.cpp
crc32.cpp
database.cpp
C:\EqEmu\cvs\eqemu\NewSource\common\database.cpp(25) : fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
dbasync.cpp
C:\EqEmu\cvs\eqemu\NewSource\common\../common/dbcore.h(8) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
dbcore.cpp
C:\EqEmu\cvs\eqemu\NewSource\common\dbcore.cpp(5) : fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
DBMemLeak.cpp
debug.cpp
EMuShareMem.cpp
EQEMuError.cpp
EQNetwork.cpp
eqtime.cpp
C:\EqEmu\cvs\eqemu\NewSource\common\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
guilds.cpp
C:\EqEmu\cvs\eqemu\NewSource\common\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Item.cpp
C:\EqEmu\cvs\eqemu\NewSource\common\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
md5.cpp
misc.cpp
MiscFunctions.cpp
moremath.cpp
Mutex.cpp
packet_dump.cpp
packet_dump_file.cpp
packet_functions.cpp
C:\EqEmu\cvs\eqemu\NewSource\common\packet_functions.cpp(24) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
races.cpp
serverinfo.cpp
TCPConnection.cpp
timer.cpp
Error executing cl.exe.

World.exe - 12 error(s), 1 warning(s)
I would appreciate any suggestion anyone might have towards the resolution of this problem.
Reply With Quote
  #2  
Old 10-05-2003, 01:50 PM
kai_shadowbane
Sarnak
 
Join Date: Sep 2003
Posts: 67
Default

you skipped the steps on downloading and installing mysql and zlib, and then adding them into the includes area of your compiler.

redo those parts and then try again, make sure to follow all steps of the guide, there's no skipping anything and thinking it works
Reply With Quote
  #3  
Old 10-06-2003, 02:47 AM
dgates
Fire Beetle
 
Join Date: Oct 2003
Posts: 5
Default I have...

I have installed mysql and zlib both, and if you mean by adding them to the includes of the compiler i did as it says on 7d and 7f of this guide http://www.everquestserver.com/forum...8e6a65a04ff5af. Maybe I am still missing something. Anyone know?
Reply With Quote
  #4  
Old 10-06-2003, 03:23 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Make sure you've done it correctly, because even if you installed them, your compiler isnt finding them...

Thats the problem. I can't tell you how to fix that, but google is a good resource for information on setting up VC correctly...
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #5  
Old 10-06-2003, 04:24 AM
Merth
Dragon
 
Join Date: May 2003
Location: Seattle, WA
Posts: 609
Default

Prove to yourself that you are doing the "include" add correctly .. Create a new file, c:\foo\MyInclude.h. Add c:\foo to your include paths in VC. Then add the line #include "MyInclude.h" to the top of a .cpp file, and see if your compiler finds it.
Reply With Quote
  #6  
Old 10-06-2003, 07:11 AM
dgates
Fire Beetle
 
Join Date: Oct 2003
Posts: 5
Default After...

I added c:\foo to my include files list and i make a folder in C: called foo which contained myinclude.h and i added #include "MyInclude.h" to the top of console.cpp and tryed to compile console.cpp and this is the following error i received...

Code:
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
console.cpp
C:\EqEmu\cvs\eqemu\NewSource\world\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Error executing cl.exe.

console.obj - 1 error(s), 1 warning(s)
This the top of the console.cpp where i added the #include "MyInclude.h" command.

Code:
*/

#include "MyInclude.h"

#include "../common/debug.h"

#include <iostream>

using namespace std;
Kinda frustrating but I guess I can expect that since im not an avid Visual Studio user.

Any suggestions?
Reply With Quote
  #7  
Old 10-06-2003, 09:28 AM
kai_shadowbane
Sarnak
 
Join Date: Sep 2003
Posts: 67
Default

hmm, here's an easy question, what program are you using to compile?
Reply With Quote
  #8  
Old 10-07-2003, 04:19 AM
dgates
Fire Beetle
 
Join Date: Oct 2003
Posts: 5
Default using...

I am using Microsoft Visual C++ 6.0 right now.
Reply With Quote
  #9  
Old 10-15-2003, 01:29 AM
tanku
Fire Beetle
 
Join Date: Sep 2003
Posts: 3
Default

It is a known Microsoft bug. Here is the link with the explanation.

http://support.microsoft.com/default...92&Product=vc6

It lists 2 resolutions. I haven't tried to implement them yet, because I am at work and just found this.

-Tanku
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 11:55 AM.


 

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