问题遇到的现象和发生背景
VMware虚拟机ubuntu安装摄像头驱动
根据https://blog.csdn.net/qq_58060770/article/details/122373233
catkin_make出错无法继续
问题相关代码,请勿粘贴截图
catkin_make
运行结果及报错内容
fengyufeng@fengyufeng-virtual-machine:~/catkin_ws$ catkin_make
Base path: /home/fengyufeng/catkin_ws
Source space: /home/fengyufeng/catkin_ws/src
Build space: /home/fengyufeng/catkin_ws/build
Devel space: /home/fengyufeng/catkin_ws/devel
Install space: /home/fengyufeng/catkin_ws/install
Creating symlink "/home/fengyufeng/catkin_ws/src/CMakeLists.txt" pointing to "/usr/share/catkin/cmake/toplevel.cmake"
Running command: "cmake /home/fengyufeng/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/fengyufeng/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/fengyufeng/catkin_ws/install -G Unix Makefiles" in "/home/fengyufeng/catkin_ws/build"
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:6 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/home/fengyufeng/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/fengyufeng/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
我的解答思路和尝试过的方法
改为catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3仍报错
我想要达到的结果
如何解决catkin_make继续安装