← Back to team overview

hugin-devs team mailing list archive

[Bug 1482690] Re: last source fails to compile on MacOSX Yosemiti

 

Hi, I'm back. The problem is not with Hugin, but with the Vigra
libraries.

Here is a proposed patch:
https://github.com/ukoethe/vigra/compare/master...denics:patch-1

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

Title:
  last source fails to compile on MacOSX Yosemiti

Status in Hugin:
  New

Bug description:
  Hi Guys,

  thanks for working on hugin, I love it! I am trying to compile it from
  source on my machine and this is what I get. The problem seems to come
  from vigra. I'm available for any extra info!

  [ 45%] Building CXX object src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/wxPanoCommand.cpp.o
  In file included from /usr/local/include/vigra/labelvolume.hxx:41:0,
                   from /usr/local/include/vigra/localminmax.hxx:45,
                   from /Users/denix/git/hugin-2015.0.0/src/hugin1/base_wx/wxPanoCommand.cpp:42:
  /usr/local/include/vigra/multi_array.hxx: In member function 'vigra::MultiArrayView<N, T, vigra::StridedArrayTag> vigra::MultiArrayView<N, T, C>::permuteDimensions(const difference_type&) const':
  /usr/local/include/vigra/multi_array.hxx:2005:82: error: expected unqualified-id before ';' token
       difference_type shape, stride, check((typename difference_type::value_type)0);
                                                                                    ^
  /usr/local/include/vigra/multi_array.hxx:2010:11: error: 'check' was not declared in this scope
           ++check[s[i]];
             ^
  /usr/local/include/vigra/multi_array.hxx:2010:11: note: suggested alternative:
  In file included from /usr/local/include/vigra/rgbvalue.hxx:46:0,
                   from /usr/local/include/vigra/stdimage.hxx:45,
                   from /Users/denix/git/hugin-2015.0.0/src/hugin1/panoinc.h:53,
                   from /Users/denix/git/hugin-2015.0.0/src/hugin1/base_wx/wxPanoCommand.cpp:30:
  /usr/local/include/vigra/static_assert.hxx:84:12: note:   'vigra::staticAssert::check'
   inline int check( success ) { return 0; }
              ^
  In file included from /usr/local/include/vigra/utilities.hxx:41:0,
                   from /usr/local/include/vigra/basicimage.hxx:41,
                   from /usr/local/include/vigra/stdimage.hxx:42,
                   from /Users/denix/git/hugin-2015.0.0/src/hugin1/panoinc.h:53,
                   from /Users/denix/git/hugin-2015.0.0/src/hugin1/base_wx/wxPanoCommand.cpp:30:
  /usr/local/include/vigra/multi_array.hxx:2012:5: error: 'check' was not declared in this scope
       vigra_precondition(check == difference_type(1),
       ^
  /usr/local/include/vigra/multi_array.hxx:2012:5: note: suggested alternative:
  In file included from /usr/local/include/vigra/rgbvalue.hxx:46:0,
                   from /usr/local/include/vigra/stdimage.hxx:45,
                   from /Users/denix/git/hugin-2015.0.0/src/hugin1/panoinc.h:53,
                   from /Users/denix/git/hugin-2015.0.0/src/hugin1/base_wx/wxPanoCommand.cpp:30:
  /usr/local/include/vigra/static_assert.hxx:84:12: note:   'vigra::staticAssert::check'
   inline int check( success ) { return 0; }
              ^
  make[2]: *** [src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/wxPanoCommand.cpp.o] Error 1
  make[1]: *** [src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/all] Error 2
  make: *** [all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1482690/+subscriptions


References