[ptx] Compiling hugin under debian woody

Frederic frederic at gbiloba.org
Fri Dec 19 12:19:41 GMT 2003


Hi there,

I have little problems compiling hugin_2003_12_14-02_58.tgz with vigra1.2.0:

g++ -I. -I../include -Wall -O2 -I../ -I/usr/local/include    -c -o .obj/Panorama.o Panorama.cpp
Panorama.cpp: In method `struct FDiff2D PT::Panorama::calcFOV() const':
Panorama.cpp:297: `ios_base' undeclared (first use this function)
Panorama.cpp:297: (Each undeclared identifier is reported only once
Panorama.cpp:297: for each function it appears in.)
Panorama.cpp:297: parse error before `::'
Panorama.cpp:298: invalid operands `ofstream ()(...)' and `ostream & ()(ostream &)' to binary `operator <<'
Panorama.cpp:306: implicit declaration of function `int round(...)'
Panorama.cpp:331: no match for `ofstream (&)(...) << FDiff2D &'
/usr/local/include/vigra/diff2d.hxx:1230: candidates are: class ostream & operator <<(ostream &, const vigra::Diff2D &)
/usr/local/include/vigra/diff2d.hxx:1237:                 class ostream & operator <<(ostream &, const vigra::Size2D &)
/usr/local/include/vigra/diff2d.hxx:1244:                 class ostream & operator <<(ostream &, const vigra::Rect2D &)
../include/common/math.h:66:                              class ostream & operator <<(ostream &, const FDiff2D &)
Panorama.cpp:334: request for member `close' in `debug_out', which is of non-aggregate type `ofstream ()(...)'
Panorama.cpp: In method `void PT::Panorama::copyLensVariablesToImage(unsigned int)':
Panorama.cpp:1041: warning: unused variable `unsigned int nImages'

and:

g++ -I. -I../include -Wall -O2 -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I../  -I/usr/local/include    -c -o .obj/ImagesList.o ImagesList.cpp
ImagesList.cpp: In method `void ImagesList::createIcon(wxBitmap &, unsigned int, unsigned int)':
ImagesList.cpp:138: implicit declaration of function `int nearbyint(...)'

Any idea ?

-- 
   Frederic

   http://www.gbiloba.org



More information about the ptX mailing list