Cmake error - catkin_virtualenv [closed]

asked 2022-07-21 09:49:21 -0500

Hi there,

I installed ros-noetic-catkin-virtualenv using command sudo apt install ros-noetic-catkin-virtualenv. Then when I did catkin_make, it started giving me the following cmake error message.

-- +++ processing catkin package: 'tf2_kdl'
-- ==> add_subdirectory(geometry2/tf2_kdl)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at /opt/ros/noetic/share/catkin_virtualenv/cmake/catkin_install_python.cmake:30 (message):
  tf2_kdl loaded catkin_virtualenv, but never invoked
Call Stack (most recent call first):
  geometry2/tf2_kdl/CMakeLists.txt:40 (catkin_install_python)

-- Configuring incomplete, errors occurred!
See also "/home/yuxiang/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/yuxiang/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [Makefile:18226: cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

If I uninstall catkin-virtualenv, the catkin_make will run successfully. However another package I was trying to install depends upon catkin-virtualenv.

Any help or suggestion would be much appreciated!

edit retag flag offensive reopen merge delete

Closed for the following reason too localized by noname
close date 2022-07-25 15:52:50.483598


Not really, the repo owner redirected me to ask the question here. For a temporary solution, I have to start a new workspace from scratch.

noname gravatar image noname  ( 2022-07-25 15:52:01 -0500 )edit