[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Eclipse and Gtkmm

Currently you have to add numerous include and library paths and library files manually. This was recently discussed at http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg21468.html. If they let me implement pkg-config support in Google Summer of Code things will get better after the summer (easy and fast automation).

Here's the instructions what you need to do at the moment:

You need to run pkg-config on the bin subfolder of your gtkmm directory (via command prompt).

This command outputs all necessary include paths.
pkg-config --cflags gtkmm-2.4

Add paths with "-I" to Project Properties -> C/C++ Build -> Settings -> GCC C Compiler -> Includes

This command outputs all necessary library search paths and library files.
pkg-config --libs gtkmm-2.4

Add paths with "-l" (libraries) "-L" (library search path) to Project Properties -> C/C++ Build -> Settings -> MinGW C Linker -> Libraries

More descriptive information at http://irkedrants.blogspot.com/2011/02/configuring-eclipse-to-compile-gtk.html.

Petri

On 31.3.2011 6:02, ArbolOne wrote:
Ok, I have Eclipse up and running using MinGW's compiler (GCC/GDB). Now I would like to add GTKmm toolkit library to Eclipse, what do I have to do?

Eclipse-64 IDE for C/C++ Developers
Version: Helios Service Release 1
Build id: 20100917-0705


Thanks folks
-- 
All things in life are temporary.  If going well enjoy it, they will not last forever. If going wrong don’t worry, they can't last long either.  
_______________________________________________ cdt-dev mailing list cdt-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/cdt-dev