Skip to content

'make binding' fails on a fresh checkout on macOS #85

@jslee02

Description

@jslee02

Here is the output I get:

$ cmake ..
-- The C compiler identification is AppleClang 9.1.0.9020039
-- The CXX compiler identification is AppleClang 9.1.0.9020039
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/local/bin/python3 (found suitable version "3.7", minimum required is "3.4") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   python37
--   thread
--   chrono
--   system
--   date_time
--   atomic
-- Found DART: /usr/local/include (Required is at least version "6.3.0") found components:  collision-bullet optimizer-nlopt planning utils-urdf gui-osg dart 
-- Found PythonLibs: /usr/local/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7m.dylib (found suitable version "3.7.0", minimum required is "3.4") 
-- Performing Test DARTPY_HAS_STD_SHARED_GET_POINTER
-- Performing Test DARTPY_HAS_STD_SHARED_GET_POINTER - Success
-- Chimera binding: dartpy_CHIMERA
--   Exclude from ALL: TRUE
--   Module: dartpy
--   Configuration: /Users/jeongseoklee/dev/dartpy/chimera/chimera.yml
--   Sources:
--   - /Users/jeongseoklee/dev/dartpy/chimera/chimera.cpp
-- Running the tests requires pytest. Please install it manually (try: /usr/local/bin/python3 -m pip install pytest)
-- Running the tests requires boost_numpy_eigen. Please install it manually (try: sudo apt install python3-boost-numpy-eigen)
-- Running the tests requires dartpy. Please install it manually (try: sudo apt install python3-dartpy)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jeongseoklee/dev/dartpy/build

$ make binding
Scanning dependencies of target dartpy_CHIMERA_SOURCES
[ 11%] Generating bindings for dartpy_CHIMERA.
In file included from /Users/jeongseoklee/dev/dartpy/chimera/chimera.cpp:1:
In file included from /usr/local/include/dart/dart.hpp:33:
In file included from /usr/local/include/dart/config.hpp:5:
/usr/local/include/eigen3/Eigen/Core:66:12: fatal error: 'new' file not found
  #include <new>
           ^~~~~
Failed to parse 'typedef dart::common::MakeCloneable<dart::dynamics::Node::State, dart::common::detail::CompositeData<std::map<std::type_index, std::unique_ptr<dart::common::Aspect::State, std::default_delete<dart::common::Aspect::State> >, std::less<std::type_index>, std::allocator<std::pair<const std::type_index, std::unique_ptr<dart::common::Aspect::State, std::default_delete<dart::common::Aspect::State> > > > >, dart::common::detail::GetState> > chimera_placeholder_51'.
Unable to resolve class declaration: 'dart::common::MakeCloneable<dart::dynamics::Node::State, dart::common::detail::CompositeData<std::map<std::type_index, std::unique_ptr<dart::common::Aspect::State, std::default_delete<dart::common::Aspect::State> >, std::less<std::type_index>, std::allocator<std::pair<const std::type_index, std::unique_ptr<dart::common::Aspect::State, std::default_delete<dart::common::Aspect::State> > > > >, dart::common::detail::GetState> >'
make[3]: *** [../src/generated/sources.txt] Error 254
make[2]: *** [CMakeFiles/dartpy_CHIMERA_SOURCES.dir/all] Error 2
make[1]: *** [CMakeFiles/binding.dir/rule] Error 2
make: *** [binding] Error 2
$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions