[Anjuta-list] Static Linking with wxGTK
- From: Marvin Massih <anjuta-ml groenndemon de>
- To: anjuta-list lists sourceforge net
- Subject: [Anjuta-list] Static Linking with wxGTK
- Date: Sun May 8 07:24:37 2005
Hi,
I thought Anjuta sounded like a very cool thing, so I decided to try
it out.
I installed it via "emerge anjuta" on my Gentoo system and created a
new wxGTK project, since I also wanted to try out wxGTK. Anjuta then
created a lot of autoconf and automake files (I still haven't found out
*how* that configure script is created).
Anyway, "make" fails because it demands libwx_gtk2u-2.4.a:
g++ -Wall -g -o wxtest main.o -pthread -Wl,--export-dynamic -pthread
/usr/lib/libwx_gtk2u-2.4.a /usr/lib/libgtk-x11-2.0.so
/usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangoxft-1.0.so
/usr/lib/libpangox-1.0.so /usr/lib/libgthread-2.0.so -lpthread -lpng
/usr/lib/libtiff.so /usr/lib/libjpeg.so
//usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so
-L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib -lz
/usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so -lm
/usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libglib-2.0.so -Wl,--rpath
-Wl,//usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130 -Wl,--rpath
-Wl,//usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130
g++: /usr/lib/libwx_gtk2u-2.4.a: No such file or directory
Obviously make was told to use the static library, which seems to be
missing on my system.
What can I do now? How can I tell Anjuta to use the dynamic libraries
instead?
I don't really feel like learning automake and autoconf first...
TIA
-Marvin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]