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 06-02-2004, 10:07 PM
axion9
Fire Beetle
 
Join Date: Jun 2004
Posts: 2
Default dr4 compiling help

Can someone please post a quick walkthrough concerning compiling the 5-29-04.zip file for dr4 using visual c++.

I searched and tried using the free compiler but the free trial was out-of-date. I have visual c++ but am unsure of how to compile and what files to compile. It may be that I have to have a project open but am unsure.

Any help would be appreciated and any flames would be expected.

Thanks in advance to all/any who help.
Reply With Quote
  #2  
Old 06-02-2004, 10:45 PM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

In vc++ you open the workspaces emusharemem.dsw, world.dsw and zone.dsw one at a time.

Go to build and select set active configuratiom. pick release

Then from build do a rebuild all

That will compile all programs for each and link them for you.
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #3  
Old 06-04-2004, 01:56 PM
Cans
Sarnak
 
Join Date: Mar 2003
Posts: 71
Default

Hmm, when I compile emusharemem.dll, i get:

Code:
--------------------Configuration: EMuShareMem - Win32 Release--------------------
Compiling...
NPCTypes.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\NPCTypes.h(16) : error C2065: 'CALLBACK_DBLoadNPCTypes' : undeclared identifier
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\NPCTypes.h(16) : error C2146: syntax error : missing ')' before identifier 'cbDBLoadNPCTypes'
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\NPCTypes.h(16) : error C2059: syntax error : ')'
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\NPCTypes.cpp(29) : error C2146: syntax error : missing ')' before identifier 'cbDBLoadNPCTypes'
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\NPCTypes.cpp(29) : error C2059: syntax error : ')'
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\NPCTypes.cpp(29) : error C2143: syntax error : missing ';' before '{'
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\NPCTypes.cpp(29) : error C2447: missing function header (old-style formal list?)
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\NPCTypes.cpp(61) : error C2146: syntax error : missing ')' before identifier 'cbDBLoadNPCTypes'
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\NPCTypes.cpp(61) : error C2086: 'pDLLLoadNPCTypes' : redefinition
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\NPCTypes.cpp(61) : error C2059: syntax error : ')'
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\NPCTypes.cpp(61) : error C2143: syntax error : missing ';' before '{'
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\NPCTypes.cpp(61) : error C2447: missing function header (old-style formal list?)
Spells.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\EMuShareMem\../zone/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Error executing cl.exe.

EMuShareMem.dll - 13 error(s), 0 warning(s)
And when I do zone.exe:

Code:
--------------------Configuration: Zone - Win32 Release--------------------
Compiling...
attack.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
beacon.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
client.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
client_process.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\client_process.cpp(28) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
command.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
doors.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
entity.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
EQEMuError.cpp
faction.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
forage.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
groups.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
hate_list.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
loottables.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Map.cpp
mob.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
MobAI.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
net.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
npc.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Object.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
parser.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
petitions.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
PlayerCorpse.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
spawn2.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
spawngroup.cpp
spells.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
worldserver.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
zone.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\zone\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
zonedbasync.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\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:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\database.cpp(25) : fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
dbasync.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\../common/dbcore.h(8) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
dbcore.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\dbcore.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:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
guilds.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Item.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
md5.cpp
misc.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\misc.cpp(9) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
MiscFunctions.cpp
moremath.cpp
Mutex.cpp
packet_dump.cpp
packet_dump_file.cpp
packet_functions.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\packet_functions.cpp(22) : 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.

Zone.exe - 33 error(s), 0 warning(s)
And World.exe:

Code:
--------------------Configuration: World - Win32 Release--------------------
Compiling...
client.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\world\client.cpp(9) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
console.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\world\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
LoginServer.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\world\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
net.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\world\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
zoneserver.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\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:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\database.cpp(25) : fatal error C1083: Cannot open include file: 'errmsg.h': No such file or directory
dbasync.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\../common/dbcore.h(8) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
dbcore.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\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:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
guilds.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
Item.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\../common/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
md5.cpp
misc.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\misc.cpp(9) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
MiscFunctions.cpp
moremath.cpp
Mutex.cpp
packet_dump.cpp
packet_dump_file.cpp
packet_functions.cpp
C:\Documents and Settings\Aaron\Desktop\EQEMu-05-29-2004\common\packet_functions.cpp(22) : 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 - 13 error(s), 0 warning(s)
I've done the whole include thing, as directed by that tutorial and I've made sure that everything was spelt correctly. Anyone know how to fix this?
__________________
Cans O`Whoop Ass
LOADING, PLEASE WAIT...
Reply With Quote
  #4  
Old 06-04-2004, 04:25 PM
Xabob's Avatar
Xabob
Discordant
 
Join Date: Feb 2004
Location: On your desktop
Posts: 387
Default

Read Stickys this is not a Support fourm
__________________
[12:38] <RangerDown> I watched Napoleon Dynamite the other day
[12:39] <Xabob> omg
[12:39] <Xabob> want me to shoot you now?
[12:39] <RangerDown> and the first words out of my mouth at the start were:
[12:39] <RangerDown> Hey I bet Rog looks like that

Reply With Quote
  #5  
Old 06-04-2004, 05:00 PM
socalledsin
Fire Beetle
 
Join Date: Jun 2004
Posts: 2
Default

For real, wtf were you thinking asking for help in the help forum?
Reply With Quote
  #6  
Old 06-04-2004, 05:04 PM
m0oni9
Hill Giant
 
Join Date: Dec 2003
Posts: 166
Default

Remove npctypes.cpp/.h from the emusharemem project!
Reply With Quote
  #7  
Old 06-04-2004, 06:06 PM
socalledsin
Fire Beetle
 
Join Date: Jun 2004
Posts: 2
Default

takin out the npc stuff brought it down to just one error

C:\Documents and Settings\So called Sin\Desktop\EQEMu-05-29-2004\EMuShareMem\../zone/../common/database.h(30) : fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory
timer.cpp
debug.cpp
Mutex.cpp
Error executing cl.exe.

what now?
Reply With Quote
  #8  
Old 06-07-2004, 06:21 AM
Flame_storm's Avatar
Flame_storm
Sarnak
 
Join Date: Jun 2004
Posts: 59
Default

Im getting same errors, about Zlib.h, i have zlib installed!
what is goin wrong?
Reply With Quote
  #9  
Old 06-07-2004, 06:34 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

In VS NET, click Tools/Options, then select Project/VC++ Directories, then select 'Include Files' in the 'Show directories for:' dropdown, then make sure you have the paths to the location of your mysql.h and zlib.h files in there.
Reply With Quote
  #10  
Old 06-07-2004, 06:36 AM
Pyrix
Sarnak
 
Join Date: May 2004
Location: Germany
Posts: 68
Default

why do u say this to him he should read the f****************** tutorials
Reply With Quote
  #11  
Old 06-07-2004, 10:53 AM
Flame_storm's Avatar
Flame_storm
Sarnak
 
Join Date: Jun 2004
Posts: 59
Default

Cuz he is not an asshole.

Why do you post flames?
Reply With Quote
  #12  
Old 06-07-2004, 11:13 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by Pyrix
why do u say this to him he should read the f****************** tutorials
Quote:
Originally Posted by Flame_storm
Cuz he is not an asshole.
Flame_storm has it right, this board has it's share of arrogant, unhelpful people.

Pyrix, if I choose to spend my time to try and help someone, what harm does it do to you ? 10 seconds of your time to skip over the post ? This is a support forum, if you don't have the tolerance to try and help people who are new to EQEmu and aren't as PC savvy as you, don't bother posting.
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 08:29 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