[ptx] Compile problems in conjuction with wxgtk
Christian Schmitt
chrissschmitt at web.de
Wed Jul 28 19:56:45 BST 2004
Hi guys!
I have downloaded the latest cvs version of hugin. Since I have a LFS
system, I have to compile all the dependencies of hugin by hand. But I
have trouble to get the xrc extension of wxgtk to work. I am using
version 2.4.2 and followed the instructions of the INSTALL file of
hugin. The main part of wxgtk compiles and installs without any
problems, but the contrib dir makes problems. The INSTALL instructions
tell me to cd contrib, configure and make. But make doesn't work in this
dir. I have to cd to contrib/src/xrc to start make. But before this I
must apply the following patch:
--- wxGTK-2.4.1/contrib/src/xrc/Makefile.in 2003-09-09
16:46:13.468009816 +0100
+++ wxGTK-2.4.1/contrib/src/xrc/Makefile.in 2003-09-09
16:46:50.065446160 +0100
@@ -17,7 +17,9 @@
HEADER_SUBDIR=xrc
EXPAT_DEFS=-I$(expat_dir)/xmlparse -I$(expat_dir)/xmltok
-EXPAT_OBJECTS=xmltok.o xmlrole.o xmlparse.o
+EXPAT_OBJECTS=$(expat_dir)/xmltok/xmltok.o \
+ $(expat_dir)/xmltok/xmlrole.o \
+ $(expat_dir)/xmlparse/xmlparse.o
HEADERS=xh_all.h xh_bttn.h xh_chckb.h xh_chckl.h xh_choic.h xh_combo.h \
xh_dlg.h xh_gauge.h xh_html.h xh_menu.h xh_notbk.h xh_panel.h \
Without it I get the following error:
make: *** No rule to make target `xmltok.o', needed by
`../../../lib/lib_xrc-.so...'. Stop.
As you can already see in the above error message, the xrc-lib has a
very strange name. An that is my problem. When I go on now and compile
the xrc stuff, I end up with a lib called "lib_xrc-.so...". Hugin
doesn't like this:
---- Creating application hugin
/usr/bin/ld: cannot find -lwx_gtk_xrc-2.4
collect2: ld returned 1 exit status
make[2]: *** [hugin] Error 1
I don't know if this error is related to my xrc problem, but since my
knowledge about this stuff is very low, I hope that you can help me in
any way.
Best regards
Chris
More information about the ptX
mailing list