PDA

View Full Version : compile issue, Unresolved external symbol


Dougnutz
10-15-2004, 04:21 PM
I am trying to compile a 0.5.5 version of the emulator for a friend of mine.(using M$ Vs2003 on a win xp machine) I realize this release is out of date but he wants to stick with it because it is very playable . Anyway the world project and the eqmemshare compile just fine but the Zone returns the following output

Compiling...
timer.cpp
TCPConnection.cpp
serverinfo.cpp
races.cpp
packet_functions.cpp
packet_dump_file.cpp
packet_dump.cpp
Mutex.cpp
moremath.cpp
MiscFunctions.cpp
misc.cpp
md5.cpp
Item.cpp
guilds.cpp
eqtime.cpp
EQNetwork.cpp
EMuShareMem.cpp
debug.cpp
DBMemLeak.cpp
dbcore.cpp
dbasync.cpp
database.cpp
crc32.cpp
classes.cpp
zonedbasync.cpp
zone.cpp
worldserver.cpp
spells.cpp
spawngroup.cpp
spawn2.cpp
PlayerCorpse.cpp
petitions.cpp
parser.cpp
Object.cpp
npc.cpp
net.cpp
MobAI.cpp
mob.cpp
Map.cpp
loottables.cpp
hate_list.cpp
groups.cpp
forage.cpp
faction.cpp
EQEMuError.cpp
entity.cpp
doors.cpp
command.cpp
client_process.cpp
client.cpp
attack.cpp
Linking...
spells.obj : error LNK2019: unresolved external symbol "public: void __thiscall Beacon::AELocationSpell(class Mob *,float,unsigned short)" (?AELocationSpell@Beacon@@QAEXPAVMob@@MG@Z) referenced in function "public: bool __thiscall Mob::SpellFinished(unsigned short,unsigned int,unsigned short,unsigned short)" (?SpellFinished@Mob@@QAE_NGIGG@Z)
spells.obj : error LNK2019: unresolved external symbol "public: __thiscall Beacon::Beacon(class Mob *,int)" (??0Beacon@@QAE@PAVMob@@H@Z) referenced in function "public: bool __thiscall Mob::SpellFinished(unsigned short,unsigned int,unsigned short,unsigned short)" (?SpellFinished@Mob@@QAE_NGIGG@Z)
../build/ZoneDebug.exe : fatal error LNK1120: 2 unresolved externals

Can anyone point me in right direction?

NooB/learner :?

Derision
10-15-2004, 10:55 PM
Sounds like you need to add the file zone/beacon.cpp to your VS.NET solution/project, then rebuild.

Dougnutz
10-16-2004, 04:57 PM
I don't know why I didn't see that.
Ya know sometimes I think staying up to late affects the brain....

Thanks Compiled perfectly :oops: