Page 1 of 1

error compile mana-0.6.1 on slackware-current x86_64

Posted: 05 Aug 2012, 02:38
by modz
hi,

i got an error when compiling.
$ make
[ 0%] Building CXX object src/CMakeFiles/mana.dir/gui/widgets/tab.cpp.o
In file included from /home/dhamma/Downloads/mana-0.6.1/src/gui/widgets/tab.cpp:29:0:
/home/dhamma/Downloads/mana-0.6.1/src/gui/widgets/tabbedarea.h:101:32: error: type 'TabbedArea' is not a base type for type 'TabbedArea'
make[2]: *** [src/CMakeFiles/mana.dir/gui/widgets/tab.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/mana.dir/all] Error 2
make: *** [all] Error 2
how to resolve this error.

thanks

Re: error compile mana-0.6.1 on slackware-current x86_64

Posted: 05 Aug 2012, 03:11
by o11c
This is a GCC 4.7 problem.

Fixed in git: https://github.com/mana/mana/commit/861 ... 760d83834e

Note that you'll also have to rebuild guichan with -std=c++11 to avoid linker problems.
(You should strongly prefer this over building mana in C++98 mode. Seriously.)