Page 1 of 1

Problem with Make after configure

Posted: 27 Dec 2007, 21:05
by Merlin
I am attempting to compile the new .24 source. I've installed all the libs and went threw the configure okay. When I run make i get this error:

make all-recursive
make[1]: Entering directory `/home/merlin/Desktop/tmw-0.0.24'
Making all in data
make[2]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/data'
Making all in graphics
make[3]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics'
Making all in gui
make[4]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics/gui'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics/gui'
Making all in images
make[4]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics/images'
Making all in ambient
make[5]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics/images/ambient'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics/images/ambient'
make[5]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics/images'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics/images'
make[4]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics/images'
Making all in tiles
make[4]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics/tiles'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics/tiles'
make[4]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics'
make[3]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/data/graphics'
Making all in help
make[3]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/data/help'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/data/help'
Making all in icons
make[3]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/data/icons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/data/icons'
make[3]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/data'
make[2]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/data'
Making all in docs
make[2]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/docs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/docs'
Making all in src
make[2]: Entering directory `/home/merlin/Desktop/tmw-0.0.24/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DTMW_DATADIR=\""/usr/local/share/tmw/"\" -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `pkg-config --cflags libxml-2.0` -g -O2 -MT tmw-resizegrip.o -MD -MP -MF ".deps/tmw-resizegrip.Tpo" -c -o tmw-resizegrip.o `test -f 'gui/widgets/resizegrip.cpp' || echo './'`gui/widgets/resizegrip.cpp; \
then mv -f ".deps/tmw-resizegrip.Tpo" ".deps/tmw-resizegrip.Po"; else rm -f ".deps/tmw-resizegrip.Tpo"; exit 1; fi
In file included from gui/widgets/resizegrip.cpp:28:
gui/widgets/../../graphics.h:27:39: error: guichan/sdl/sdlgraphics.hpp: No such file or directory
gui/widgets/../../graphics.h:58: error: expected class-name before ‘{’ token
gui/widgets/resizegrip.cpp: In member function ‘virtual void ResizeGrip::draw(gcn::Graphics*)’:
gui/widgets/resizegrip.cpp:64: error: invalid static_cast from type ‘gcn::Graphics*’ to type ‘Graphics*’
make[2]: *** [tmw-resizegrip.o] Error 1
make[2]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/merlin/Desktop/tmw-0.0.24'
make: *** [all] Error 2


Sorry for the length of the error, but does anyone know what might be my problem?

MerlinX420

Posted: 27 Dec 2007, 21:27
by Trinexx
What version of Guichan do you have installed?

Posted: 27 Dec 2007, 21:56
by Merlin
0.7.1
I got it off the site listed in the INSTALL text

Posted: 27 Dec 2007, 22:25
by Trinexx
I had a similar error when I tried to compile the SVN, it turned out to be caused by me having more than one version of Guichan.

Sorry I can't be of more help, I'm sure there are people vastly more qualified to give advice.

guichan...

Posted: 27 Dec 2007, 23:18
by Merlin
I'll see. I believe I only installed the one downloaded.
This isn't an SVN build, but I see how it could be a similar problem.
I check that out. It's the only possible option for me right now.

Posted: 28 Dec 2007, 00:27
by Rinni
Trinexx wrote:I had a similar error when I tried to compile the SVN, it turned out to be caused by me having more than one version of Guichan.

Sorry I can't be of more help, I'm sure there are people vastly more qualified to give advice.
Thanks Trinexx... if you can think of anything else that will be helpful you can let me know in game too... Merlin is my brother and hasn't been able to play... : D

Posted: 28 Dec 2007, 05:38
by KiRiL
I got same error, when i have guichan 0.6.x Then i downloaded source rpm and built binary package, removed previous, installed new, and voila - now i'm playing tmw 0.0.24 :)

Posted: 31 Dec 2007, 10:01
by Merlin
I got it to work after the guichan was changed correctly...however I have no music and almost no sound fx.