Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » compile & link gtk+ using theide
BugQuestion.gif  compile & link gtk+ using theide [message #4933] Sat, 26 August 2006 14:52 Go to previous message
3togo is currently offline  3togo
Messages: 83
Registered: May 2006
Location: Hong Kong SAR
Member
Could anyone tell me how to config "theide" to compile and link with a gtk+-2.0 library.

I know how to compile and link a program in command line like

>gcc -P -w -O0 -g3 -Wall -fmessage-length=0 -c eggtrayicon.c -o bin/eggtrayicon.o `pkg-config gtk+-2.0 --cflags`

But where shall "pkg-config gtk+-2.0 --cflags" be placed within theide.


>pkg-config gtkmm-2.4 gtk+-2.0 --cflags --libs
-I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/atk-1.0 -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lpangomm-1.4 -lcairomm-1.0 -lglibmm-2.4 -lsigc-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
 
Read Message BugQuestion.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Linux Source Package: upp-src-608-dev1.tar.bz2
Next Topic: problem with makefile (Linux)
Goto Forum:
  


Current Time: Sat Jun 08 11:06:38 CEST 2024

Total time taken to generate the page: 0.01933 seconds