Error shows this:
CMake Error at CMakeLists.txt:7 (find_package):
By not providing "Findrclc.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "rclc", but
CMake did not find one.
Could not find a package configuration file provided by "rclc" with any of
the following names:
rclcConfig.cmake
rclc-config.cmake
Add the installation prefix of "rclc" to CMAKE_PREFIX_PATH or set
"rclc_DIR" to a directory containing one of the above files. If "rclc"
provides a separate development package or SDK, be sure it has been
installed.
CMake Error at CMakeLists.txt:7 (find_package):
By not providing "Findrclc.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "rclc", but
CMake did not find one.
Could not find a package configuration file provided by "rclc" with any of
the following names:
rclcConfig.cmake
rclc-config.cmake
Add the installation prefix of "rclc" to CMAKE_PREFIX_PATH or set
"rclc_DIR" to a directory containing one of the above files. If "rclc"
provides a separate development package or SDK, be sure it has been
installed.
gmake[2]: [CMakeFiles/int32_publisher.dir/build.make:92: int32_publisher/src/int32_publisher-stamp/int32_publisher-configure] Error 1
gmake[1]: [CMakeFiles/Makefile2:267: CMakeFiles/int32_publisher.dir/all] Error 2
gmake[1]: Waiting for unfinished jobs....
gmake[2]: [CMakeFiles/addtwoints_client.dir/build.make:92: addtwoints_client/src/addtwoints_client-stamp/addtwoints_client-configure] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:397: CMakeFiles/addtwoints_client.dir/all] Error 2
CMake Error at CMakeLists.txt:7 (find_package):
By not providing "Findrclc.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "rclc", but
CMake did not find one.
Could not find a package configuration file provided by "rclc" with any of
the following names:
rclcConfig.cmake
rclc-config.cmake
Add the installation prefix of "rclc" to CMAKE_PREFIX_PATH or set
"rclc_DIR" to a directory containing one of the above files. If "rclc"
provides a separate development package or SDK, be sure it has been
installed.
Issue template
Steps to reproduce the issue
I try to add your code file to my microros_ws file i get from this : git clone -b $ROS_DISTRO https://github.com/micro-ROS/micro_ros_setup.git src/micro_ros_setup.
I add your code file to directory : Home / microros_ws / src / uros
Expected behavior
The building will works. As I want to try this code:
`source /opt/ros/$ROS_DISTRO/setup.bash source install/local_setup.bash
export RMW_IMPLEMENTATION=rmw_microxrcedds
ros2 run micro_ros_demos_rclc ping_pong`
Actual behavior
Error shows this: CMake Error at CMakeLists.txt:7 (find_package): By not providing "Findrclc.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "rclc", but CMake did not find one.
Could not find a package configuration file provided by "rclc" with any of the following names:
Add the installation prefix of "rclc" to CMAKE_PREFIX_PATH or set "rclc_DIR" to a directory containing one of the above files. If "rclc" provides a separate development package or SDK, be sure it has been installed.
CMake Error at CMakeLists.txt:7 (find_package): By not providing "Findrclc.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "rclc", but CMake did not find one.
Could not find a package configuration file provided by "rclc" with any of the following names:
Add the installation prefix of "rclc" to CMAKE_PREFIX_PATH or set "rclc_DIR" to a directory containing one of the above files. If "rclc" provides a separate development package or SDK, be sure it has been installed.
gmake[2]: [CMakeFiles/int32_publisher.dir/build.make:92: int32_publisher/src/int32_publisher-stamp/int32_publisher-configure] Error 1 gmake[1]: [CMakeFiles/Makefile2:267: CMakeFiles/int32_publisher.dir/all] Error 2 gmake[1]: Waiting for unfinished jobs.... gmake[2]: [CMakeFiles/addtwoints_client.dir/build.make:92: addtwoints_client/src/addtwoints_client-stamp/addtwoints_client-configure] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:397: CMakeFiles/addtwoints_client.dir/all] Error 2 CMake Error at CMakeLists.txt:7 (find_package): By not providing "Findrclc.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "rclc", but CMake did not find one.
Could not find a package configuration file provided by "rclc" with any of the following names:
Add the installation prefix of "rclc" to CMAKE_PREFIX_PATH or set "rclc_DIR" to a directory containing one of the above files. If "rclc" provides a separate development package or SDK, be sure it has been installed.
Additional information
Help