Error on generating docker image
alemando opened this issue · 4 comments
Hello, i'm getting this error when Building the Docker container
cd ros2_docker docker build -t unity-robotics:nav2-slam-example ./
--- stderr: ros_tcp_endpoint
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'm following the steps but get this error, i'm searching for a solution with de catkin config, if you can help me, i appreciate it
i'm running this on windows 10, docker version 3.6
Hi @alemando - did you make alterations to the Dockerfile, ros2-setup.bash file, or the ros_tcp_endpoint directory before attempting to build? This example was built against ROS2, but catkin is the ROS(1) build tool.
Hi @mrpropellers , just follow the instructions and that error appear when trying to build ros_tcp_endpoint package, if you need more information about it tell me how i can help you
I will try to reproduce this issue and let you know what I find. In the meantime, can you confirm that you are using the most recent commit from the main
branch of this repository, and that you have checked out the ros_tcp_endpoint submodule either by using --recurse-submodules
when you first checked out the package, or by using git submodule update --init --recursive
in the git repository?
Hi, i i delete all and start again and all is ok, now docker is working, i didnt change those files in that try, thanks for your time.