HuaYuXiao / sdf_tools

Builds 2D signed distance fields from images, 3D signed distance fields from pointclouds, 3D signed distance fields from Octomap, provides a lightweight signed distance field library, message types for signed distance fields, and tools to compress signed distance fields for transport.
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

undefined reference to `sdf_tools::CollisionMapGrid::ExtractSignedDistanceField(float) const' #8

Open HuaYuXiao opened 4 months ago

HuaYuXiao commented 4 months ago
/usr/bin/ld: /home/hyx020222/planner_ws/devel/lib/libplan_env.so: undefined reference to `sdf_tools::CollisionMapGrid::ExtractSignedDistanceField(float) const'
/usr/bin/ld: /home/hyx020222/planner_ws/devel/lib/libplan_env.so: undefined reference to `sdf_tools::SignedDistanceField::GetGradient(double, double, double, bool) const'
/usr/bin/ld: /home/hyx020222/planner_ws/devel/lib/libplan_env.so: undefined reference to `sdf_tools::CollisionMapGrid::CollisionMapGrid(Eigen::Transform<double, 3, 1, 0> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, double, double, double, sdf_tools::COLLISION_CELL const&)'
/usr/bin/ld: /home/hyx020222/planner_ws/devel/lib/libplan_env.so: undefined reference to `sdf_tools::CollisionMapGrid::Set(double, double, double, sdf_tools::COLLISION_CELL)'
/usr/bin/ld: /home/hyx020222/planner_ws/devel/lib/libplan_env.so: undefined reference to `sdf_tools::SignedDistanceField::GetSafe(double, double, double) const'
/usr/bin/ld: /home/hyx020222/planner_ws/devel/lib/libplan_env.so: undefined reference to `sdf_tools::COLLISION_CELL::COLLISION_CELL(float, unsigned int)'
collect2: error: ld returned 1 exit status
make[2]: *** [plan_manage/CMakeFiles/traj_server.dir/build.make:373: /home/hyx020222/planner_ws/devel/lib/prometheus_plan_manage/traj_server] Error 1
make[1]: *** [CMakeFiles/Makefile2:4261: plan_manage/CMakeFiles/traj_server.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/bin/ld: /home/hyx020222/planner_ws/devel/lib/libsdf_tools.so: undefined reference to `ZlibHelpers::CompressBytes(std::vector<unsigned char, std::allocator<unsigned char> > const&)'
/usr/bin/ld: /home/hyx020222/planner_ws/devel/lib/libsdf_tools.so: undefined reference to `ZlibHelpers::DecompressBytes(std::vector<unsigned char, std::allocator<unsigned char> > const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [plan_manage/CMakeFiles/dyn_planner_node.dir/build.make:418: /home/hyx020222/planner_ws/devel/lib/prometheus_plan_manage/dyn_planner_node] Error 1
make[1]: *** [CMakeFiles/Makefile2:3546: plan_manage/CMakeFiles/dyn_planner_node.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make install -j22 -l22" failed