ArduPilot / OctomapPlanner

ArduPilot Gazebo SITL 3D mapping and planning
120 stars 41 forks source link

error when compiling main_node #13

Open Robinaoko opened 3 years ago

Robinaoko commented 3 years ago

/usr/bin/ld: warning: liboctomap.so.1.8, needed by libArduPlanner.so, may conflict with liboctomap.so.1.6 libPlanner.so:对‘fcl::CollisionGeometry::~CollisionGeometry()’未定义的引用 libPlanner.so:对‘fcl::CollisionObject::CollisionObject(std::shared_ptr<fcl::CollisionGeometry > const&)’未定义的引用 libPlanner.so:对‘unsigned long fcl::collide(fcl::CollisionObject const, fcl::CollisionObject const, fcl::CollisionRequest const&, fcl::CollisionResult&)’未定义的引用 libPlanner.so:对‘fcl::CollisionResult::isCollision() const’未定义的引用 libPlanner.so:对‘vtable for fcl::ShapeBase’未定义的引用 libPlanner.so:对‘fcl::OcTree::OcTree(std::shared_ptr const&)’未定义的引用 libPlanner.so:对‘fcl::Box::Box(double, double, double)’未定义的引用 libPlanner.so:对‘fcl::CollisionRequest::CollisionRequest(unsigned long, bool, unsigned long, bool, bool, fcl::GJKSolverType, double)’未定义的引用 libPlanner.so:对‘fcl::CollisionObject::setTranslation(Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)’未定义的引用 libPlanner.so:对‘fcl::CollisionObject::~CollisionObject()’未定义的引用 libPlanner.so:对‘fcl::CollisionResult::CollisionResult()’未定义的引用 collect2: error: ld returned 1 exit status CMakeFiles/main_node.dir/build.make:433: recipe for target 'main_node' failed make[2]: [main_node] Error 1 CMakeFiles/Makefile2:77: recipe for target 'CMakeFiles/main_node.dir/all' failed make[1]: [CMakeFiles/main_node.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

Robinaoko commented 3 years ago

@ayushgaud I have looked up a lot of materials and found no solution. I need your help very much. I'm sorry to disturb you.

Robinaoko commented 3 years ago

未定义的引用 means undefined