Skip to content

errors while compiling  #28

@Mactep1

Description

@Mactep1

chengyifandeMacBook-Pro:build chengyifan$ make
[ 6%] Built target external_boost
Consolidate compiler generated dependencies of target flatc
[ 30%] Built target flatc
[ 36%] Built target fbs-generation
[ 36%] Built target motion_config
[ 37%] gather information about git repository and generating version.cpp
[ 37%] Built target motion_version
[ 38%] Building CXX object src/motioncore/CMakeFiles/motion.dir/algorithm/algorithm_description.cpp.o
[ 39%] Building CXX object src/motioncore/CMakeFiles/motion.dir/base/backend.cpp.o
In file included from /Users/chengyifan/cheng/crypto/MOTION/src/motioncore/base/backend.cpp:25:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/thread_pool.hpp:20:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/detail/scheduler.hpp:21:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution_context.hpp:409:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/impl/execution_context.hpp:18:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/detail/handler_type_requirements.hpp:53:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/async_result.hpp:19:
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/detail/type_traits.hpp:89:12: error: no member named 'result_of' in namespace 'std'
using std::result_of;
~~~~~^
In file included from /Users/chengyifan/cheng/crypto/MOTION/src/motioncore/base/backend.cpp:25:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/thread_pool.hpp:22:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution.hpp:18:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution/allocator.hpp:20:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution/executor.hpp:20:
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution/execute.hpp:101:20: error: no member named 'result_of' in namespace 'boost::asio'
using boost::asio::result_of;
~~~~~~~~~~~~~^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution/execute.hpp:156:13: error: no template named 'result_of'
typename result_of<typename decay::type&()>::type
^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution/execute.hpp:159:45: error: expected unqualified-id
!is_as_invocable<typename decay::type>::value
^
In file included from /Users/chengyifan/cheng/crypto/MOTION/src/motioncore/base/backend.cpp:25:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/thread_pool.hpp:22:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution.hpp:18:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution/allocator.hpp:20:
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution/executor.hpp:52:14: error: no template named 'result_of'
typename result_of<typename decay::type&()>::type
^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution/executor.hpp:55:45: error: expected unqualified-id
is_constructible<typename decay::type, F>::value
^
In file included from /Users/chengyifan/cheng/crypto/MOTION/src/motioncore/base/backend.cpp:25:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/thread_pool.hpp:22:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution.hpp:23:
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution/bulk_execute.hpp:114:20: error: no member named 'result_of' in namespace 'boost::asio'
using boost::asio::result_of;
~~~~~~~~~~~~~^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution/bulk_execute.hpp:193:16: error: no template named 'result_of'
typename result_of<
^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/asio/execution/bulk_execute.hpp:200:10: error: expected unqualified-id

::type,
^
In file included from /Users/chengyifan/cheng/crypto/MOTION/src/motioncore/base/backend.cpp:27:
In file included from /Users/chengyifan/cheng/crypto/MOTION/src/motioncore/base/backend.h:32:
In file included from /Users/chengyifan/cheng/crypto/MOTION/src/motioncore/protocols/arithmetic_gmw/arithmetic_gmw_gate.h:33:
In file included from /Users/chengyifan/cheng/crypto/MOTION/src/motioncore/base/motion_base_provider.h:27:
In file included from /Users/chengyifan/cheng/crypto/MOTION/src/motioncore/utility/reusable_future.h:31:
In file included from /Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/fiber/future.hpp:7:
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/fiber/future/async.hpp:30:12: error: no member named 'result_of' in namespace 'std'
using std::result_of;
~~~~~^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/fiber/future/async.hpp:36:14: error: no template named 'result_of'
typename result_of<
^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/fiber/future/async.hpp:44:22: error: no template named 'result_of'
typedef typename result_of<
^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/fiber/future/async.hpp:52:12: error: no viable conversion from returned value of type 'future<result_type>' (aka 'future') to function return type 'int'
return f;
^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/fiber/future/async.hpp:57:14: error: no template named 'result_of'
typename result_of<
^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/fiber/future/async.hpp:65:22: error: no template named 'result_of'
typedef typename result_of<
^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/fiber/future/async.hpp:73:12: error: no viable conversion from returned value of type 'future<result_type>' (aka 'future') to function return type 'int'
return f;
^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/fiber/future/async.hpp:78:14: error: no template named 'result_of'
typename result_of<
^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/fiber/future/async.hpp:86:22: error: no template named 'result_of'
typedef typename result_of<
^
/Users/chengyifan/cheng/crypto/MOTION/build/extern/boost/include/boost/fiber/future/async.hpp:95:12: error: no viable conversion from returned value of type 'future<result_type>' (aka 'future') to function return type 'int'
return f;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [src/motioncore/CMakeFiles/motion.dir/base/backend.cpp.o] Error 1
make[1]: *** [src/motioncore/CMakeFiles/motion.dir/all] Error 2
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions