On 2013-05-01 10:46 +0200, [email protected] wrote:
> before this time i was using for compilling my gtk applications next command:
> #gcc myprogram.c `pkg-config gtk+-3.0.pc --libs --cflags`
> but now it doesnt work:
I don't think that this ever worked, really. You need to strip the
trailing ".pc", as mentioned in the pkg-config manpage:
,----
| The package name specified on the pkg-config command line is defined to
| be the name of the metadata file, minus the .pc extension.
`----
> Failed to open 'gtk+-3.0.pc': No such file or directory
> No package 'gtk+-3.0.pc' found
>
> but i have installed gtk+-3.0.pc file in
> /usr/lib/i386-linux-gnu/pkgconfig/gtk+-3.0.pc
>
> Why the file placed in such strange place (not in /usr/lib/pkgconfig/)?
For Multi-Arch, so that multiple instances of libgtk-3-dev are
coinstallable.
> And how do i can avoid problem with searching for gtk+-3.0.pc?
Use "pkg-config gtk+-3.0".
Cheers,
Sven
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]