[Glade-users] compiling flags (gtk2 --> gtk3)
- From: pdbuchan at yahoo.com (David Buchan)
- Subject: [Glade-users] compiling flags (gtk2 --> gtk3)
- Date: Sat, 22 Oct 2011 17:47:04 -0700 (PDT)
I recently formatted my drive and installed the latest Ubuntu distribution of glade
and I installed libgtk-3-dev.
In my make file, I used to have:
CCFLAGS = `pkg-config --cflags gtk+-2.0 gmodule-2.0`
LIBS??? = `pkg-config --libs?? gtk+-2.0 gmodule-2.0`
I've changed it to:
CCFLAGS = `pkg-config --cflags gtk+-3.0 gmodule-2.0`
LIBS??? = `pkg-config --libs?? gtk+-3.0 gmodule-2.0`
I left the gmodule as 2.0, as it couldn't find 3.0
I made no changed to my source code.
It compiles but won't link. I bombs with tons of errors such as:
/x.c:43: undefined reference to `g_threads_got_initialized'
/x.c:44: undefined reference to `g_thread_init'
/x.c:46: undefined reference to `gtk_init'
/x.c:49: undefined reference to `g_malloc0'
etc etc...
What am I doing wrong?
Any tips would be appreciated.
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20111022/47d6a1cc/attachment.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]