PDA

View Full Version : World.exe Compiling Problems in VSC++ 6.0


park0114
06-11-2003, 07:42 AM
Gurus-

I'm getting this very frustrating error when trying to compile my World.exe and I scoured these forums and didn't find anything directly related to this problem.

Here is the error message:

Linking...
mysqlclient.lib(password.obj) : error LNK2001: unresolved external symbol __ftol2
C:\EQEmuCVS\Source\Build\World.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

World.exe - 2 error(s), 0 warning(s)

Any thoughts?

- I apologize for posting in the EQEmu development section...

Parky

Trumpcard
06-11-2003, 07:53 AM
Well, did you link in the mysql libraries?

park0114
06-11-2003, 08:05 AM
Hi and thanks for the response.

Unfortunately, yes the mysqlclient.lib file is linked...

Rashaverak
06-11-2003, 06:29 PM
You have to be sure that you're pointing to the right library files - there are different versions. Try searching for the library files and trying each of those you find.

IAsoulfood
06-11-2003, 08:38 PM
Gurus-
I'm getting this very frustrating error when trying to compile my World.exe ...
Here is the error message:
Linking...
mysqlclient.lib(password.obj) : error LNK2001: unresolved external symbol __ftol2
C:\EQEmuCVS\Source\Build\World.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
World.exe - 2 error(s), 0 warning(s)


The CVS version of 4.4.DR1 that I'm currently using has a copy of mysqlclient.lib and zlib.lib in both the world and zone folders.
Under TOOLS->OPTIONS->Directories [tab]
chose the "library" from the pull down options of choices and add this:
[drive:]EQEmuSrc\World
[drive:]EQEmuSrc\Zone
And move to top of the list for both
Guarantees that mysqlclient.lib and zlib.lib will be sourced from your "world" and "zone" source directories where they should be residing already. Hope it helps out.
Soulfood