Page 1 of 1

Compile Error?

Posted: 07 Jan 2009, 16:00
by BobSongs
Greetings. First post.

Wanna say: game is fun.

I'm using Ubuntu Linux, Hardy Heron, 8.04. I'm trying to compile, from source code, an updated copy.

1. After running ./configure (in the correct directory), the last line output is:

Code: Select all

configure complete, now type "make".
2. The last output of make is:

Code: Select all

In file included from gui/buddywindow.h:27,
                 from gui/buddywindow.cpp:22:
gui/window.h:26:38: error: guichan/widgetlistener.hpp: No such file or directory
In file included from gui/buddywindow.h:27,
                 from gui/buddywindow.cpp:22:
gui/window.h:44: error: expected class-name before ‘{’ token
make[2]: *** [tmw-buddywindow.o] Error 1
make[2]: Leaving directory `/home/robert/Downloads/tmw-0.0.27/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/robert/Downloads/tmw-0.0.27'
make: *** [all] Error 2
The line: gui/window.h:44: error: expected class-name before ‘{’ token seems to throw a fatal error.

Any ideas? All the dependencies seem to be met.

Re: Compile Error?

Posted: 07 Jan 2009, 16:11
by Jaxad0127
You need a newer version of one of the libraries than Hardy has. This will help: http://wiki.themanaworld.org/index.php/ ... ompilation.

Re: Compile Error?

Posted: 07 Jan 2009, 16:39
by BobSongs
jaxad0127 wrote:You need a newer version of one of the libraries than Hardy has. This will help: http://wiki.themanaworld.org/index.php/ ... ompilation.
I think you're right. I was just trying to install the newer version of tmw from the Ubuntu repositories, and they kept whining about wanting more recent libraries.

So, in a sense, I got roughly the same answer from my own efforts. :roll:

But, many thanks. I guess I have to decide whether I hang on to Hardy, or invest in Intrepid. :)

Re: Compile Error?

Posted: 07 Jan 2009, 17:30
by Platyna
First post and already you have managed to step on moderator's toes by posting in wrong section. ;-}

Regards.

Re: Compile Error?

Posted: 07 Jan 2009, 22:27
by kr0n05931
BobSongs wrote:
jaxad0127 wrote:You need a newer version of one of the libraries than Hardy has. This will help: http://wiki.themanaworld.org/index.php/ ... ompilation.
I think you're right. I was just trying to install the newer version of tmw from the Ubuntu repositories, and they kept whining about wanting more recent libraries.

So, in a sense, I got roughly the same answer from my own efforts. :roll:

But, many thanks. I guess I have to decide whether I hang on to Hardy, or invest in Intrepid. :)
There is no need to give up hardy! I have prepared a script for the compilation that will do everything for you. Just make sure you have an internet connection when you run the scripts. And read the post required thoroughly.

http://forums.themanaworld.org/viewtopic.php?f=7&t=5498

:D

Re: Compile Error?

Posted: 16 Jan 2009, 16:58
by BobSongs
Platyna wrote:First post and already you have managed to step on moderator's toes by posting in wrong section. ;-}

Regards.
Ahh. Forgive me for connecting "Linux/Unix support, All posts regarding problems in a Unix environment" with a Linux compile error.

You'll notice it says: "First Post".

The best way to answer is: "While you are posting in an area that seems to support the kind of question you're asking, it still isn't quite accurate. However, being your first post, try checking out this answer written by 'kr0n05931' in which he deals with the subject you brought up. By the way, your post should have been posted in 'blah'."

Yes?

Re: Compile Error?

Posted: 16 Jan 2009, 17:00
by BobSongs
kr0n05931 wrote:
BobSongs wrote:
jaxad0127 wrote:You need a newer version of one of the libraries than Hardy has. This will help: http://wiki.themanaworld.org/index.php/ ... ompilation.
I think you're right. I was just trying to install the newer version of tmw from the Ubuntu repositories, and they kept whining about wanting more recent libraries.

So, in a sense, I got roughly the same answer from my own efforts. :roll:

But, many thanks. I guess I have to decide whether I hang on to Hardy, or invest in Intrepid. :)
There is no need to give up hardy! I have prepared a script for the compilation that will do everything for you. Just make sure you have an internet connection when you run the scripts. And read the post required thoroughly.

http://forums.themanaworld.org/viewtopic.php?f=7&t=5498

:D
Ahh. Now that's how to answer a post.

Much appreciated.