Ask for help regarding any technical issue or report any bug or OS independent issues.
- Newly Registered User
- Posts: 1
- Joined: 05 Aug 2012, 03:33
i got an error when compiling.
[ 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: *** [src/CMakeFiles/mana.dir/gui/widgets/tab.cpp.o] Error 1
make: *** [src/CMakeFiles/mana.dir/all] Error 2
make: *** [all] Error 2
how to resolve this error.
- Posts: 2262
- Joined: 20 Feb 2011, 22:09
- Location: ^ ^
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.