Kotlin/Native GTK Interop

236 views Asked by At

I have a def file

File contents:

headers = gtk/gtk.h
package = gtk
headerFilter = gtk/* gobject/* gio/* gdk/* glib/* gdk-pixbuf/*

compilerOpts = -I/usr/include/ -I/usr/include/gtk-3.0/ -I/usr/include/x86_64-linux-gnu/ -I/usr/include/glib-2.0
linkerOpts = -lgtk -L/usr/lib/x86_64-linux-gnu/

I'm currently stuck at an error of

Exception in thread "main" java.lang.Error: /usr/include/glib-2.0/glib/gtypes.h:32:10: fatal error: 'glibconfig.h' file not found

What am I doing wrong?

0

There are 0 answers