Cmake error - catkin_virtualenv
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
'catkin_generate_virtualenv'
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!
Asked by noname on 2022-07-21 09:49:21 UTC
Comments
Does Mixing non virtualenv packages with virtualenv packages help?
Asked by abhishek47 on 2022-07-24 08:53:10 UTC
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.
Asked by noname on 2022-07-25 15:52:01 UTC