Problem with Make after configure

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
Merlin
Developer
Developer
Posts: 601
Joined: 23 Dec 2007, 04:42

Problem with Make after configure

Post 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
User avatar
Trinexx
Peon
Peon
Posts: 27
Joined: 26 Dec 2007, 19:46
Location: Florida
Contact:

Post by Trinexx »

What version of Guichan do you have installed?
User avatar
Merlin
Developer
Developer
Posts: 601
Joined: 23 Dec 2007, 04:42

Post by Merlin »

0.7.1
I got it off the site listed in the INSTALL text
User avatar
Trinexx
Peon
Peon
Posts: 27
Joined: 26 Dec 2007, 19:46
Location: Florida
Contact:

Post 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.
User avatar
Merlin
Developer
Developer
Posts: 601
Joined: 23 Dec 2007, 04:42

guichan...

Post 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.
User avatar
Rinni
Peon
Peon
Posts: 15
Joined: 21 Dec 2007, 05:40
Contact:

Post 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
User avatar
KiRiL
Peon
Peon
Posts: 6
Joined: 19 Dec 2007, 13:46
Location: Russia
Contact:

Post 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 :)
User avatar
Merlin
Developer
Developer
Posts: 601
Joined: 23 Dec 2007, 04:42

Post by Merlin »

I got it to work after the guichan was changed correctly...however I have no music and almost no sound fx.
Post Reply