PDA

View Full Version : Compiling on VS.net 2003


ajb20
10-19-2005, 02:50 AM
Everything went through fine, but I'm getting 1 error in the linking stage.

net.obj : error LNK2019: unresolved external symbol "void __cdecl FilePrint(char const *,bool,bool,char const *,...)" (?FilePrint@@YAXPBD_N10ZZ) referenced in function $L140296
.\../Build/Zone.exe : fatal error LNK1120: 1 unresolved externals

What file is still missing from the project? :)

ajb20
10-19-2005, 02:57 AM
Also, when I launch world, I am getting the following:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Adam>d:

D:\>cd \eqemu

D:\EqEmu>world.exe
[Status] CURRENT_WORLD_VERSION:EQEMu 0.6.0-DR3
[Status] Loading opcodes..
[Error] LoadEMuShareMemDLL::Load() failed to attach a function. Error=127
[Error] Loading opcodes failed. I cant live like this!

D:\EqEmu>

johane
10-19-2005, 11:17 AM
For your first problem, you need to turn off name mangling to see what the function name is that the linker can't find. I have no idea how to do this with a MS toolkit. Possibly someone else can tell you though.


Also, when I launch world, I am getting the following:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Adam>d:

D:\>cd \eqemu

D:\EqEmu>world.exe
[Status] CURRENT_WORLD_VERSION:EQEMu 0.6.0-DR3
[Status] Loading opcodes..
[Error] LoadEMuShareMemDLL::Load() failed to attach a function. Error=127
[Error] Loading opcodes failed. I cant live like this!

D:\EqEmu>

I had this type of error when I didnt have an up-to-date code base from CVS. Try a checkout or (possibly) update to check you have the most recent version of the source.

If you're brave enough, you could modify the code in net.cpp to check the errors and pointer status after each function is loaded to determine exactly what's going on.

Belfedia
10-19-2005, 06:05 PM
Just in case of ?
You have opcodes files in your eqemu directory ?
and last cvs source ? :
http://eqfroggy.ath.cx/download/EQEmuCVS_09.28.2005.rar