[ptx] Compiling vigra (was:faster stitcher)

Pablo d'Angelo pablo at mathematik.uni-ulm.de
Tue Nov 25 11:58:03 GMT 2003


On Tue, 25 Nov 2003, Bruno Postle wrote:

> 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)

can you send a backtrace of that crash? could also be a problem
in the stitcher.

> Is vigra supposed to be statically linked?:
> 
> ldd /usr/lib/libvigraimpex.so.2.0.120 
>         statically linked

I'm not sure, but it looks like it is on my system as well:
island.wh-wurm.uni-ulm.de$ ldd /usr/lib/libvigraimpex.so.2.0.120
        statically linked
island.wh-wurm.uni-ulm.de$


ciao
  Pablo
--
http://wurm.wohnheim.uni-ulm.de/~redman/
Please use PGP


More information about the ptX mailing list