Log in

View Full Version : zone compile errors


d00d
06-08-2006, 01:06 AM
I'm trying to compile zone.exe 7.0-795 / when i try to build zone.exe i get these errors. Anyone know how to fix it?

Error 1 error LNK2019: unresolved external symbol "void __cdecl ReloadAllPatches(void)" (?ReloadAllPatches@@YAXXZ) referenced in function "void __cdecl command_opcode(class Client *,class Seperator const *)" (?command_opcode@@YAXPAVClient@@PBVSeperator@@@Z) command.obj
Error 2 error LNK2019: unresolved external symbol "void __cdecl RegisterAllPatches(class EQStreamIdentifier &)" (?RegisterAllPatches@@YAXAAVEQStreamIdentifier@@@Z ) referenced in function _main net.obj
Error 3 fatal error LNK1120: 2 unresolved externals .\../Build/Zone.exe

LostZaphod
06-08-2006, 03:56 AM
Compiling / Make is a two step process.
Step one
The compiler opens the project file and reads it's contents. The contents of this file tell the compiler the location and file names to open and convert into object code.
If you get ERRORS, There could be 2 reasons for this, the physical file is missing or the file is no longer needed.

Step two
The Linker opens all object files that were created in process one, and resolves all of the calls. If you get ERRORS, This means that a needed object was not found, a file name is missing inside of the project file or a library file that was needed could not be found.

In your case, "ReloadAllPatches" and "RegisterAllPatches" could not be found in the object code. Look inside of all of the files (*.h and *.cpp) for the values