Skip to content

Fix cmakelists to compile against other executables and fixing tests - #3

Merged
vmayoral merged 2 commits into
ros2from
fix-cmake
Apr 29, 2019
Merged

vmayoral merged 2 commits into
ros2from
fix-cmake

Conversation

@ahcorde

@ahcorde ahcorde commented Apr 25, 2019

Copy link
Copy Markdown

No description provided.

Comment thread CMakeLists.txt Resolved
@ahcorde

ahcorde commented Apr 29, 2019

Copy link
Copy Markdown
Author

ping

@vmayoral
vmayoral merged commit ff1bf18 into ros2 Apr 29, 2019
@vmayoral

Copy link
Copy Markdown

Linking issues when reproducing this locally:

Undefined symbols for architecture x86_64:
  "console_bridge::log(char const*, int, console_bridge::LogLevel, char const*, ...)", referenced from:
      bodies::ConvexMesh::useDimensions(shapes::Shape const*) in bodies.cpp.o
      bodies::BodyVector::setPose(unsigned int, Eigen::Transform<double, 3, 1, 0> const&) in bodies.cpp.o
      bodies::BodyVector::getBody(unsigned int) const in bodies.cpp.o
      bodies::createBodyFromShape(shapes::Shape const*) in body_operations.cpp.o
      bodies::Body* bodies::constructBodyFromMsgHelper<boost::variant<shape_msgs::msg::SolidPrimitive_<std::__1::allocator<void> >, shape_msgs::msg::Mesh_<std::__1::allocator<void> >, shape_msgs::msg::Plane_<std::__1::allocator<void> > > >(boost::variant<shape_msgs::msg::SolidPrimitive_<std::__1::allocator<void> >, shape_msgs::msg::Mesh_<std::__1::allocator<void> >, shape_msgs::msg::Plane_<std::__1::allocator<void> > > const&, geometry_msgs::msg::Pose_<std::__1::allocator<void> > const&) in body_operations.cpp.o
      bodies::Body* bodies::constructBodyFromMsgHelper<shape_msgs::msg::Mesh_<std::__1::allocator<void> > >(shape_msgs::msg::Mesh_<std::__1::allocator<void> > const&, geometry_msgs::msg::Pose_<std::__1::allocator<void> > const&) in body_operations.cpp.o
      bodies::Body* bodies::constructBodyFromMsgHelper<shape_msgs::msg::SolidPrimitive_<std::__1::allocator<void> > >(shape_msgs::msg::SolidPrimitive_<std::__1::allocator<void> > const&, geometry_msgs::msg::Pose_<std::__1::allocator<void> > const&) in body_operations.cpp.o
      ...
  "Assimp::Importer::ReadFileFromMemory(void const*, unsigned long, unsigned int, char const*)", referenced from:
      shapes::createMeshFromBinary(char const*, unsigned long, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in mesh_operations.cpp.o
  "Assimp::Importer::SetPropertyInteger(char const*, int)", referenced from:
      shapes::createMeshFromBinary(char const*, unsigned long, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in mesh_operations.cpp.o
  "Assimp::Importer::ApplyPostProcessing(unsigned int)", referenced from:
      shapes::createMeshFromBinary(char const*, unsigned long, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in mesh_operations.cpp.o
  "Assimp::Importer::Importer()", referenced from:
      shapes::createMeshFromBinary(char const*, unsigned long, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in mesh_operations.cpp.o
  "Assimp::Importer::~Importer()", referenced from:
      shapes::createMeshFromBinary(char const*, unsigned long, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in mesh_operations.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libgeometric_shapes.dylib] Error 1
make[1]: *** [CMakeFiles/geometric_shapes.dir/all] Error 2
make: *** [all] Error 2
---
Failed   <<< geometric_shapes	[ Exited with code 2 ]

@vmayoral

Copy link
Copy Markdown

e02b97d fixes it for OS X.

@vmayoral

Copy link
Copy Markdown

AcutronicRobotics/moveit2@5305591 adds the installation for OS X CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants