last source fails to compile on MacOSX Yosemiti

Bug #1482690 reported by denix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Invalid
Undecided
Unassigned

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

Revision history for this message
tmodes (tmodes) wrote :

The Mac OS part of Hugin 2015.0 is currently untested. We have currently no builder for Mac OS X. So there may be other glitches as well.

Please test, if the attached patch solves the issue.

Revision history for this message
denix (denics) wrote :

I'm leaving for holidays tonight, but I will test as soon as I am back. I can also run tests for you, as you say you have no builders.

Revision history for this message
denix (denics) wrote :

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

Revision history for this message
tmodes (tmodes) wrote :

When the issue is with vigra, closing here

Changed in hugin:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.