Hi,
Make sure that your
PKG_CONFIG_PATH points to the directory which contains the
pc-files.
Can you really use the gcc command when you
cross-compile ? To make sure that it is the
cross-compiler that is used I suggest
you use another name for it.
When I compile I have to
write `pkg-config --cflags gtk+-2.0 --libs
gtk+-2.0` instead of
`pkg-config --cflags --libs gtk+-2.0`.
magnus m
----- Original Message -----
Sent: Wednesday, November 29, 2006 12:30
PM
Subject: gtk cross compilation
Hi All,
is there any documentaion for gtk+ cross
compilation for arm boards.
or is there any clues for the following
error.
[root localhost ~]# /root/arm/usr/arm-linux/bin/gcc -o hello
helloworld.c `pkg-config --cflags --libs
gtk+-2.0`
/root/arm/usr/bin/../lib/gcc/arm-linux/4.0.0/../../../../arm-linux/bin/ld:
cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit
status
With regds,
Shyjumon N
Mobile:
+91-9945006965
The information contained in this e-mail message and in any annexure is
confidential to the recipient and may contain privileged information. If
you are not the intended recipient, please notify the sender and delete the
message along with any annexure. You should not disclose, copy or otherwise
use the information contained
in the message or any annexure. Any views
expressed in this e-mail are those of the individual sender except where the
sender specifically states them to be the views of SoCrates Software India Pvt
Ltd., Bangalore.
_______________________________________________
gtk-list mailing
list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list