Open mikolodz opened 7 months ago
I'm sorry to be late to find your issue.
The error means you forgot to call protoc
to automatically generate the client codes before colcon build
.
CMake Error at /opt/ros/humble/share/ament_cmake_auto/cmake/ament_auto_add_library.cmake:66 (add_library):
Cannot find source file:
gen-src/kachaka-api.grpc.pb.cc
Please refer the following links and generate them first.
https://github.com/pf-robotics/kachaka-api/blob/main/Dockerfile.ros2#L77-L81 https://speakerdeck.com/youtalk/jia-ting-yong-zi-lu-yi-dong-robotuto-katiyaka-nokai-fa-zhe-apigong-kai-to-ros-2intahueisushi-zhuang?slide=28
Hello, I'm having trouble building the kachaka ros2 project on Ubuntu 22.04, ROS2 Humble. I would really appreciate some help to make it working.
In .bashrc file, I'm sourcing both ros2 and kachaka ros2 libs: