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

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

05-01-2002, 02:12 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
Need to add c:/mysql/lib to your lib path, or put the lib files from that directory into your vc standard lib directory..
|

05-01-2002, 02:27 AM
|
Dragon
|
|
Join Date: Feb 2002
Posts: 583
|
|
Tried that. Still doesn't work.
|

05-01-2002, 02:52 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
Oops, not lib, im an idjit..
c:/mysql/include to the standard include path...
Sorry
|

05-01-2002, 03:42 AM
|
Dragon
|
|
Join Date: Feb 2002
Posts: 583
|
|
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
|

05-01-2002, 03:46 AM
|
Dragon
|
|
Join Date: Feb 2002
Posts: 583
|
|
Don't have this file on my drive at all.
|

05-01-2002, 04:20 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
|

05-01-2002, 04:29 AM
|
Dragon
|
|
Join Date: Feb 2002
Posts: 583
|
|
That has to be the 12th remote thing I download today. Thanks a lot for all the help 
|

05-01-2002, 04:31 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
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..
|
 |
|
 |

05-01-2002, 05:09 AM
|
Dragon
|
|
Join Date: Feb 2002
Posts: 583
|
|
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)
|
 |
|
 |

05-01-2002, 05:14 AM
|
Demi-God
|
|
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
|
|
what version of mysql are you using?
|

05-01-2002, 05:16 AM
|
Dragon
|
|
Join Date: Feb 2002
Posts: 583
|
|
3.23.49
|

05-01-2002, 11:04 PM
|
Dragon
|
|
Join Date: Feb 2002
Posts: 583
|
|
Seem unable to get rid of these errors no matter what. Anyone else who has gotten them?
|

05-03-2002, 07:29 AM
|
Fire Beetle
|
|
Join Date: May 2002
Posts: 28
|
|
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.
|
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 01:40 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |