Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-05-2016, 02:39 AM   #1
LQ Newbie
Registered: Oct 2016
Location: Bangalore,India
Posts: 1

Rep: Reputation: Disabled
how to setup eclipse to use gtkmm under linux with c++


Am newbie to linux...

Can anyone tell me how to setup eclipse to use gtkmm under linux fedora23 with c++ ?


Old 10-09-2016, 03:15 PM   #2
Registered: Mar 2008
Location: NRW, Germany
Distribution: Arch Linux, using KDE/Plasma
Posts: 392

Rep: Reputation: 49
If you already configured CMake (which I would strongly recommend) or another build tool to find gtkmm and compile your project, eclipse should not make problems.
If you do depend on eclipse:
Call 'pkg-config --libs gtkmm' in a terminal. If it can't find gtkmm, find the right package with 'pkg-config --list-all | grep -i gtk'.
Then call 'pkg-config --cflags gtkmm' (replace gtkmm with correct package name).
pkg-config outputs compiler ("c") and linker ("libs") flags (as accepted by cc, g++, ld, ...), so you will have to put the output into the build parameters in eclipse. This is neither cross-platform nor adaptive to new gtkmm version, that's why this should be only a temporary solution.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
setup glib-2.0 on eclipse/netbeans ide tomer19 Linux - Embedded & Single-board computer 0 10-02-2014 01:44 PM
Setup ADT plugin in eclipse Genocide_Hoax Linux - Software 0 04-23-2012 03:18 PM
Linux and eclipse. With an eclipse problem cajunchief Linux - Software 14 10-12-2011 11:26 PM
LXer: Android App Build Environment Setup With Eclipse, PhoneGap (Ubuntu 11.04) LXer Syndicated Linux News 0 06-28-2011 09:50 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration