@batchku wrote:
I’m following the Getting Started instructions to build OF 0.11 on a Raspberry Pi 3 B (v1.2) and am running into many Boost related errors during compilation. Anyone know the cause?
BOOST_MPL_AUX_NA_SPEC2(2, 3, lambda) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1: error: expected ‘>’ before numeric constant BOOST_MPL_AUX_NA_SPEC2(2, 3, lambda) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1: error: expected unqualified-id before ‘)’ token BOOST_MPL_AUX_NA_SPEC2(2, 3, lambda) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/mpl/aux_/na_spec.hpp:27, from /usr/include/boost/mpl/or.hpp:24, from /usr/include/boost/iterator/interoperable.hpp:11, from /usr/include/boost/iterator/iterator_facade.hpp:11, from /usr/include/boost/filesystem/path.hpp:28, from /usr/include/boost/filesystem.hpp:16, from /home/pi/of_v0.11.0_linuxarmv6l_release/libs/openFrameworks/utils/ofFileUtils.h:20, from /home/pi/of_v0.11.0_linuxarmv6l_release/libs/openFrameworks/utils/ofLog.h:4, from /home/pi/of_v0.11.0_linuxarmv6l_release/libs/openFrameworks/utils/ofThread.cpp:2: /usr/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1: error: ‘BOOST_MPL_PP_AUX_ENUM_FUNC’ was not declared in this scope BOOST_MPL_AUX_NA_SPEC2(2, 3, lambda) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1: error: ‘BOOST_PP_REPEAT’ was not declared in this scope BOOST_MPL_AUX_NA_SPEC2(2, 3, lambda) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1: note: suggested alternative: ‘BOOST_PP_EAT’ In file included from /usr/include/boost/mpl/or.hpp:24, from /usr/include/boost/iterator/interoperable.hpp:11, from /usr/include/boost/iterator/iterator_facade.hpp:11, from /usr/include/boost/filesystem/path.hpp:28, from /usr/include/boost/filesystem.hpp:16, from /home/pi/of_v0.11.0_linuxarmv6l_release/libs/openFrameworks/utils/ofFileUtils.h:20, from /home/pi/of_v0.11.0_linuxarmv6l_release/libs/openFrameworks/utils/ofLog.h:4, from /home/pi/of_v0.11.0_linuxarmv6l_release/libs/openFrameworks/utils/ofThread.cpp:2: /usr/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1: error: template argument 1 is invalid BOOST_MPL_AUX_NA_SPEC2(2, 3, lambda) ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1: error: template argument 3 is invalid /usr/include/boost/mpl/aux_/preprocessed/gcc/full_lambda.hpp:555:1: error: template argument 1 is invalid BOOST_MPL_AUX_NA_SPEC2(2, 3, lambda) ^~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [makefileCommon/compile.core.mk:240: /home/pi/of_v0.11.0_linuxarmv6l_release/libs/openFrameworksCompiled/lib/linuxarmv6l/obj/Release/libs/openFrameworks/utils/ofThread.o] Error 1 make: *** [makefileCommon/compile.core.mk:204: Release] Error 2 make: Leaving directory '/home/pi/of_v0.11.0_linuxarmv6l_release/libs/openFrameworksCompiled/project'
Posts: 4
Participants: 2