# ROS 2 master をビルドした環境にパスを通す
. ros2_ws/install-master/local_setup.sh
git clone https://c3.isp.co.jp/gitbucket/git/y-okumura/ros2_hello_worlds.git
cd ros2_hello_worlds/rclcpp
colcon build
--- stderr: message
CMake Error at /ros2_ws/install/fastrtps/share/fastrtps/cmake/fastrtps-config.cmake:50 (find_package):
By not providing "Findfoonathan_memory.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"foonathan_memory", but CMake did not find one.
Could not find a package configuration file provided by "foonathan_memory"
with any of the following names:
foonathan_memoryConfig.cmake
foonathan_memory-config.cmake
Add the installation prefix of "foonathan_memory" to CMAKE_PREFIX_PATH or
set "foonathan_memory_DIR" to a directory containing one of the above
files. If "foonathan_memory" provides a separate development package or
SDK, be sure it has been installed.
. build/local_setup.sh
# rclcpp
./build/rclcpp_pubsub/talker_rclcpp
./build/rclcpp_pubsub/listener_rclcpp
# rcl
./build/rcl_pubsub/talker_rcl
./build/rcl_pubsub/listener_rcl
# rmw
./build/rmw_pubsub/talker_rmw
./build/rmw_pubsub/listener_rmw
# FastRTPS
./build/fastrtps_pubsub/talker_fastrtps
./build/fastrtps_pubsub/listener_fastrtps