ethz-asl/fgsp

catkin can not be find when run colcon build in compile.sh

shenhm516 opened this issue · 1 comments

Hi,
I am interested in your excellent work. However, when I run ./deploy/build_docker.sh it throws an error:

--- stderr: catkin_simple
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Error at CMakeLists.txt:4 (find_package):
  By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "catkin", but
  CMake did not find one.

  Could not find a package configuration file provided by "catkin" with any
  of the following names:

    catkinConfig.cmake
    catkin-config.cmake

  Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set
  "catkin_DIR" to a directory containing one of the above files.  If "catkin"
  provides a separate development package or SDK, be sure it has been
  installed.

I try to install catkin-tools in docker manually but it still didn't work.
I search that it is because the package has been created for ROS1, but runs on ROS2.

Waiting for your reply!

LBern commented

Yes, catkin_simple is a deprecated dependency from the ROS1 days that we don't need anymore.
I removed it from the repo and added some fixes to the deployment scripts in #36.
Should be fine now.