boost compilation problems & hugin-app: which compiler to use/what to do?

Mojca Miklavec mojca at macports.org
Mon Aug 19 15:10:36 PDT 2013


Hello,

When trying to play with different wxWidgets dependencies I also took
a look at hugin-app which seems to be broken.

The port has two maintainers, but p.schmiedeskamp's email bounces and
Harry van der Wolf isn't a Mac user any more, but was willing to still
help me a bit.

The problem is that I'm unable to get boost working (boost itself
compiles, but hugin-app doesn't when including sources from boost).
Below is an example of an error (it complains about deprecated use of
signals, but that's not related: the same errors are thrown
elsewhere).

Does anyone have any suggestions for a cure for this? (Switching to
macports-gcc-4.7 didn't help.)

Also: what should be done when maintainer's email bounces?

Thank you,
    Mojca


:info:build [ 68%] Building CXX object
src/hugin1/base_wx/CMakeFiles/huginbasewx.dir/wxImageCache.cpp.o
:info:build cd /path/to/hugin-2012.0.0/src/hugin1/base_wx &&
/usr/bin/clang++   -DHUGIN_HSI -DWXUSINGDLL -D_FILE_OFFSET_BITS=64
-D__WXMAC__ -D__WXOSX_COCOA__ -D__WXOSX__ -Dhuginbasewx_EXPORTS -pipe
-Os -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=1 -arch
x86_64  -I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.9/include/wx-2.9
-O3 -DNDEBUG -arch x86_64 -fPIC -I/path/to/hugin-2012.0.0/src
-I/path/to/hugin-2012.0.0/src/hugin_base
-I/path/to/hugin-2012.0.0/src/foreign/vigra
-I/path/to/hugin-2012.0.0/src/celeste -I/opt/local/include
-I/opt/local/include/OpenEXR
-I/System/Library/Frameworks/GLUT.framework/Versions/A/Headers
-I/path/to/hugin-2012.0.0/src/foreign
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.9/lib/wx/include/osx_cocoa-unicode-2.9
-I/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/2.9/include/wx-2.9
-I/path/to/hugin-2012.0.0/src/hugin1    -o
CMakeFiles/huginbasewx.dir/wxImageCache.cpp.o -c
/path/to/hugin-2012.0.0/src/hugin1/base_wx/wxImageCache.cpp
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin1/base_wx/wxImageCache.cpp:27:
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin1/base_wx/wxImageCache.h:30:
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin1/PT/RemappedPanoImage.h:30:
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin_base/nona/RemappedPanoImage.h:36:
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin_base/panodata/SrcPanoImage.h:51:
:info:build In file included from /opt/local/include/exiv2/exif.hpp:34:
:info:build In file included from /opt/local/include/exiv2/metadatum.hpp:39:
:info:build /opt/local/include/exiv2/value.hpp:984:9: warning:
attribute 'visibility' is ignored, place it after "struct" to apply
attribute to type declaration [-Wignored-attributes]
:info:build         EXIV2API struct Date
:info:build         ^
:info:build /opt/local/include/exiv2/exv_conf.h:245:20: note: expanded
from macro 'EXIV2API'
:info:build #  define EXIV2API EXV_IMPORT
:info:build                    ^
:info:build /opt/local/include/exiv2/exv_conf.h:217:39: note: expanded
from macro 'EXV_IMPORT'
:info:build #   define EXV_IMPORT __attribute__ ((visibility("default")))
:info:build                                       ^
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin1/base_wx/wxImageCache.cpp:27:
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin1/base_wx/wxImageCache.h:30:
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin1/PT/RemappedPanoImage.h:30:
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin_base/nona/RemappedPanoImage.h:38:
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin_base/panodata/PanoramaOptions.h:46:
:info:build In file included from /opt/local/include/pano13/panorama.h:35:
:info:build /opt/local/include/pano13/pt_stdint.h:7:1: warning: '/*'
within block comment [-Wcomment]
:info:build /* pt_stdint.h */
:info:build ^
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin1/base_wx/wxImageCache.cpp:27:
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin1/base_wx/wxImageCache.h:34:
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin_base/huginapp/ImageCache.h:30:
:info:build /opt/local/include/boost/signal.hpp:17:4: warning:
"Boost.Signals is no longer being maintained and is now deprecated.
Please switch to Boost.Signals2. To disable this warning message,
define BOOST_SIGNALS_NO_DEPRECATION_WARNING." [-W#warnings]
:info:build #  warning                  "Boost.Signals is no longer
being maintained and is now deprecated. Please switch to
Boost.Signals2. To disable this warning message, define
BOOST_SIGNALS_NO_DEPRECATION_WARNING."
:info:build    ^
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin1/base_wx/wxImageCache.cpp:27:
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin1/base_wx/wxImageCache.h:34:
:info:build In file included from
/path/to/hugin-2012.0.0/src/hugin_base/huginapp/ImageCache.h:30:
:info:build In file included from /opt/local/include/boost/signal.hpp:27:
:info:build In file included from
/opt/local/include/boost/signals/signal0.hpp:24:
:info:build In file included from
/opt/local/include/boost/signals/signal_template.hpp:21:
:info:build In file included from /opt/local/include/boost/signals/slot.hpp:15:
:info:build In file included from
/opt/local/include/boost/signals/trackable.hpp:13:
:info:build In file included from /opt/local/include/boost/type_traits.hpp:35:
:info:build In file included from
/opt/local/include/boost/type_traits/has_operator.hpp:12:
:info:build In file included from
/opt/local/include/boost/type_traits/has_bit_and.hpp:43:
:info:build /opt/local/include/boost/type_traits/detail/has_binary_operator.hpp:157:121:
error: expected expression
:info:build    BOOST_STATIC_CONSTANT(bool, value =
(sizeof(check(((make<Lhs>() BOOST_TT_TRAIT_OP
make<Rhs>()),make<has_operator>())))==sizeof(::boost::type_traits::yes_type)));
:info:build
                                                             ^
:info:build /opt/local/include/boost/config/suffix.hpp:393:72: note:
expanded from macro 'BOOST_STATIC_CONSTANT'
:info:build #     define BOOST_STATIC_CONSTANT(type, assignment)
static const type assignment
:info:build


More information about the macports-dev mailing list