EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Source will not compile, a friend and i got down to 5 errors (https://www.eqemulator.org/forums/showthread.php?t=21710)

Astaldoath 10-15-2006 01:06 PM

Source will not compile, a friend and i got down to 5 errors
 
These are the errors. They have to do with mysql im guessing. Does anyone know how to successfully compile the source? We really need a good guide on how to do this.

If anyone has any info please post.

Code:

Compiling manifest to resources...
Linking...
worldserver.obj : error LNK2019: unresolved external symbol __imp__ShellExecuteA@24 referenced in function "public: virtual void __thiscall WorldServer::Process(void)" (?Process@WorldServer@@UAEXXZ)
mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _my_win_init
mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__RegEnumValueA@32 referenced in function _my_win_init
mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function _my_win_init
../build/ZoneDebug.exe : fatal error LNK1120: 4 unresolved externals
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
Build log was saved at "file://d:\EQEmu\EQEmu\Source\0.7.0\Build\Zone\Debug\BuildLog.htm"
Zone - 5 error(s), 34 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


KLS 10-15-2006 03:19 PM

Just built one of the downloaded sources from the site(EQEmu-0.7.0-857) with VS express 2005 using the wiki's instructions and then these extra steps:

Disabled Specific Warnings
4335
4996

Not required but frees up your compile log from a trillion and a half redundant warnings. Code should compile with or without it.

To World:
Set ignore specific libs(/NODEFAULTLIB: ) : LIBCMT;LIBCRT
Additional Include Directories added: ..\common\SocketLib

to EmuShareMem:
Set ignore specific libs(/NODEFAULTLIB: ) : LIBCMT;LIBCRT

to Zone:
Set ignore specific libs(/NODEFAULTLIB: ) : LIBCMT;LIBCRT

Your milage may vary, hope it helps though.


All times are GMT -4. The time now is 11:02 PM.

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