PDA

View Full Version : [ubuntu] gtk+ problems



gzpu
October 3rd, 2010, 12:49 PM
Hello, I am new to the forums and new to ubuntu in overall. I've been trying to setup GTK+ to work but its not working. I am getting errors such as:


main.cpp:1:17: warning: gtk.h: No such file or directory
main.cpp:7: error: ‘gtk_init’ was not declared in this scope
main.cpp:8: error: ‘GTK_WINDOW_TOPLEVEL’ was not declared in this scope
main.cpp:8: error: ‘gtk_window_new’ was not declared in this scope
main.cpp:9: error: ‘gtk_widget_show’ was not declared in this scope
main.cpp:11: error: ‘gtk_main’ was not declared in this scope
main.cpp:12: error: expected primary-expression before ‘)’ tokenI have GTK+ installed, and I know where the header files are. I've even configured NetBeans to search in appropriate folders. I am using NetBeans 6.9.1.