PDA

View Full Version : 3.0 gtk/gtk.h build errors



bvanevery
03-18-2013, 03:20 PM
Having solved the Sounds/Makefile.in problem, most of the build works but I get the following error:

In file included from Components/savefiledialog.cpp:31:0:
Components/filedialog_impl.h:35:21: fatal error: gtk/gtk.h: No such file or directory

In configure.ac I notice the following line that tests for GTK3 has been commented out.

dnl CLANLIB_CHECK_LIB(gtk, [`cat $srcdir/Setup/Tests/gtk.cpp`], clanGUI, [ *** Cannot find gtk 3 (Try libgtk-3-dev or better) ], [`pkg-config gtk+-3.0 --libs` ], [ `pkg-config gtk+-3.0 --cflags`])

Uncommenting it results in further errors.

rombust
03-19-2013, 07:54 AM
Yeah, we are still figuring out a better way of doing it. Hopefully using the dlopen() command.

That line was commented out because it required fixing. It should be an optional requirement.