EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   EQemu VC6 Compile Link Error (https://www.eqemulator.org/forums/showthread.php?t=8187)

aleio4 06-20-2003 09:47 AM

EQemu VC6 Compile Link Error
 
I have searched through the other posts on compiling in visual c++ 6 on windows, and while the other information has been useful, I have not seen this problem. Anyways things compile fine until it starts to link. Then I get this error.

net.obj : error LNK2001: unresolved external symbol "void __cdecl CheckEQEMuErrorAndPause(void)" (?CheckEQEMuErrorAndPause@@YAXXZ)

then this one


database.obj : error LNK2001: unresolved external symbol "void __cdecl AddEQEMuError(enum eEQEMuError,bool)" (?AddEQEMuError@@YAXW4eEQEMuError@@_N@Z)

and of course

../Build/Zone.exe : fatal error LNK1120: 2 unresolved externals

Does anyone have any idea what is causing this? By the way, I have the common, world, and zone directories both setup under directories and libraries as well as mysql directory and zlib directory. (Otherwise I would be getting a lot more problems, I assume). Thank you very much.

Trumpcard 06-20-2003 11:50 AM

Sounds like that makefile doesnt link in the new EQEMuError class... check the dsp files and make sure that its being built

used_pawn 06-20-2003 01:43 PM

also make sure you didnt do what I did at first... not use 'all files' when saving makefile. I ended up with makefile.txt.txt. and THAT caused me (and other files mind you) lots of grief.

aleio4 06-21-2003 06:57 AM

Just needed to add the eqemuerror .cpp and .h into the project window using file add to project. For some reason it wasn't put into the project by default. Thanks for the help.


All times are GMT -4. The time now is 11:01 AM.

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