Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CMake Error: /catkin_ws/build/catkin/catkin_generated/version/package.cmake returned error code No such file or directory

I'm trying to do catkin_make with python3 on Arch Linux, but I get this error: CMake Error at /opt/ros/melodic/share/catkin/cmake/safe_execute_process.cmake:11 (message): execute_process(/home/oskar/workspace/catkin_ws/build/python3 "/opt/ros/melodic/share/catkin/cmake/parse_package_xml.py" "/opt/ros/melodic/share/catkin/cmake/../package.xml" "/home/oskar/workspace/catkin_ws/build/catkin/catkin_generated/version/package.cmake") returned error code No such file or directory Call Stack (most recent call first): /opt/ros/melodic/share/catkin/cmake/catkin_package_xml.cmake:74 (safe_execute_process) /opt/ros/melodic/share/catkin/cmake/all.cmake:167 (_catkin_package_xml) /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:20 (include) CMakeLists.txt:56 (find_package) Can anyone please help me solving this issue, seems some part of catkin wasn't generated before.

CMake Error: /catkin_ws/build/catkin/catkin_generated/version/package.cmake returned error code No such file or directory

I'm trying to do catkin_make with python3 on Arch Linux, but I get this error: error:

 CMake Error at /opt/ros/melodic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
  execute_process(/home/oskar/workspace/catkin_ws/build/python3
  "/opt/ros/melodic/share/catkin/cmake/parse_package_xml.py"
  "/opt/ros/melodic/share/catkin/cmake/../package.xml"
  "/home/oskar/workspace/catkin_ws/build/catkin/catkin_generated/version/package.cmake")
  returned error code No such file or directory
Call Stack (most recent call first):
  /opt/ros/melodic/share/catkin/cmake/catkin_package_xml.cmake:74 (safe_execute_process)
  /opt/ros/melodic/share/catkin/cmake/all.cmake:167 (_catkin_package_xml)
  /opt/ros/melodic/share/catkin/cmake/catkinConfig.cmake:20 (include)
  CMakeLists.txt:56 (find_package)

Can anyone please help me solving this issue, seems some part of catkin wasn't generated before.