Compiling problems plz help!

General support forum. If you require assistance and your problem doesnt fall in any of the other categories, this is the forum for you!

Moderator: Team Members

Forum rules
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
tippythop
Posts: 16
Joined: Sat Oct 11, 2008 2:15 am

Compiling problems plz help!

Post by tippythop » Sat Oct 11, 2008 2:21 am

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.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Sat Oct 11, 2008 6:51 am

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?

tippythop
Posts: 16
Joined: Sat Oct 11, 2008 2:15 am

Post by tippythop » Sat Oct 11, 2008 7:29 am

Additional Depedencies: odbc32.lib odbccp32.lib wsock32.lib zlib.lib mysqlclient.lib lua5.1.lib
Ignore Specific Library: LIBCMT,LIBC

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Sat Oct 11, 2008 9:28 am

What library directories do you have specified in VS?

tippythop
Posts: 16
Joined: Sat Oct 11, 2008 2:15 am

Post by tippythop » Sat Oct 11, 2008 12:10 pm

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

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Sat Oct 11, 2008 12:14 pm

Try adding the following:
$(VCInstallDir)lib
$(VCInstallDir)atlmfc\lib
$(VCInstallDir)atlmfc\lib\i386
$(VCInstallDir)PlatformSDK\lib
$(VCInstallDir)PlatformSDK\common\lib
$(FrameworkSDKDir)lib

tippythop
Posts: 16
Joined: Sat Oct 11, 2008 2:15 am

Post by tippythop » Sat Oct 11, 2008 12:48 pm

OHHH i thought you meant the stuff i added bah sry alrdy have that stuff in there too hehe sry :s

tippythop
Posts: 16
Joined: Sat Oct 11, 2008 2:15 am

Post by tippythop » Sat Oct 11, 2008 6:42 pm

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 :(

tippythop
Posts: 16
Joined: Sat Oct 11, 2008 2:15 am

Post by tippythop » Sun Oct 12, 2008 2:26 am

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.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Sun Oct 12, 2008 11:13 am

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.

tippythop
Posts: 16
Joined: Sat Oct 11, 2008 2:15 am

Post by tippythop » Sun Oct 12, 2008 1:21 pm

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.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Sun Oct 12, 2008 1:23 pm

You do not need to "compile" anything if you have the Win32 Binary (EQ2World.exe).

tippythop
Posts: 16
Joined: Sat Oct 11, 2008 2:15 am

Post by tippythop » Sun Oct 12, 2008 5:07 pm

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

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Post by LethalEncounter » Sun Oct 12, 2008 5:11 pm

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.

tippythop
Posts: 16
Joined: Sat Oct 11, 2008 2:15 am

Post by tippythop » Sun Oct 12, 2008 7:51 pm

Rawr omg lol I fell like a nub lol finally got the server up gonna try to login now :)

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests