根据lanelet2的安装指南,我试图安装https://github.com/fzi-forschungszentrum-informatik/Lanelet2库。
当我执行catkin构建时,会得到以下错误:
Errors << lanelet2_python:cmake /home/student/catkin_ws/logs/lanelet2_python/build.cmake.000.log
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package):
Could not find a package configuration file provided by "boost_python3"
(requested version 1.71.0) with any of the following names:
boost_python3Config.cmake
boost_python3-config.cmake
Add the installation prefix of "boost_python3" to CMAKE_PREFIX_PATH or set
"boost_python3_DIR" to a directory containing one of the above files. If
"boost_python3" provides a separate development package or SDK, be sure it
has been installed.
我的操作系统是Ubuntu20.04,带有ROS注音。构建是在具有PythonVersion3.8.10的venv中执行的。
命令python指向python3。我还安装了以下依赖项:
sudo apt-get install ros-noetic-rospack ros-noetic-catkin ros-noetic-mrt-cmake-modules
sudo apt-get install libboost-dev libeigen3-dev libgeographic-dev libpugixml-dev libpython3-dev libboost-python-dev python3-catkin-tools
有人知道如何解决这个错误吗?
发布于 2022-10-26 13:40:28
参见“中和鱼”在https://github.com/ethz-asl/kalibr/issues/368#issuecomment-651726289的评论
/kalibr/Schweizer-Messer/numpy_eigen/cmake/add_python_export_library.cmake:89变更列表(
BOOST_COMPONENTS python3)到list(追加BOOST_COMPONENTS python)
https://stackoverflow.com/questions/69719159
复制相似问题