ros catkin_make 会去找conda里的依赖

https://blog.csdn.net/qq_42946643/article/details/129060321

conda deactivate
然后删掉build devel重新编译解决下面问题

/media/ubuntu/G/anaconda/lib/libQt5Widgets.so.5.15.2:对‘std::pmr::monotonic_buffer_resource::~monotonic_buffer_resource()@GLIBCXX_3.4.28’未定义的引用
/media/ubuntu/G/anaconda/lib/libQt5Widgets.so.5.15.2:对‘vtable for std::pmr::monotonic_buffer_resource@GLIBCXX_3.4.28’未定义的引用
/media/ubuntu/G/anaconda/lib/libQt5Core.so.5.15.2:对‘std::__exception_ptr::exception_ptr::_M_release()@CXXABI_1.3.13’未定义的引用
/media/ubuntu/G/anaconda/lib/libQt5Widgets.so.5.15.2:对‘std::pmr::get_default_resource()@GLIBCXX_3.4.26’未定义的引用
/media/ubuntu/G/anaconda/lib/libQt5Widgets.so.5.15.2:对‘std::__throw_bad_array_new_length()@GLIBCXX_3.4.29’未定义的引用
/media/ubuntu/G/anaconda/lib/libQt5Core.so.5.15.2:对‘std::__exception_ptr::exception_ptr::_M_addref()@CXXABI_1.3.13’未定义的引用

你可能感兴趣的:(ros)