Opened 9 years ago

Closed 9 years ago

#50772 closed defect (duplicate)

Parse Error at BOOST_JOIN

Reported by: rubendibattista (Ruben Di Battista) Owned by: raphael-st (Raphael Straub)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: scantailor

Description

Hello, I'm trying to compile (manually and w/ Macports) scantailor on OSX.

Osx 10.11.3 Boost 1.59

The errors seems related to new versions of boost together with QT4 and MOC (here's there's a suggested workaround: https://bugreports.qt.io/browse/QTBUG-22829?focusedCommentId=274496&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-274496)

Macports

:info:build [ 28%] Building CXX object CMakeFiles/stcore.dir/StageListView.cpp.o
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++   -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_TEST_DYN_LINK -D_BIND_TO_CURRENT_VCLIBS_VERSION=1 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1/. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1/foundation -I/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1/math -I/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1/interaction -I/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1/zones -I/opt/local/include -I/opt/local/libexec/qt4/include/QtDesigner -I/opt/local/libexec/qt4/include/QtDeclarative -I/opt/local/libexec/qt4/include/QtScriptTools -I/opt/local/libexec/qt4/include/QtDBus -I/opt/local/libexec/qt4/include/QtXml -I/opt/local/libexec/qt4/include/QtSql -I/opt/local/libexec/qt4/include/QtOpenGL -I/opt/local/libexec/qt4/include/QtMultimedia -I/opt/local/libexec/qt4/include/QtNetwork -I/opt/local/libexec/qt4/include/QtXmlPatterns -I/opt/local/libexec/qt4/include/QtWebKit -I/opt/local/libexec/qt4/include/QtHelp -I/opt/local/libexec/qt4/include/QtUiTools -I/opt/local/libexec/qt4/include/QtTest -I/opt/local/libexec/qt4/include/QtScript -I/opt/local/libexec/qt4/include/QtSvg -I/opt/local/libexec/qt4/include/Qt3Support -I/opt/local/libexec/qt4/include/QtGui -I/opt/local/libexec/qt4/include/QtCore -I/opt/local/libexec/qt4/share/mkspecs/default -I/opt/local/libexec/qt4/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1  -pipe -Os -stdlib=libc++  -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11   -o CMakeFiles/stcore.dir/StageListView.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_graphics_scantailor/scantailor/work/scantailor-0.9.11.1/StageListView.cpp
:info:build opt/local/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"
:info:build make[2]: *** [zones/ZoneContextMenuInteraction.h.moc] Error 1

Manual (GCC)

[ 30%] Generating ZoneContextMenuInteraction.h.moc
cd /Users/***/build/scantailor/build/zones && /opt/local/libexec/qt4/bin/moc @/Users/***/build/scantailor/build/zones/ZoneContextMenuInteraction.h.moc_parameters
opt/local/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN

Same reported issue here: https://github.com/scantailor/scantailor/issues/199

Change History (3)

comment:1 Changed 9 years ago by rubendibattista (Ruben Di Battista)

Cc: rubendibattista@… added

Cc Me!

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Cc: raphael@… rubendibattista@… removed
Owner: changed from macports-tickets@… to raphael@…

As reporter, you do not need to Cc yourself.

comment:3 Changed 9 years ago by raphael-st (Raphael Straub)

Resolution: duplicate
Status: newclosed

Duplicate of #46888.

Note: See TracTickets for help on using tickets.