problems compiling hugin

Stefan M. Brandl smb at smbnet.de
Thu Oct 16 06:26:41 BST 2003


Hello,
when trying to compile hugin (0.3beta or 2003_10_14-00_13 snapshot),
I get the following errors:

make[3]: Leaving directory `/home/smb/hugin/src/hugin/po'
    ---- Compiling PanoToolsInterface.cpp (C++)
g++ -I. -I../include -Wall -O2 -I/opt/wxGTK-2.4.2/lib/wx/include/gtk-2.4 -I/opt/wxGTK-2.4.2/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I../   -c -o .obj/PanoToolsInterface.o PanoToolsInterface.cpp
PanoToolsInterface.cpp: In function `void PTools::setFullImage(Image&, 
   wxImage&, const PT::VariableMap&, PT::Lens::LensProjectionFormat, bool)':
PanoToolsInterface.cpp:133: `struct Image' has no member named `selection'
PanoToolsInterface.cpp:134: `struct Image' has no member named `selection'
PanoToolsInterface.cpp:135: `struct Image' has no member named `selection'
PanoToolsInterface.cpp:136: `struct Image' has no member named `selection'
PanoToolsInterface.cpp: In function `void PTools::createAdjustPrefs(aPrefs&, 
   TrformStr&)':
PanoToolsInterface.cpp:188: `struct adjust_Prefs' has no member named `
   interpolator'
../PanoImage/filter.h: In function `bool PTools::stitchImage(wxImage&, const 
   PT::Panorama&, std::set<unsigned int, std::less<unsigned int>, 
   std::allocator<unsigned int> >, const PT::PanoramaOptions&)':
../PanoImage/filter.h:647: too few arguments to function `void 
   MakePano(TrformStr*, aPrefs*, int, PTTriangle*, PTTriangle*)'
PanoToolsInterface.cpp:287: at this point in file
../PanoImage/filter.h: In function `bool PTools::mapImage(wxImage&, const 
   PT::Panorama&, unsigned int, const PT::PanoramaOptions&, bool)':
../PanoImage/filter.h:647: too few arguments to function `void 
   MakePano(TrformStr*, aPrefs*, int, PTTriangle*, PTTriangle*)'
PanoToolsInterface.cpp:319: at this point in file
make[2]: *** [.obj/PanoToolsInterface.o] Error 1



and when linking:

make[2]: Entering directory `/home/smb/hugin/src/tools'
    ---- Compiling stitcher.cpp (C++)
g++ -I. -I../include -Wall -O2 -I/opt/wxGTK-2.4.2/lib/wx/include/gtk-2.4 -I/opt/wxGTK-2.4.2/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I../   -c -o .obj/stitcher.o stitcher.cpp
echo "    ---- Creating application stitcher"; g++   -o stitcher .obj/stitcher.o -L../lib -lwx_gtk_xrc-2.4 -L/opt/wxGTK-2.4.2/lib -pthread -lwx_gtk-2.4 -lwximageproc -lpanorama -ljhead -lpano12   
    ---- Creating application stitcher
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld: cannot find -lwximageproc
collect2: ld returned 1 exit status
make[2]: *** [stitcher] Error 1
make[2]: Leaving directory `/home/smb/hugin/src/tools'



I am missing libwximageproc.
Where can I find it?
I've installed wxGTK-2.4.2 with XRC support, but there's no libwximageproc.


Regards
 Stefan


More information about the ptX mailing list