Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » GTKMM (How to put it work with Eclipse and CDT)
GTKMM (How to put it work with Eclipse and CDT) [message #143026] Fri, 08 April 2005 17:42 Go to next message
Eclipse UserFriend
Originally posted by: esales.fabricaweb.com.br

Gentlemem,

When I use the command line to compile a simple gtkmm C++ programm I get
no erros, but I haven't sucess using Eclipse + CDT. So I need help.
Somebody knows what exactly fields do I need fill in the project
properties to put this work fine?

A fellow put this mesage on 2005/January... But, didn't get a answer...
============================================================ =================
How do you use pkg-config from a managed C++ project,
like say you want to include all libraries and headers from
gtkmm or another lib via pkg-config instead of adding them all manually?

No matter where you put the pkg-config lib --cflags --libs
in the managed C++ options it never has it in the right place when it
compiles. I tried misc, actually I tried putting pkg-config everywhere.
Absolutely nothing works.

I always have to write my own makefiles for now.

Please advise.
============================================================ =================
Re: GTKMM (How to put it work with Eclipse and CDT) [message #143036 is a reply to message #143026] Fri, 08 April 2005 19:07 Go to previous message
Eclipse UserFriend
Originally posted by: janst_nwgs.freenet.de

It helped me to put the whole line

=> `pkg-config --cflags --libs gtk+-2.0` `pkg-config gtkmm-2.4 --libs
=> --cflags`

to Projects->Properties->Tool Settings->Miscellanous->other flags
plus adding the (MY) include paths
/usr/include/gtkmm2-4
/usr/include/gtk
to Projects->Properties->Tool Settings->Directories.

This really should help, if not check back..!
Greetings Jan
Previous Topic:Help with remote debugging
Next Topic:Referenced projects/multiple projects tutorial
Goto Forum:
  


Current Time: Sun May 11 19:18:40 EDT 2025

Powered by FUDForum. Page generated in 0.04522 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top