Re: help required

Hi keerthi bs.

i coudnt understand the usage and the need for pkg-config
and why should i include `pkg-config --clibs -- gtk+-2.0' while
compiling gtk programs each and every time..
any soln for this..?
thanking in regards..

pkg-config --clibs --gtk+2.0 just specify the place of your library on your

You can replace `pkg-config --clibs -- gtk+-2.0' by your library's path...

`pkg-config --clibs -- gtk+-2.0' returns the path on your system rather than
hard-coding values on where to find the libraries.

Hard code values will maybe not work on another system (where the library
path is different)

I hope this will answer your question.

Thibault Duponchelle.

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