Re: Using gtk in eclipse CDT on fedora

Excerpts from Naidele Katrumane Manjunath (nkatruma)'s message of Thu Jul 15 20:50:32 +0200 2010:
> Hi,
> I am new to using eclipse CDT as well as gtk. 
> It would be really helpful if you could let me know about how to go
> about setting up eclipse for using gtk.
> (I want to know what libraries to add )

How to find out which libraries should be used?
a) pkg-config  --libs or such (make it print all available libs, then
   pick the gtk one)

b) create a cmake project and make it create Eclipse .project files
    ( google will help you )

You can add includes an libraries manually by pressing alt-enter on the
project in the porject explorer (or right mouse button -> properties).
Then click through the items. One is about extra flags for gcc etc.

Marc Weber

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]