Having trouble compiling Gonstruct on Linux. I'm using Ubuntu 10.04 with all of the dependencies installed on my system. Does anyone know the source of the problem and hopefully how to solve it?
Here is the error I receive from the terminal after using the make command:
PHP Code:
felixlionheart@ubuntu-desktop:~/Desktop/fry-graal-gonstruct-d7a0df8$ make
[ 7%] Built target core
[ 10%] Building CXX object src/level_editor/CMakeFiles/gonstruct.dir/GLArea.cpp.o
In file included from /home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.cpp:1:
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:3:19: error: gtkmm.h: No such file or directory
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:4:29: error: gtkgl/gtkglarea.h: No such file or directory
In file included from /home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.cpp:1:
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:6: error: ‘Gtk’ has not been declared
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:6: error: expected ‘{’ before ‘EventBox’
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:6: error: invalid type in declaration before ‘{’ token
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:6: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:7: error: expected primary-expression before ‘public’
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:7: error: expected ‘}’ before ‘public’
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:7: error: expected ‘,’ or ‘;’ before ‘public’
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:9: error: expected unqualified-id before ‘int’
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:9: error: expected ‘)’ before ‘int’
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:10: error: declaration of ‘~GLArea’ as non-member
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:13: error: ‘virtual’ outside class declaration
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:14: error: ‘virtual’ outside class declaration
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:14: error: ‘GdkEventExpose’ was not declared in this scope
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:14: error: ‘event’ was not declared in this scope
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:14: error: expected ‘,’ or ‘;’ before ‘{’ token
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:15: error: ‘virtual’ outside class declaration
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:15: error: ‘GdkEventConfigure’ was not declared in this scope
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:15: error: ‘event’ was not declared in this scope
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:15: error: expected ‘,’ or ‘;’ before ‘{’ token
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:22: error: expected unqualified-id before ‘private’
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:28: error: ‘GdkEventExpose’ was not declared in this scope
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:28: error: ‘event’ was not declared in this scope
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:29: error: ‘GdkEventConfigure’ was not declared in this scope
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:29: error: ‘event’ was not declared in this scope
/home/felixlionheart/Desktop/fry-graal-gonstruct-d7a0df8/src/level_editor/GLArea.hpp:30: error: expected declaration before ‘}’ token
make[2]: *** [src/level_editor/CMakeFiles/gonstruct.dir/GLArea.cpp.o] Error 1
make[1]: *** [src/level_editor/CMakeFiles/gonstruct.dir/all] Error 2
make: *** [all] Error 2
felixlionheart@ubuntu-desktop:~/Desktop/fry-graal-gonstruct-d7a0df8$