Closed zhouwuxiong closed 3 months ago
when I compile in docker, get CMake error from catkin.environment_cache import generate_environment_script ... import Error: No model named catkin
fix it: add catkin path in CMakefile.txt
reference: https://github.com/catkin/catkin_tools/pull/391 @FransGH
if you have the same error , you can try it
when I compile in docker, get CMake error from catkin.environment_cache import generate_environment_script ... import Error: No model named catkin
fix it: add catkin path in CMakefile.txt
list(APPEND CMAKE_PREFIX_PATH "/opt/ros/noetic/share/catkin") list(APPEND CMAKE_PREFIX_PATH "/opt/ros/noetic") list(APPEND CMAKE_PREFIX_PATH "/opt/ros/noetic/share/catkin/cmake")
reference: https://github.com/catkin/catkin_tools/pull/391 @FransGH
if you have the same error , you can try it