Page 1 of 2

Compiling problems plz help!

Posted: Sat Oct 11, 2008 2:21 am
by tippythop
Hi there ok this is my first time compiling an EQ2 server and Ive installed all the needed things and everytime I go to build solution I get this:

Code: Select all

1>------ Build started: Project: World, Configuration: Debug Win32 ------
1>Linking...
1>xmlParser.obj : error LNK2019: unresolved external symbol __imp__IsTextUnicode@12 referenced in function "public: static struct XMLNode __cdecl XMLNode::parseFile(char const *,char const *,struct XMLResults *)" (?parseFile@XMLNode@@SA?AU1@PBD0PAUXMLResults@@@Z)
1>mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__RegCloseKey@4 referenced in function _my_win_init
1>mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__RegEnumValueA@32 referenced in function _my_win_init
1>mysqlclient.lib(my_init.obj) : error LNK2019: unresolved external symbol __imp__RegOpenKeyExA@20 referenced in function _my_win_init
1>mysqlclient.lib(random.obj) : error LNK2019: unresolved external symbol __imp__CryptAcquireContextA@20 referenced in function "public: __thiscall TaoCrypt::OS_Seed::OS_Seed(void)" (??0OS_Seed@TaoCrypt@@QAE@XZ)
1>mysqlclient.lib(random.obj) : error LNK2019: unresolved external symbol __imp__CryptReleaseContext@8 referenced in function "public: __thiscall TaoCrypt::OS_Seed::~OS_Seed(void)" (??1OS_Seed@TaoCrypt@@QAE@XZ)
1>mysqlclient.lib(random.obj) : error LNK2019: unresolved external symbol __imp__CryptGenRandom@12 referenced in function "public: void __thiscall TaoCrypt::OS_Seed::GenerateSeed(unsigned char *,unsigned int)" (?GenerateSeed@OS_Seed@TaoCrypt@@QAEXPAEI@Z)
1>../build/EQ2WorldDebug.exe : fatal error LNK1120: 7 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\EQ2 Emulator\Source\Source\Build\World\Debug\BuildLog.htm"
1>World - 8 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
This happened evertime I go to options and add "library files" directory for "C:\LUA\lua5.1\lib" because it said it couldnt find lua5.1.lib if I didnt have that in the directory...can someone help me?I know how to do all this stuff its just really odd.

Posted: Sat Oct 11, 2008 6:51 am
by LethalEncounter
It looks like it is having problems find the Windows libraries. In the World Property Pages, what do your Linker -> Input -> Additional Dependencies and Linker -> Input -> Ignore Specific Library contain?

Posted: Sat Oct 11, 2008 7:29 am
by tippythop
Additional Depedencies: odbc32.lib odbccp32.lib wsock32.lib zlib.lib mysqlclient.lib lua5.1.lib
Ignore Specific Library: LIBCMT,LIBC

Posted: Sat Oct 11, 2008 9:28 am
by LethalEncounter
What library directories do you have specified in VS?

Posted: Sat Oct 11, 2008 12:10 pm
by tippythop
C:\LUA\lua5.1\lib
C:\Program Files\MySQL\MySQL Server 5.0\lib\opt
C:\Program Files\Microsoft Platform SDK\lib
C:\zlib\lib

Posted: Sat Oct 11, 2008 12:14 pm
by LethalEncounter
Try adding the following:
$(VCInstallDir)lib
$(VCInstallDir)atlmfc\lib
$(VCInstallDir)atlmfc\lib\i386
$(VCInstallDir)PlatformSDK\lib
$(VCInstallDir)PlatformSDK\common\lib
$(FrameworkSDKDir)lib

Posted: Sat Oct 11, 2008 12:48 pm
by tippythop
OHHH i thought you meant the stuff i added bah sry alrdy have that stuff in there too hehe sry :s

Posted: Sat Oct 11, 2008 6:42 pm
by tippythop
Well rawr is there a way you can get me a compile? I would love that Im jsut wanting to use the server for my best friend :) she loves EQ2 hehe figured Id make one for her but to no avail a compile or database but I dont think you guys do that :(

Posted: Sun Oct 12, 2008 2:26 am
by tippythop
Here's some shots of my visual studio stuff:
Image
Image
Image
I should be opening the very first one on this pic right? the VC++ Project?
Image
It's been giving me trouble still and I can't figure it out :( followed the instructions right and still this happens like I've said I've compiled other Emu's in the past but I've never came across a problem like this one.I would GREATLY!:) appreciate it if I could get a dump of a database and compiled source:) If its not possible thats ok I guess I'll just have to keep trying or find something else to play.

Posted: Sun Oct 12, 2008 11:13 am
by John Adams
Er, the release announcement for 0.6 is a Win32 binary package. No compile needed. And yes, there is a support database provided once you set up the first time, just no spawns or details - just server structures.

Posted: Sun Oct 12, 2008 1:21 pm
by tippythop
Hmmm, Well I've tryed compiling again by redownloading the binary and source still no luck :(.Gonna try to reinstall VS and there other SDK and stuff.

Posted: Sun Oct 12, 2008 1:23 pm
by John Adams
You do not need to "compile" anything if you have the Win32 Binary (EQ2World.exe).

Posted: Sun Oct 12, 2008 5:07 pm
by tippythop
Hmmm, Well everytime I start the exe it gives me this:
Image
And if I scrolled down on the exe it says a whole thing about tables not existing
Here's my login config and DB config:
Image
And here's my DB its empty for eq2 BUT has only one table as you can see:
Image

Posted: Sun Oct 12, 2008 5:11 pm
by LethalEncounter
You need to register a server account and put that in your LoginServer.ini file. Be sure to read the server guide for details. It is a little old, but the information should still be correct.

Posted: Sun Oct 12, 2008 7:51 pm
by tippythop
Rawr omg lol I fell like a nub lol finally got the server up gonna try to login now :)