Page 1 of 1

Compiling

Posted: 28 May 2008, 18:53
by rich
1) I Installed Dev C++ and Devpack and copied the dll's

2) I did a svn Checkout

3) I opened the The Mana World.dev

-> There were some files missing... so i looked them up in the internet and someone had the same problem. Your suggestion was: Remove the files of the projekt, the .dev file isn't up-to-date everytime

-> I wanted to compile the Projekt and severa Compile errors..
What did i wrong? Could you please help me?

Re: Compiling

Posted: 28 May 2008, 19:23
by Crush
Please post the compilation log with the errors you receive. When the list is too long you can post it on a pastebin site like http://pastebin.ca/ or http://rafb.net/paste/

Re: Compiling

Posted: 31 May 2008, 09:32
by rich
I tried the same thing again with Code::blocks and Devpack: tmw-svn-0.0.x.tar.bz2
I got the following errors:

Code: Select all

||=== The Mana World, default ===|
C:\Dokumente und Einstellungen\Rich\Desktop\themanaworld\src\gui\..\utils\gettext.h|33|libintl.h: No such file or directory|
C:\Dokumente und Einstellungen\Rich\Desktop\themanaworld\src\gui\buy.cpp||In constructor `BuyDialog::BuyDialog()':|
C:\Dokumente und Einstellungen\Rich\Desktop\themanaworld\src\gui\buy.cpp|42|error: `gettext' was not declared in this scope|
C:\Dokumente und Einstellungen\Rich\Desktop\themanaworld\src\gui\buy.cpp||In member function `void BuyDialog::updateButtonsAndLabels()':|
C:\Dokumente und Einstellungen\Rich\Desktop\themanaworld\src\gui\buy.cpp|202|error: `gettext' was not declared in this scope|
C:\Dokumente und Einstellungen\Rich\Desktop\themanaworld\src\gui\buy.cpp|220|error: `gettext' was not declared in this scope|
C:\Dokumente und Einstellungen\Rich\Desktop\themanaworld\src\gui\buy.cpp|235|error: `gettext' was not declared in this scope|
C:\Dokumente und Einstellungen\Rich\Desktop\themanaworld\src\gui\buy.cpp|235|warning: unused variable 'gettext'|
||=== Build finished: 5 errors, 1 warnings ===|

Please can you help me?

Re: Compiling

Posted: 31 May 2008, 10:01
by rich
okay i've looked up these errors in the forum, and found the suggestion:
I was using the 0.0.x old client devpack!
But with the tmw-svn dev pack i didn't work either
So, i used these two devpacks tmw-svn-0.0.x.tar.bz2 and twm-svn.devpack
together in code::blocks
and the i got this copmiling messages

Code: Select all

ld.exe||cannot find -lenet|
||=== Build finished: 1 errors, 0 warnings ===|
whats that error?

Re: Compiling

Posted: 31 May 2008, 19:25
by rich
OMG! I got it! I got it!

Finally I set a new Linker-Path:
->tmw-svn\lib
And...
it worked!
I'm so happy thx for help!

Code: Select all

||=== Build finished: 0 errors, 1 warnings ===|

Re: Compiling

Posted: 31 May 2008, 19:50
by rich
Okay I tried t run the client and when starting the tmw.exe (fresh compiled) my Computer sends me an error that he couldn't find _ZN3gcn10ScrollArea15setScrollPolicyES1_ in DLL guichan.dll

-> I used the dll of the tmw windows download.

-> When i copy the C:\programs\the mana world\tmw.exe (where i've the dll's from) to my tmw source folder (where the compiled exe is with dll's) tmw client runs perfectly

->When i use my own compiled client i get that error above
Why? please help me!

Re: Compiling

Posted: 31 May 2008, 20:12
by rich
okay seems like i got my problem: i used dlls for 0.24 with client 0.1.x
where can i download 0.1.x dlls?

Re: Compiling

Posted: 31 May 2008, 20:21
by rich
Okay got it form the nightly builds!
NOW:
Compiling & running the 0.1.x client works!