Couldn't link my app with GTK+ 3
- From: Mike <zhtx10 gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Couldn't link my app with GTK+ 3
- Date: Mon, 31 Jan 2011 16:03:04 +0800
OS: Fedora 14 x86_64
GCC: 4.5.1 20100924
I have a app project, use GTK+2.
I want to move it to GTK+3.
So I git clone latest glib.
Compiled them.
(I use GTK3 in mirror, not compile by myself)
(Point to GTK+3 in Makefile)
GCC Prints:
* CCLD gkiu
*
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/../../../../lib64/libgtk-x11-3.0.so:
undefined reference to `g_application_add_action'
*
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/../../../../lib64/libgtk-x11-3.0.so:
undefined reference to `g_application_set_action_enabled'
*
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/../../../../lib64/libgtk-x11-3.0.so:
undefined reference to `g_application_get_type'
*
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/../../../../lib64/libgtk-x11-3.0.so:
undefined reference to `g_application_quit_with_data'
*
/usr/lib/gcc/x86_64-redhat-linux/4.5.1/../../../../lib64/libgtk-x11-3.0.so:
undefined reference to `g_application_run'
* collect2: ld returned 1 exit status
May be I must to compile latest GTK+ by myself?
(Sorry for my poor English.)
--
Mike.
Blog: http://ekd123.is-programmer.com/
Fedora Project Contributor.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]