The Mana World
http://forums.themanaworld.org/

Problem with Make after configure
http://forums.themanaworld.org/viewtopic.php?f=7&t=3348
Page 1 of 1

Author:  MerlinX420 [ Thu Dec 27, 2007 8:05 pm ]
Post subject:  Problem with Make after configure

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

Author:  Trinexx [ Thu Dec 27, 2007 8:27 pm ]
Post subject: 

What version of Guichan do you have installed?

Author:  MerlinX420 [ Thu Dec 27, 2007 8:56 pm ]
Post subject: 

0.7.1
I got it off the site listed in the INSTALL text

Author:  Trinexx [ Thu Dec 27, 2007 9:25 pm ]
Post subject: 

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.

Author:  MerlinX420 [ Thu Dec 27, 2007 10:18 pm ]
Post subject:  guichan...

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.

Author:  Rinni [ Thu Dec 27, 2007 11:27 pm ]
Post subject: 

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

Author:  KiRiL [ Fri Dec 28, 2007 4:38 am ]
Post subject: 

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 :)

Author:  MerlinX420 [ Mon Dec 31, 2007 9:01 am ]
Post subject: 

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

Page 1 of 1 All times are UTC - 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/