[CMake] Combine GTK with a Cmake Project

Hendrik Sattler post at hendrik-sattler.de
Tue Oct 18 08:50:29 EDT 2011


Please keep the discussion on-list!

On Tue, 18 Oct 2011 14:23:37 +0200, David Boesner wrote:
> i read that in an errormessage as i was trying make

That is quite unclear. Can you be a bit more verbose?

> 2011/10/18 Hendrik Sattler <post at hendrik-sattler.de>
>
>> On Tue, 18 Oct 2011 14:13:35 +0200, David Boesner wrote:
>>
>>> i wanted to use pkg-config, but that is expired
>>>
>>
>> Where did you read that? There is still a pkg-config file:
>> /usr/lib/pkgconfig/gtk+-3.0.pc
>>
>> Please keep the discussion on-list.
>>
>>
>>  2011/10/18 Hendrik Sattler <post at hendrik-sattler.de>
>>>
>>>  On Tue, 18 Oct 2011 14:07:28 +0200, David Boesner wrote:
>>>>
>>>>  The error is, that gtk/gtk.h is not found
>>>>>
>>>>>
>>>> Path of that file in Debian: /usr/include/gtk-3.0/gtk/gtk.h
>>>>
>>>> So you may want to give CMake a hint to /usr/include/gtk-3.0.
>>>> But this path can change. So you may want to consider to use 
>>>> pkg-config.



More information about the CMake mailing list