[ptx] faster stitcher

Bruno Postle bruno at postle.net
Mon Nov 24 00:20:23 GMT 2003


On Sun 23-Nov-2003 at 01:29:34AM +0100, Pablo d'Angelo wrote:
> 
> the configure script should detect if vigra is installed and compile
> the stitcher only if vigra is found. The detection is probably fragile.

Compilation of the stitcher fails for me:

    ---- Creating dependencies
makedepend  -I. -I../include -Wall -O2   -p .obj/ -DDEPEND -f- *.cpp > Makefile.depend 2>/dev/null
    ---- Compiling stitcher.cpp (C++)
g++ -I. -I../include -Wall -O2   -c -o .obj/stitcher.o stitcher.cpp
In file included from ../include/PT/PanoToolsInterface.h:30,
                 from ../include/PT/SimpleStitcher.h:31,
                 from stitcher.cpp:32:
../include/PT/Panorama.h: In member function `const PT::PanoImage&
   PT::Panorama::getImage(unsigned int) const':
../include/PT/Panorama.h:222: error: `assert' undeclared (first use this
   function)
../include/PT/Panorama.h:222: error: (Each undeclared identifier is reported
   only once for each function it appears in.)
../include/PT/Panorama.h: In member function `void
   PT::Panorama::setImage(unsigned int, PT::PanoImage)':
../include/PT/Panorama.h:229: error: `assert' undeclared (first use this
   function)
../include/PT/Panorama.h: In member function `const PT::ControlPoint&
   PT::Panorama::getCtrlPoint(unsigned int) const':
../include/PT/Panorama.h:242: error: `assert' undeclared (first use this
   function)


I have vigra built with "--prefix=/usr":

> vigra-config --version
1.2.0
> vigra-config --target
i686-pc-linux-gnu
> vigra-config --impex-lib
-L/usr/lib -lvigraimpex -lm   -ltiff  -ljpeg  -lpng  -lz
> vigra-config --fftw-lib
 -lfftw
> vigra-config --rfftw-lib
-L -lrfftw -lfftw
> vigra-config --cppflags
-I/usr/include

-- 
Bruno


More information about the ptX mailing list