hatem-darweesh / autoware.ai.openplanner

The workspace for directly downloading and installing Autoware.AI versions with the latest OpenPlanner 2.5 updates
Apache License 2.0
39 stars 7 forks source link

undefined reference to `lanelet::LaneletMap::~LaneletMap()' #17

Closed xiaofeifei-1 closed 1 year ago

xiaofeifei-1 commented 1 year ago

New issue? when I "AUTOWARE_COMPILE_WITH_CUDA=1 colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release"

"/home/tqf/autoware_install/autoware_openplanner.1.15/install/op_planner/lib/libop_planner.so: undefined reference to lanelet::LaneletMap::LaneletMap()' /home/tqf/autoware_install/autoware_openplanner.1.15/install/lanelet2_extension/lib/liblanelet2_extension_lib.so: undefined reference tolanelet::LaneletMap::LaneletMap(std::unordered_map<long, lanelet::Lanelet, std::hash, std::equal_to, std::allocator<std::pair<long const, lanelet::Lanelet> > > const&, std::unordered_map<long, lanelet::Area, std::hash, std::equal_to, std::allocator<std::pair<long const, lanelet::Area> > > const&, std::unordered_map<long, std::shared_ptr, std::hash, std::equal_to, std::allocator<std::pair<long const, std::shared_ptr > > > const&, std::unordered_map<long, lanelet::Polygon3d, std::hash, std::equal_to, std::allocator<std::pair<long const, lanelet::Polygon3d> > > const&, std::unordered_map<long, lanelet::LineString3d, std::hash, std::equal_to, std::allocator<std::pair<long const, lanelet::LineString3d> > > const&, std::unordered_map<long, lanelet::Point3d, std::hash, std::equal_to, std::allocator<std::pair<long const, lanelet::Point3d> > > const&)' /home/tqf/autoware14_gpu.ai/install/op_simu/lib/libop_simu.so: undefined reference to UtilityHNS::LowpassFilter::Init(int const&, double const&, double const&)' /home/tqf/autoware_install/autoware_openplanner.1.15/install/op_planner/lib/libop_planner.so: undefined reference tolanelet::LaneletMap::~LaneletMap()' /home/tqf/autoware14_gpu.ai/install/op_simu/lib/libop_simu.so: undefined reference to `UtilityHNS::PIDController::ToString[abi:cxx11]()' collect2: error: ld returned 1 exit status make[2]: [devel/lib/ff_waypoint_follower/ff_waypoint_follower] Error 1 make[1]: [CMakeFiles/ff_waypoint_follower.dir/all] Error 2 make: * [all] Error 2 " How can I address?** 图片

xiaofeifei-1 commented 1 year ago

已经解决:将其他autoware版本屏蔽即可

hatem-darweesh commented 1 year ago

Translating: Solved: Just block other autoware versions There are two lanelet2 one with autoware and one also could be installing using ros-melodic. autoware use the original lanelet2 then extend it.