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 05-01-2002, 02:03 AM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default Compilation error

When trying to compile zonent.cpp, I get the following errors, using MVSC++ 6.0:

Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
attack.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
client.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
client_process.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
ClientList.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
entity.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
faction.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
groups.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
hate_list.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
loottables.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
mob.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
net.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
npc.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
NpcAI.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Object.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
petitions.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
PlayerCorpse.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Quest.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
spawn2.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
spells.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
WesQuests.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
worldserver.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
zone.cpp
C:\Spel\EMU\Source\Zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
database.cpp
C:\Spel\EMU\Source\common\database.cpp(6) : fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
packet_functions.cpp
C:\Spel\EMU\Source\common\packet_functions.cpp(5) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
import_raw_items.cpp
C:\Spel\EMU\Source\zone\import_raw_items.cpp(1) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
mob_spawn.cpp
C:\Spel\EMU\Source\zone\../common/database.h(11) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '\Spel\EMU\Source\Build\Zone\attack.sbr': No such file or directory
Error executing bscmake.exe.

Basically, it would appear ".." isn't working for whatever reason, since it's not going back to Build folder.

Anyone have any idea why?
Reply With Quote
  #2  
Old 05-01-2002, 02:12 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Need to add c:/mysql/lib to your lib path, or put the lib files from that directory into your vc standard lib directory..
Reply With Quote
  #3  
Old 05-01-2002, 02:27 AM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default

Tried that. Still doesn't work.
Reply With Quote
  #4  
Old 05-01-2002, 02:52 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Oops, not lib, im an idjit..

c:/mysql/include to the standard include path...

Sorry
Reply With Quote
  #5  
Old 05-01-2002, 03:42 AM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default

Scratch that, one fatal error still.

C:\Spel\EMU\Source\common\packet_functions.cpp(5) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
Reply With Quote
  #6  
Old 05-01-2002, 03:46 AM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default

Don't have this file on my drive at all.
Reply With Quote
  #7  
Old 05-01-2002, 04:20 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

http://www.gzip.org/zlib/
Reply With Quote
  #8  
Old 05-01-2002, 04:29 AM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default

That has to be the 12th remote thing I download today. Thanks a lot for all the help
Reply With Quote
  #9  
Old 05-01-2002, 04:31 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

No problem.. I had to learn it all when i started compiling on win32 instead of linux. I had to compile my changes in on windows to test them, before Coder's NAT patch, I was never able to log into my own linux server..

I sure wish that would merge Coders stuff into the baseline (hint..hint.. nudge...nudge)

There are other workarounds though..
Reply With Quote
  #10  
Old 05-01-2002, 05:09 AM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default

Well, problems ain't over yet.

This is the current compile status:

What do I need to fix?

--------------------Configuration: Zone - Win32 GotFrags--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
attack.cpp
client.cpp
client_process.cpp
ClientList.cpp
entity.cpp
faction.cpp
groups.cpp
hate_list.cpp
import_raw_items.cpp
C:\PROGRAM FILES\MYSQL\INCLUDE\mysql_com.h(115) : error C2146: syntax error : missing ';' before identifier 'fd'
C:\PROGRAM FILES\MYSQL\INCLUDE\mysql_com.h(115) : error C2501: 'SOCKET' : missing storage-class or type specifiers
C:\PROGRAM FILES\MYSQL\INCLUDE\mysql_com.h(115) : error C2501: 'fd' : missing storage-class or type specifiers
loottables.cpp
mob.cpp
mob_spawn.cpp
C:\Spel\EMU\Source\Zone\mob_spawn.cpp(7) : error C2511: 'CreateSpawnPacket' : overloaded member function 'void (class APPLAYER *)' not found in 'Mob'
C:\Spel\EMU\Source\Zone\mob.h(36) : see declaration of 'Mob'
net.cpp
npc.cpp
NpcAI.cpp
Object.cpp
petitions.cpp
PlayerCorpse.cpp
Quest.cpp
spawn2.cpp
spells.cpp
WesQuests.cpp
worldserver.cpp
zone.cpp
database.cpp
Error executing cl.exe.

ZoneGF.exe - 4 error(s), 1 warning(s)
Reply With Quote
  #11  
Old 05-01-2002, 05:14 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

what version of mysql are you using?
Reply With Quote
  #12  
Old 05-01-2002, 05:16 AM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default

3.23.49
Reply With Quote
  #13  
Old 05-01-2002, 11:04 PM
Wiz
Dragon
 
Join Date: Feb 2002
Posts: 583
Default

Seem unable to get rid of these errors no matter what. Anyone else who has gotten them?
Reply With Quote
  #14  
Old 05-03-2002, 07:29 AM
Boogahed
Fire Beetle
 
Join Date: May 2002
Posts: 28
Default

I'd be interested in helping you get this compiled.
I'll be on AIM as BoogahedFoH for the rest of the day. If theres another form of communication youd prefer, email, ICQ, IRC, etc, let me know.
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 01:40 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