{"action":"opened","issue":{"url":"https://api.github.com/repos/scantailor/scantailor/issues/199","repository_url":"https://api.github.com/repos/scantailor/scantailor","labels_url":"https://api.github.com/repos/scantailor/scantailor/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/scantailor/scantailor/issues/199/comments","events_url":"https://api.github.com/repos/scantailor/scantailor/issues/199/events","html_url":"https://github.com/scantailor/scantailor/issues/199","id":137842795,"number":199,"title":"Parse Error at BOOST_JOIN","user":{"login":"rubendibattista","id":8077364,"avatar_url":"https://avatars.githubusercontent.com/u/8077364?v=3","gravatar_id":"","url":"https://api.github.com/users/rubendibattista","html_url":"https://github.com/rubendibattista","followers_url":"https://api.github.com/users/rubendibattista/followers","following_url":"https://api.github.com/users/rubendibattista/following{/other_user}","gists_url":"https://api.github.com/users/rubendibattista/gists{/gist_id}","starred_url":"https://api.github.com/users/rubendibattista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubendibattista/subscriptions","organizations_url":"https://api.github.com/users/rubendibattista/orgs","repos_url":"https://api.github.com/users/rubendibattista/repos","events_url":"https://api.github.com/users/rubendibattista/events{/privacy}","received_events_url":"https://api.github.com/users/rubendibattista/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-02T11:04:32Z","updated_at":"2016-03-02T11:04:32Z","closed_at":null,"body":"Hello, \r\nI'm trying to compile (manually and w/ Macports) `scantailor` on OSX.\r\n\r\n10.11.3\r\nBoost 1.59\r\n\r\nThe 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)  \r\n\r\n## Macports\r\n\r\n```\r\n:info:build [ 28%] Building CXX object CMakeFiles/stcore.dir/StageListView.cpp.o\r\n: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\r\n:info:build opt/local/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at \"BOOST_JOIN\"\r\n:info:build make[2]: *** [zones/ZoneContextMenuInteraction.h.moc] Error 1\r\n\r\n```\r\n\r\n## Manual (GCC) \r\n```\r\n[ 30%] Generating ZoneContextMenuInteraction.h.moc\r\ncd /Users/***/build/scantailor/build/zones && /opt/local/libexec/qt4/bin/moc @/Users/***/build/scantailor/build/zones/ZoneContextMenuInteraction.h.moc_parameters\r\nopt/local/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at \"BOOST_JOIN\"\r\n```"}}