EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=617)
-   -   Compiling (https://www.eqemulator.org/forums/showthread.php?t=1762)

Maniac 05-09-2002 09:41 AM

Compiling
 
Ok I've searched through what I could find in the forumn and was wondering if anyone knows if i even can compile with Borland's free compiler? If so could anyone give me a clue where to begin since i seem to be more than a little lost?
thanks =)

Lurker_005 05-09-2002 12:04 PM

I cna't give details, but here are some things that you will probably need to look into.

You will need to add the same resource files as the VC++6 setup, see other post regarding this. There will be possible code changes required for the different compiler. A new make file or project file. Any changes due to differences in the support libraries included in Borland's compiler...

Maniac 05-10-2002 05:54 AM

So basically it'd be easier to pick up VC++6 =P
Guess I look into that later today mabye, thanks =)

Maniac 05-11-2002 12:28 AM

Ok I got VC++ 6 , and managed to get it halfway working, just wondering if anyone knows what would be causing this..
--------------------Configuration: Zone - Win32 Win9x--------------------
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
attack.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
client.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
client_process.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
ClientList.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
entity.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
faction.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
groups.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
hate_list.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
loottables.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
mob.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
net.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
npc.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
C:\EQEmu\eqemu-0.3.1.1-source\Zone\npc.cpp(475) : error C2143: syntax error : missing ';' before 'if'
C:\EQEmu\eqemu-0.3.1.1-source\Zone\npc.cpp(477) : error C2143: syntax error : missing ';' before '{'
C:\EQEmu\eqemu-0.3.1.1-source\Zone\npc.cpp(477) : error C2447: missing function header (old-style formal list?)
NpcAI.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
Object.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
petitions.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
PlayerCorpse.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
Quest.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
spawn2.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
spells.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
WesQuests.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
worldserver.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
zone.cpp
C:\EQEmu\eqemu-0.3.1.1-source\Zone\../common/eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
database.cpp
C:\EQEmu\eqemu-0.3.1.1-source\common\eq_packet_structs.h(11) : note C6311: unknown(0) : see previous definition of 'INVERSEXY'
packet_functions.cpp
C:\EQEmu\eqemu-0.3.1.1-source\common\packet_functions.cpp(5) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory
Error executing cl.exe.
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '\EQEmu\eqemu-0.3.1.1-source\Build\Zone\9x\packet_functions.sbr': No such file or directory
Error executing bscmake.exe.

Zone9x.exe - 5 error(s), 1 warning(s)

Thx in advance for any help=)

Lurker_005 05-12-2002 06:08 AM

Look for inversexy on line 11 of eq_packet_structures.h and figure out what is wrong. Try looking for another definition of inversexy and copying the syntax.

Look for a syntax error in npc.cpp near line 475 and fix it.

Make sure you have zlib.h and it is in your include (or is it lib) path

Maniac 05-12-2002 07:54 AM

Ah thanks again finally got it working, now to search for some snippets hehe =)


All times are GMT -4. The time now is 01:37 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.