[ptx] how to build hugin (and vigra) with fftw3

Emmanuel Favre-Nicolin emmanuel at favre-nicolin.net
Thu Jun 24 08:58:46 BST 2004


Le jeudi 24 Juin 2004 09:24, Emmanuel Favre-Nicolin a écrit :
> Hi,
>
> I'm trying to build vigra and hugin. The problem is that on mandrake there
> are not anymore fftw but it is fftw3 (or 2). I'd like to know if someone
> knows if thats posss ible and if yes how has it to be done? (I heard that a
> simple symlink fftw3.h to fftw.h may do the stuff but is it a clean way?)

anyway I 've got errors before reaching fftw things (I think) during building. 
Here I put the first errors :

    ---- Compiling ImageGraph.cpp (C++)
g++ -I. -I../include -Wall -O2 -I../   -c -o .obj/ImageGraph.o ImageGraph.cpp
    ---- Compiling Stitcher.cpp (C++)
g++ -I. -I../include -Wall -O2 -I../   -c -o .obj/Stitcher.o Stitcher.cpp
../include/vigra_impex2/impex.hxx: In function `void 
vigra_impex2::exportScalarImage(SrcIterator, SrcIterator, SrcAccessor, const 
vigra_impex2::ImageExportInfo&, vigra::VigraTrueType) [with SrcIterator = 
vigra::ConstBasicImageIterator<unsigned char, unsigned char**>, SrcAccessor = 
vigra::StandardConstValueAccessor<unsigned char>]':
../include/vigra_impex2/impex.hxx:1021:   instantiated from `void 
vigra_impex2::exportScalarImage(SrcIterator, SrcIterator, SrcAccessor, const 
vigra_impex2::ImageExportInfo&) [with SrcIterator = 
vigra::ConstBasicImageIterator<unsigned char, unsigned char**>, SrcAccessor = 
vigra::StandardConstValueAccessor<unsigned char>]'
../include/vigra_impex2/impex.hxx:1037:   instantiated from `void 
vigra_impex2::exportImage(SrcIterator, SrcIterator, SrcAccessor, const 
vigra_impex2::ImageExportInfo&, vigra::VigraTrueType) [with SrcIterator = 
vigra::ConstBasicImageIterator<unsigned char, unsigned char**>, SrcAccessor = 
vigra::StandardConstValueAccessor<unsigned char>]'
../include/vigra_impex2/impex.hxx:1115:   instantiated from `void 
vigra_impex2::exportImage(SrcIterator, SrcIterator, SrcAccessor, const 
vigra_impex2::ImageExportInfo&) [with SrcIterator = 
vigra::ConstBasicImageIterator<unsigned char, unsigned char**>, SrcAccessor = 
vigra::StandardConstValueAccessor<unsigned char>]'
../include/vigra_impex2/impex.hxx:1123:   instantiated from `void 
vigra_impex2::exportImage(vigra::triple<Iterator, Iterator, Accessor>, const 
vigra_impex2::ImageExportInfo&) [with SrcIterator = 
vigra::ConstBasicImageIterator<unsigned char, unsigned char**>, SrcAccessor = 
vigra::StandardConstValueAccessor<unsigned char>]'
../include/PT/Stitcher.h:406:   instantiated from `void 
PT::WeightedStitcher<ImageType, AlphaType>::stitch(const 
PT::PanoramaOptions&, PT::UIntSet&, const std::string&) [with ImageType = 
vigra::BImage, AlphaType = vigra::BImage]'
Stitcher.cpp:53:   instantiated from `void stitchPanoIntern(const 
PT::Panorama&, const PT::PanoramaOptions&, utils::MultiProgressDisplay&, 
const std::string&) [with ImageType = vigra::BImage, AlphaType = 
vigra::BImage]'
Stitcher.cpp:200:   instantiated from here
../include/vigra_impex2/impex.hxx:1011: error: no type named `isSigned' in 
`struct vigra::NumericTraits<unsigned char>'
../include/vigra_impex2/impex.hxx:1012: error: no type named `isSigned' in 
`struct vigra::NumericTraits<unsigned char>'


Do anyone know what's my problem?

> regards,
> Emmanuel.


More information about the ptX mailing list