View Full Version : Basic GTKMM Question
fatsheep
October 6th, 2006, 11:49 AM
What terminal command(s) would compile this simple hello world program (http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch03s06.html)?
kaamos
October 6th, 2006, 12:01 PM
g++ helloworld.cc main.cc -o helloworld `pkg-config gtkmm-2.4 --cflags --libs`
The package libgtkmm-2.4-dev is also needed (install with synaptic).
fatsheep
October 6th, 2006, 04:08 PM
Thanks a bunch. :)
Jessehk
October 6th, 2006, 08:23 PM
You'll notice that the answer to your question is in the very tutorial you linked to.
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch03.html#id2515969
fatsheep
October 6th, 2006, 10:51 PM
You'll notice that the answer to your question is in the very tutorial you linked to.
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ch03.html#id2515969
That shows how to compile a single file, not two.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.