Re: [gtkmm] please help me compile helloworld.cc



Hi Daniel, yes, i can build plain gtk+ programs. If these versions aren't a problem i'd like to see-this-through and maybe later attempt gtk2, but for now, gtk-1.2. Thanks

Daniel wrote:

[ccosse fermi src]$ make
g++ -DPACKAGE=\"hello\" -DVERSION=\"1.0\" -I. -I. -I/usr/include -I/usr/lib/gtkmm/include/ -I/usr/include/gtk-1.2 -I/usr/include/glib-2.0/ -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-1.0 -c helloworld.cc g++ -o hello helloworld.o -rdynamic -L/usr/lib -L/usr/X11R6/lib -L/usr/lib -lgtkmm -lgdkmm -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lsigc -lpthread

It seems like your compiler tries to include glib-2.0, gtk-1.2 and sigc++-1.0...

Looks like you have a problem with your Gtk+ installation. Do you want to build for gtk-1.2 or gtk2?
Can you build a plain gtk+ program?

/Daniel






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]