[Therion] Patch for wx2.8 and 64-bit issues

Christian Rößler (Roessler) chr_rossi at kartan.de
Fri Nov 16 00:20:40 CET 2007


Am Donnerstag, 15. November 2007 21:46 schrieb Stacho Mudrak:

> As far as I know - all patches from the mailing list have been applied.

Ah, good!

> At least in the latest developement snapshot (downloadable from our
> therion web site) - this should be the case. Could you please try this
> one and not 0.5.1?

I am a bit confused: I tried the one from 
<http://therion.speleo.sk/download.php>, which says 
<http://therion.speleo.sk/downloads/therion-0.5.1.tar.gz>. Is this not the 
one I should upgrade to?

> > I have read about the need to upgrade to therion 0.5.1. So I am busy at
> > work compiling. Unfortunately it fails with the line
> > | lxRender.cxx:(.text+0x59a): undefined reference to `vtk_png_write_end'
> Which OS do you use?

Linux Suse 10.1, 2.6.16.27, x86_64. 

> It looks, like you are missing libpng. How did you 
> installed VTK? Do you have "libpng-devel" package installed in your system?

Installed are: libpng-32bit-1.2.8-19.5, libpng-devel-1.2.8-19.9, and 
libpng-1.2.8-19.5. VTK is vtk-5.0.3, compiled, in /usr/local.I have linked it 
from /usr/include/vtk-5.0 to /usr/local/include/vtk-5.0. But I have noticed I 
have deleted a link from /usr/include/png.h to /usr/include/libpng12/... , 
perhaps.

> make config-linux
> make config-debian
> seems to work. Which one do you use?

I use make config.linux.

Well, I also made sure I have installed the 32-bet-devels also, and now it 
outputs (and perhaps before, made an 'ldconfig' also:

| c++ -o loch -Wall lxR2P.o lxTR.o lxOGLFT.o lxSetup.o lxRender.o lxWX.o
| lxImgIO.o lxLRUD.o lxFile.o lxData.o lxMath.o lxSView.o lxSScene.o lxGUI.o
| lxGLCo.o lxGLCs.o lxOptDlg.o lxAboutDlg.o img.o
| -L/usr/lib64 /usr/lib64/libwx_gtk2u_gl-2.8.a -lGL -lGLU -L/usr/lib64
| -pthread   -L/usr/X11R6/lib64   /usr/lib64/libwx_gtk2u-2.8.a -pthread
| -L/usr/X11R6/lib64 -L/opt/gnome/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
| -lgdk_pixbuf-2.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lfreetype
| -lfontconfig -lXrender -lX11 -lXext -lpng12 -lz -lglitz -lm -lgthread-2.0
| -lglib-2.0 -lXinerama -lXxf86vm -lSM -lpng -lz -ljpeg -ltiff -lwxregexu-2.8
| -lz -ldl -lm  -L/usr/local/include/vtk-5.0/lib/vtk -lvtkHybrid -lvtkImaging
| -lvtkIO -lvtkGraphics -lvtkFiltering -lvtkCommon -lvtkjpeg -lvtkpng
| -lvtkzlib -lfreetype -lpthread -lz  -s           
| /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld:
| skipping incompatible /usr/lib/libpng12.so when searching for -lpng12  
| /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld:
| skipping incompatible /usr/lib/libpng12.a when searching for -lpng12  
| /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld:
| cannot find -lpng12  
| collect2: ld returned 1 exit status
| make[1]: *** [loch] Fehler 1 
| make[1]: Leaving directory `/home/chr/downloads/therion/loch'
| make: *** [loch/loch] Fehler 2 

...and I wonder about the 'ld: skipping incompatible'.

Best regards,
Christian



More information about the Therion mailing list