Compiling

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
rich
Peon
Peon
Posts: 8
Joined: 27 May 2008, 21:18

Compiling

Post 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?
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: Compiling

Post 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/
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
rich
Peon
Peon
Posts: 8
Joined: 27 May 2008, 21:18

Re: Compiling

Post 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?
rich
Peon
Peon
Posts: 8
Joined: 27 May 2008, 21:18

Re: Compiling

Post 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?
rich
Peon
Peon
Posts: 8
Joined: 27 May 2008, 21:18

Re: Compiling

Post 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 ===|
rich
Peon
Peon
Posts: 8
Joined: 27 May 2008, 21:18

Re: Compiling

Post 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!
rich
Peon
Peon
Posts: 8
Joined: 27 May 2008, 21:18

Re: Compiling

Post 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?
rich
Peon
Peon
Posts: 8
Joined: 27 May 2008, 21:18

Re: Compiling

Post by rich »

Okay got it form the nightly builds!
NOW:
Compiling & running the 0.1.x client works!
Post Reply