:undefined reference to 'gtk_main'
Just wondering if someone could help me with a problem I have been stuck with for a while...
Used Glade, wrote source code, then had to write
g++ main.cpp -I/usr/include/gtk-1.2/ -I/usr/include/glib-1.2/ -I/usr/lib/glib/inlude
to get g++ to see all include files I needed.
Problem is, although g++ seems to see these files, it doesn't seem to read what is in them, so I get the following types of errors...
/tmp/ccQkejiA.o(.text+0xbc): in function 'main':
:undefined reference to 'gtk_main'
Any help would be appreciated.
- The Yeti Lives
|