Actuall the documentation says that
g++ simple.cc -o simple `pkg-config gtkmm-2.4 --cflags --libs`
is the proper way to compile, it is in the documentation that comes with the 
installation
gtkmm/share/doc/gtkmm-2.4/tutorial/html/chapter-basics.html#sec-basics-simple-example
----- Original Message -----
From: [email protected]
Sent: 02/09/13 03:06 PM
To: Doesnt Stop
Subject: Re:

2013/2/9 Doesnt Stop <[email protected]>: > g++.exe `pkg-config gtkmm-2.4 
--cflags` `pkg-config gtkmm-2.4 --libs` -o dist/Debug/MinGW-Windows/welcome_1 
build/Debug/MinGW-Windows/welcome.o This is wrong. The library flags should 
always come after the object files. The GCC linker will not resolve 
back-references, e.g. references to files that were earlier on the commandline, 
so you have to put the library flags after the object file. Regards, Krzysztof
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to