PDA

View Full Version : Compile Errors


Kgaul
09-26-2003, 10:04 AM
First off i'm using the tutorial at

http://www.eqemulator.net/forums/viewtopic.php?t=9648

to the letter with the exception i'm not using VS.NET 2003
I'm using VS 6 but was able to follow the post exactally! with one prob....

when i compile world and zone, i get

World.exe
--------------------Configuration: World - Win32 Profiling--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
client.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\world\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
console.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\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\WinCvs\CVSNT\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\WinCvs\CVSNT\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\WinCvs\CVSNT\eqemu\NewSource\world\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
database.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\common\d atabase.cpp(25) : fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
dbasync.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\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\WinCvs\CVSNT\eqemu\NewSource\common\d bcore.cpp(5) : fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
eqtime.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\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\WinCvs\CVSNT\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\WinCvs\CVSNT\eqemu\NewSource\common\. ./common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Error executing cl.exe.

World.exe - 11 error(s), 1 warning(s)


zone.exe
--------------------Configuration: Zone - Win32 GuildWars Debug--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
attack.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
client.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
client_process.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
doors.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
entity.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
EQEMuError.cpp
faction.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
forage.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
groups.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
hate_list.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
loottables.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Map.cpp
mob.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
MobAI.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
net.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
npc.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Object.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
parser.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
petitions.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
PlayerCorpse.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
spawn2.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
spawngroup.cpp
spells.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
worldserver.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
zone.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
zonedbasync.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\eqemu\NewSource\zone\../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\WinCvs\CVSNT\eqemu\NewSource\common\d atabase.cpp(25) : fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
dbasync.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\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\WinCvs\CVSNT\eqemu\NewSource\common\d bcore.cpp(5) : fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
DBMemLeak.cpp
debug.cpp
EMuShareMem.cpp
EQNetwork.cpp
eqtime.cpp
C:\EqEmu\cvs\WinCvs\CVSNT\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\WinCvs\CVSNT\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\WinCvs\CVSNT\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
races.cpp
serverinfo.cpp
TCPConnection.cpp
timer.cpp
Error executing cl.exe.

Zone.exe - 29 error(s), 1 warning(s)



Mysql.h is in the c:\mysql\include dir.

I was able to add to the path and the 'include file' and 'library files' in the tools/options. I'm going to try to toy around to get this to work. seems i'm missing something quite simple. I'm new to coding and learning fast, but still..


if anyone has run into this problem would you please clue me in some. Thanks for taking the time to post this...


Kgaul

ps just a thought but should i have run my DB in mysql first before i tried to compile this?

Kgaul
09-26-2003, 10:24 AM
Get This, in Tools/Options i noticed all the 'library files' and 'include files' paths were all uppercase. Once i changed that i don't get errors...

Sigh, i hate starting out and making simple mistakes :oops:

Kgaul