-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
catkin_make error about fcl #7
Comments
你好请问你解决了吗 |
I encountered the same problem, then downloaded fcl-0.5 from GitHub website and installed it as follows: mkdir build |
Hello @jojo666666 were you able to compile this repo with fcl-0.5. Because they have changed many include files and class names in that? |
@abdur4373 can you complie this repo with fcl-0.5? I got this error: |
I also encountered the same problem..T T, have you solved it? |
yes, maybe you need checkout the fcl to banch 4.1. Sorry, it was too long, but I remembered that I changed the branch and rebuilded. But I'm not sure about the tag number. |
I (used $apt-get install libfcl_dev) to installed fcl. The project named fcl could not be installed successfully.
But when I comiling path_planning, there are many errors about fcl thar I could`nt solve.
Seek for your help. How could you install fcl? Did you know how to solve this?
[ 66%] Built target traj_gen
[ 83%] Built target transform_pointcloud
In file included from /home/aaron/下载/catkin_path/src/path_planning-master/src/old_path_planning.cpp:41:0:
/usr/include/fcl/traversal/traversal_node_octree.h: In member function ‘bool fcl::OcTreeSolver::OcTreeShapeDistanceRecurse(const fcl::OcTree*, const OcTreeNode*, const fcl::AABB&, const S&, const fcl::AABB&, const fcl::Transform3f&, const fcl::Transform3f&) const’:
/usr/include/fcl/traversal/traversal_node_octree.h:267:50: error: ‘const OcTreeNode {aka const class octomap::OcTreeNode}’ has no member named ‘getChild’
const OcTree::OcTreeNode* child = root1->getChild(i);
^
In file included from /home/aaron/下载/catkin_path/src/path_planning-master/src/old_path_planning.cpp:41:0:
/usr/include/fcl/traversal/traversal_node_octree.h: In member function ‘bool fcl::OcTreeSolver::OcTreeShapeIntersectRecurse(const fcl::OcTree*, const OcTreeNode*, const fcl::AABB&, const S&, const fcl::OBB&, const fcl::Transform3f&, const fcl::Transform3f&) const’:
/usr/include/fcl/traversal/traversal_node_octree.h:404:50: error: ‘const OcTreeNode {aka const class octomap::OcTreeNode}’ has no member named ‘getChild’
const OcTree::OcTreeNode* child = root1->getChild(i);
…………
/usr/local/include/fcl/math/bv/AABB.h:136:8: error: ‘S’ was not declared in this scope
AABB
& expand(const AABB& core, S ratio);^
/usr/local/include/fcl/math/bv/AABB.h:136:3: error: ‘AABB< >’ does not name a type
AABB
& expand(const AABB& core, S ratio);^
/usr/local/include/fcl/math/bv/AABB.h:139:15: error: ‘AABB’ does not name a type
using AABBf = AABB;
^
/usr/local/include/fcl/math/bv/AABB.h:140:15: error: ‘AABB’ does not name a type
using AABBd = AABB;
^
/usr/local/include/fcl/math/bv/AABB.h:144:1: error: ‘AABB’ does not name a type
AABB
translate(^
/usr/local/include/fcl/math/bv/AABB.h:147:1: error: expected declaration before ‘}’ token
} // namespace fcl
^
path_planning-master/CMakeFiles/old_path_planning.dir/build.make:62: recipe for target 'path_planning-master/CMakeFiles/old_path_planning.dir/src/old_path_planning.cpp.o' failed
make[2]: *** [path_planning-master/CMakeFiles/old_path_planning.dir/src/old_path_planning.cpp.o] Error 1
CMakeFiles/Makefile2:2930: recipe for target 'path_planning-master/CMakeFiles/old_path_planning.dir/all' failed
make[1]: *** [path_planning-master/CMakeFiles/old_path_planning.dir/all] Error 2
make[1]: *** 正在等待未完成的任务....
path_planning-master/CMakeFiles/path_planning_node.dir/build.make:62: recipe for target 'path_planning-master/CMakeFiles/path_planning_node.dir/src/path_planning.cpp.o' failed
make[2]: *** [path_planning-master/CMakeFiles/path_planning_node.dir/src/path_planning.cpp.o] Error 1
CMakeFiles/Makefile2:1288: recipe for target 'path_planning-master/CMakeFiles/path_planning_node.dir/all' failed
make[1]: *** [path_planning-master/CMakeFiles/path_planning_node.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
The text was updated successfully, but these errors were encountered: