[ptx] Compiling vigra (was:faster stitcher)
Bruno Postle
bruno at postle.net
Tue Nov 25 11:50:19 GMT 2003
On Tue 25-Nov-2003 at 07:05:13AM +0100, Kai-Uwe Behrmann wrote:
> .. and right jpeg/png lib for both the stitcher and libvigraimpex.a ?
This might be the problem, will have to investigate later.
> # vigra-config --libs
> -L/tmp/RPMS/vigra1.2.0/lib -lvigraimpex -lm -ltiff -ljpeg -lpng -lz
-L/usr/lib -lvigraimpex -lm -ltiff -ljpeg -lpng -lz
On fedora-1 vigra builds ok, though both the stitcher and the vigra
examples segfault when trying to read images.
I just rebuilt it on redhat-9 and the vigra examples are fine,
though the stitcher core dumps:
stitcher junk.pto junk
Panorama obj created
output image size: 300x289
loading image foo.JPG
remapping foo.JPG
loading image knossos.JPG
remapping knossos.JPG
merging imagesAborted (core dumped)
Is vigra supposed to be statically linked?:
ldd /usr/lib/libvigraimpex.so.2.0.120
statically linked
ldd /usr/bin/stitcher
libpano12.so => /usr/lib/libpano12.so (0x4002f000)
libvigraimpex.so.2 => /usr/lib/libvigraimpex.so.2 (0x40066000)
libtiff.so.3 => /usr/lib/libtiff.so.3 (0x400b4000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400f5000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40113000)
libz.so.1 => /usr/lib/libz.so.1 (0x40136000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40144000)
libm.so.6 => /lib/tls/libm.so.6 (0x401f8000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4021a000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
--
Bruno
More information about the ptX
mailing list