← Back to team overview

hugin-devs team mailing list archive

[Bug 785148] Re: HSI does not build

 

it requires swig 2.0 and the CMake script to find the swig executable
does not find 2.0 automatically in Ubuntu 11.04.

adding -DSWIG_EXECUTABLE=/usr/bin/swig2.0 to the cmake call solved the
problem, after sudo apt-get install swig2.0

** Changed in: hugin
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/785148

Title:
  HSI does not build

Status in Hugin - Panorama Tools GUI:
  Invalid

Bug description:
  Kubuntu 11.04

  Hugin 5222:48c4acf52307

  Scanning dependencies of target _hsi
  [ 56%] Building CXX object src/hugin_script_interface/CMakeFiles/_hsi.dir/hsiPYTHON_wrap.cxx.o                      
  In file included from /usr/include/c++/4.5/backward/hash_set:60:0,                                                  
                   from /usr/include/boost/pending/container_traits.hpp:23,
                   from /usr/include/boost/graph/detail/adjacency_list.hpp:31,
                   from /usr/include/boost/graph/adjacency_list.hpp:324,
                   from /home/yuv/src/hugin/hugin.hg/src/hugin_base/algorithms/optimizer/ImageGraph.h:36,
                   from /home/yuv/src/hugin/hugin.hg/src/hugin_base/algorithms/optimizer/PTOptimizer.h:216,
                   from /home/yuv/src/hugin/hugin.hg/src/hugin_base/algorithms/control_points/CleanCP.h:36,
                   from /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:3025:
  /usr/include/c++/4.5/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated.
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx: In function ‘PyObject* _wrap_new_AssistantMakefilelibExport(PyObject*, PyObject*)’:
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61257:3: error: ‘AssistantPrograms’ was not declared in this scope
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61257:22: error: ‘arg2’ was not declared in this scope
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61314:28: error: expected type-specifier before ‘AssistantPrograms’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61314:28: error: expected ‘>’ before ‘AssistantPrograms’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61314:28: error: expected ‘(’ before ‘AssistantPrograms’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61314:48: error: expected primary-expression before ‘>’ token
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61314:56: error: expected ‘)’ before ‘;’ token
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61364:120: error: expected ‘)’ before ‘const’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61364:271: error: expected ‘)’ before ‘;’ token
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61364:271: error: no matching function for call to ‘HuginBase::AssistantMakefilelibExport::AssistantMakefilelibExport()’
  /home/yuv/src/hugin/hugin.hg/src/hugin_base/algorithms/assistant_makefile/AssistantMakefilelibExport.h:88:2: note: candidates are: HuginBase::AssistantMakefilelibExport::AssistantMakefilelibExport(HuginBase::PanoramaData&, const HuginBase::AssistantMakefilelibExport::AssistantPrograms&, const bool&, const double&, const bool&, const bool&, const double&, std::ostream&, const std::string&)
  /home/yuv/src/hugin/hugin.hg/src/hugin_base/algorithms/assistant_makefile/AssistantMakefilelibExport.h:44:1: note:                 HuginBase::AssistantMakefilelibExport::AssistantMakefilelibExport(const HuginBase::AssistantMakefilelibExport&)
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx: In function ‘PyObject* _wrap_AssistantMakefilelibExport_createMakefile(PyObject*, PyObject*)’:
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61377:3: error: ‘AssistantPrograms’ was not declared in this scope
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61377:22: error: ‘arg2’ was not declared in this scope
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61433:28: error: expected type-specifier before ‘AssistantPrograms’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61433:28: error: expected ‘>’ before ‘AssistantPrograms’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61433:28: error: expected ‘(’ before ‘AssistantPrograms’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61433:48: error: expected primary-expression before ‘>’ token
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61433:56: error: expected ‘)’ before ‘;’ token
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61483:82: error: expected ‘)’ before ‘const’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:61483:233: error: expected ‘)’ before ‘;’ token
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx: In function ‘PyObject* _wrap_new_PanoramaMakefilelibExport(PyObject*, PyObject*)’:
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66762:3: error: ‘PTPrograms’ was not declared in this scope
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66762:15: error: ‘arg5’ was not declared in this scope
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66840:28: error: expected type-specifier before ‘PTPrograms’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66840:28: error: expected ‘>’ before ‘PTPrograms’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66840:28: error: expected ‘(’ before ‘PTPrograms’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66840:41: error: expected primary-expression before ‘>’ token
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66840:49: error: expected ‘)’ before ‘;’ token
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66879:199: error: expected ‘)’ before ‘const’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66879:279: error: expected ‘)’ before ‘;’ token
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66879:279: error: no matching function for call to ‘HuginBase::PanoramaMakefilelibExport::PanoramaMakefilelibExport()’
  /home/yuv/src/hugin/hugin.hg/src/hugin_base/algorithms/panorama_makefile/PanoramaMakefilelibExport.h:134:2: note: candidates are: HuginBase::PanoramaMakefilelibExport::PanoramaMakefilelibExport(HuginBase::PanoramaData&, const HuginBase::UIntSet&, const std::string&, const std::string&, const HuginBase::PanoramaMakefilelibExport::PTPrograms&, const std::string&, std::vector<std::basic_string<char> >&, std::ostream&, const std::string&)
  /home/yuv/src/hugin/hugin.hg/src/hugin_base/algorithms/panorama_makefile/PanoramaMakefilelibExport.h:49:1: note:                 HuginBase::PanoramaMakefilelibExport::PanoramaMakefilelibExport(const HuginBase::PanoramaMakefilelibExport&)
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx: In function ‘PyObject* _wrap_PanoramaMakefilelibExport_createMakefile(PyObject*, PyObject*)’:
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66903:3: error: ‘PTPrograms’ was not declared in this scope
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66903:15: error: ‘arg5’ was not declared in this scope
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66980:28: error: expected type-specifier before ‘PTPrograms’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66980:28: error: expected ‘>’ before ‘PTPrograms’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66980:28: error: expected ‘(’ before ‘PTPrograms’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66980:41: error: expected primary-expression before ‘>’ token
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:66980:49: error: expected ‘)’ before ‘;’ token
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:67019:225: error: expected ‘)’ before ‘const’
  /home/yuv/src/hugin/hugin.hg-build/src/hugin_script_interface/hsiPYTHON_wrap.cxx:67019:305: error: expected ‘)’ before ‘;’ token
  make[2]: *** [src/hugin_script_interface/CMakeFiles/_hsi.dir/hsiPYTHON_wrap.cxx.o] Error 1
  make[1]: *** [src/hugin_script_interface/CMakeFiles/_hsi.dir/all] Error 2
  make: *** [all] Error 2


References