error compile mana-0.6.1 on slackware-current x86_64

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
modz
Newly Registered User
Posts: 1
Joined: 05 Aug 2012, 03:33

error compile mana-0.6.1 on slackware-current x86_64

Post by modz » 05 Aug 2012, 03:38

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
User avatar
o11c
Knight
Knight
Posts: 2262
Joined: 20 Feb 2011, 22:09
Location: ^ ^

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

Post by o11c » 05 Aug 2012, 04:11

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.)
Former programmer for the TMWA server.
Post Reply