Hi,
I've tried to combine CMake with GTK. Unfortunately this didn't
work. Can you help me?
Regard
David
cmake_minimum_required(VERSION 2.8)
project (GUI)
add_executable(TEST test.c)
#find_package(libtpm-unseal-dev COMPONENTS tpm_unseal REQUIRED)
set( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
On 18.10.11 13:40:55, David Boesner wrote:
> Hi,
>
> I've tried to combine CMake with GTK. Unfortunately this didn't
> work. Can you help me?
What is the error? Did you look at the FindGTK2.cmake module to get
inspiration for a GTK3 module? Is there a particular reason to call the
module libgtk-3
The error is, that gtk/gtk.h is not found
2011/10/18 Andreas Pakulat
> On 18.10.11 13:40:55, David Boesner wrote:
> > Hi,
> >
> > I've tried to combine CMake with GTK. Unfortunately this didn't
> > work. Can you help me?
>
> What is the error? Did you look at the FindGTK2.cmake module to get
> i
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.
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
On Tue, 18 Oct 2011 14:07:28
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
On Tue, 18 Oct 2011 14:13:35 +0200, David Boesner wrote:
i wa
Which version of GTK? You might like to give us further details of your project
and the CMakeLists.txt file you are using.
Regards,
Matt Smith
--
http://www.blogistan.co.uk/blog/
David Boesner wrote:
Hi,
I've tried to combine CMake with GTK. Unfortunately this didn't
work. Can you