A new workspace is created and catkin_make gives the following error:
Base path: /home/caohaojie/ros_ws Source space: /home/caohaojie/ros_ws/src Build space: /home/caohaojie/ros_ws/build Devel space: /home/caohaojie/ros_ws/devel Install space: /home/caohaojie/ros_ws/install #### #### Running command: "cmake /home/caohaojie/ros_ws/src -DCATKIN_DEVEL_PREFIX=/home/caohaojie/ros_ws/devel -DCMAKE_INSTALL_PREFIX=/home/caohaojie/ros_ws/install -G Unix Makefiles" in "/home/caohaojie/ros_ws/build" #### -- The C compiler identification is GNU 9.3.0 -- The CXX compiler identification is GNU 9.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:22 (message): Search for 'catkin' in workspace failed (catkin_find_pkg catkin /home/caohaojie/ros_ws/src): Traceback (most recent call last): File "/home/caohaojie/.local/bin/catkin_find_pkg", line 5, in <module> from pkg_resources import load_entry_point File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2603, in <module> File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 666, in require File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 565, in resolve pkg_resources.DistributionNotFound: pyparsing -- Configuring incomplete, errors occurred! See also "/home/caohaojie/ros_ws/build/CMakeFiles/CMakeOutput.log". Invoking "cmake" failed
Solution:
Downgrade the version of catkin-pkg
$pip3 install catkin-pkg==0.4.16
Read More:
- Ubuntu20.04 install the ROS noetic version in catkin_Problems in make compilation
- [Solved] catkin_make error: CMake Error at CMakeLists.txt:1:
- [Solved] Jetson Nano catkin_make Error: internal compiler error
- petalinux-build Error: ERROR: Task (/opt/pkg/petalinux/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb:do_compile) failed with exit code ‘1’
- [Solved] NIC cannot be generated vf, intel/mellanox, write error: Cannot allocate memory “not enough MMIO resources for SR-IOV”
- [Solved] Linux Kernel Compile Error: make menuconfig‘ requires the ncurses libraries
- Make update-api Error: ckati failed with: signal: killed
- [Solved] Error during installation of nginx: Make: * * * [build] error 2
- [Solved] make menuconfig Error: recipe for target ‘menuconfig‘ failed
- [Solved] Doris 5 Doris_core Run make Error: bk_messages.hh:214:26 error: invalid conversion from ‘char‘ …
- Linux Error: CMake Error in CMakeLists.txt: No CMAKE_CXX_COMPILER could be found.
- Fastplanner compilation error: Could not find a package configuration file provided by “cmake_modules”
- How to Solve dyn_small_obs_avoidance Compile Error (eigen version Issue)
- [Solved] pxp_lib.h:19:10: fatal error: linux/pxp_device.h: No such file or directory
- MAC: Clion configure C compiler Error: The C compiler identification is unknown
- NXP mx8 Platform tensorflow-lite build error [How to Solve]
- [Solved] ERROR: Subproject directory not found and gst-plugins-base.wrap file not found
- arm-eabi-gcc: command not found [How to Solve]
- [Solved] Ubuntu Eclipse C/C++ Error: launch failed.binary not found
- How to fix the ERROR: Failed to build gem native extension in Centos 8