Re: Problem while adding picture....
- From: Owen Taylor <otaylor redhat com>
- To: Anish Chandran <anishchandru iamwaiting com>
- Cc: gtk-app-devel-list gnome org, gtk-devel-list gnome org
- Subject: Re: Problem while adding picture....
- Date: Mon, 05 Jan 2004 10:16:25 -0500
A) This is not the right list for questions about programming
with GTK+. http://www.gtk.org/mailinglists.html
B) You can't use gdk_imlib with GTK+ 2.0. Use gdk-pixbuf, which
is standard.
Regards,
Owen
On Mon, 2003-12-22 at 23:41, Anish Chandran wrote:
> Hi I got the following error when i tired to put a picture in the page of
> the note book can any one tell me the reason....
>
> g++ -c -Iinclude -Wall -g `pkg-config --cflags gtk+-2.0` `test -f
> 'main.cpp' || echo '/'`main.cpp
> g++ -c -Iinclude -Wall -g `pkg-config --cflags gtk+-2.0` `test -f '
> cdlg.cpp' || echo '/'` cdlg.cpp
> g++ -c -Iinclude -Wall -g `pkg-config --cflags gtk+-2.0` `test -f '
> capp.cpp' || echo '/'` capp.cpp
> g++ -o amp main.o cdlg.o capp.o `pkg-config --libs gtk+-2.0` -lgdk_imlib
> /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libgdk_imlib.so: undefined
> reference to `gdk_gc_destroy'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libgdk_imlib.so: undefined
> reference to `gdk_window_get_visual'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libgdk_imlib.so: undefined
> reference to `gdk_window_get_size'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libgdk_imlib.so: undefined
> reference to `gdk_pixmap_unref'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libgdk_imlib.so: undefined
> reference to `gdk_root_parent'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libgdk_imlib.so: undefined
> reference to `gdk_draw_pixmap'
> collect2: ld returned 1 exit status
> make: *** [amp] Error 1
>
>
> Thank you in advance
>
> Anish Chandran
>
> _____________________________________________
> Free email with personality! Over 200 domains!
> http://www.MyOwnEmail.com
> Looking for friendships,romance and more?
> http://www.MyOwnFriends.com
>
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]