[CMake] tried to use pkgcpnfig to compile my project
Alexander Neundorf
a.neundorf-work at gmx.net
Wed Oct 19 13:04:40 EDT 2011
On Wednesday 19 October 2011, David Boesner wrote:
> Hi
>
> I've tried to use pgkconfig to compile my project.
> I used this as an example:
> http://www.vtk.org/Wiki/CMake:How_To_Find_Libraries
> chapter 4.1
>
> I get the following Errormessage:
>
> fatal error: /gtk/gtk.h: Datei oder Verzeichnis nicht gefunden
I think including </gtk/gtk.h> is not good, the preprocessor probably
considers this an absolute path and doesn't search.
Try
#include <gtk/gtk.h>
Alex
More information about the CMake
mailing list