On Wed, 21 Feb 2007 18:03:48 -0800 (PST) Tricia wrote: > > I tried the order you suggested: > > $ g++ main.cpp helloworld.cpp `pkg-config gtkmm-2.4 --cflags --libs` -o main > : No such file or directory > That's a little odd - error messages with a : in the very first column usually indicate some bizarreness
> > I don't think a typo on the filenames is the issue either. the files in > this directory: > $ ls > Makefile helloworld.cpp helloworld.h main.cpp simple.cc > > Thanks for the advice. Anything else I could try? I would try issuing the pkg-config command by itself : $ pkg-config gtkmm-2.4 --cflags --libs This will show you what is being passed to the compiler as options. If there's something wrong with this command you may get garbage that the compiler sees as an invalid path. You should get a long list of options of the form "-I/usr/include/..." and "-lname" (For what it's worth, I believe the original advice about order of compiler arguments to be erroneous) _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
