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
Re: compile & link gtk+ using theide [message #4951 is a reply to message #4933] Sun, 27 August 2006 20:23 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14257
Registered: November 2005
Ultimate Member
3togo wrote on Sat, 26 August 2006 08:52

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


` ` means "insert stdout of program into commandline", right?

Sorry, this is not supported by GCC builder - you would have to insert all of these includes and libraries manually....

Mirek
 
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: Mon May 12 15:36:49 CEST 2025

Total time taken to generate the page: 0.03034 seconds