anjuta编译错误

软件和网站开发以及相关技术探讨
回复
verbin
帖子: 10
注册时间: 2007-06-15 21:53

anjuta编译错误

#1

帖子 verbin » 2008-07-13 0:51

这两天在看LINUX开发,按照网上说的,把ANJUTA装好了,GLADE也装了,然后用ANJUTA生成一个C++工程,什么都没改过,直接它生成后就编译,可是却报了一大堆的错误,不知道怎么回事,网上也找不到相关的信息。。。。大家帮我看看这是怎么回事
make main.o
/home/user/Projects/gtk-foobar/src/main.cc:25:28: error: libglademm/xml.h: No such file or directory
/home/user/Projects/gtk-foobar/src/main.cc:26:19: error: gtkmm.h: No such file or directory
g++ -c -o main.o main.cc
main.cc: In function ‘int main(int, char**)’:
/home/user/Projects/gtk-foobar/src/main.cc:42: error: ‘Gtk’ has not been declared
/home/user/Projects/gtk-foobar/src/main.cc:42: error: expected `;' before ‘kit’
/home/user/Projects/gtk-foobar/src/main.cc:45: error: ‘Glib’ has not been declared
/home/user/Projects/gtk-foobar/src/main.cc:45: error: ‘Gnome’ has not been declared
/home/user/Projects/gtk-foobar/src/main.cc:45: error: ‘refXml’ was not declared in this scope
/home/user/Projects/gtk-foobar/src/main.cc:48: error: ‘Gnome’ has not been declared
/home/user/Projects/gtk-foobar/src/main.cc:50: error: ISO C++ forbids declaration of ‘Gnome’ with no type
/home/user/Projects/gtk-foobar/src/main.cc:50: error: expected `)' before ‘::’ token
/home/user/Projects/gtk-foobar/src/main.cc:50: error: expected `{' before ‘::’ token
/home/user/Projects/gtk-foobar/src/main.cc:50: error: ‘::Glade’ has not been declared
/home/user/Projects/gtk-foobar/src/main.cc:50: error: ‘ex’ was not declared in this scope
/home/user/Projects/gtk-foobar/src/main.cc:50: error: expected `;' before ‘)’ token
/home/user/Projects/gtk-foobar/src/main.cc:55: error: ‘Gtk’ has not been declared
/home/user/Projects/gtk-foobar/src/main.cc:55: error: ‘main_win’ was not declared in this scope
/home/user/Projects/gtk-foobar/src/main.cc:59: error: ‘kit’ was not declared in this scope
make: *** [main.o] Error 1
Completed... unsuccessful
总共耗时:0 秒
回复