Findfoonathan_memory [closed]
Dear all, Anyone can help on below compile issue for ROS2 galactic ? Thanks a lot in advance.
Finished <<< rmw_implementation [1.01s]
Starting >>> rcl
--- stderr: example_interfaces
CMake Error at /home/super/ros2_galactic_src/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.
Call Stack (most recent call first):
/home/super/ros2_galactic_src/install/rosidl_typesupport_fastrtps_c/share/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_c-extras.cmake:6 (find_package)
/home/super/ros2_galactic_src/install/rosidl_typesupport_fastrtps_c/share/rosidl_typesupport_fastrtps_c/cmake/rosidl_typesupport_fastrtps_cConfig.cmake:41 (include)
/home/super/ros2_galactic_src/install/rosidl_typesupport_c/share/rosidl_typesupport_c/cmake/rosidl_typesupport_c-extras.cmake:13 (find_package)
/home/super/ros2_galactic_src/install/rosidl_typesupport_c/share/rosidl_typesupport_c/cmake/rosidl_typesupport_cConfig.cmake:41 (include)
/home/super/ros2_galactic_src/install/rosidl_default_generators/share/rosidl_default_generators/cmake/rosidl_default_generators-extras.cmake:21 (find_package)
/home/super/ros2_galactic_src/install/rosidl_default_generators/share/rosidl_default_generators/cmake/rosidl_default_generatorsConfig.cmake:41 (include)
CMakeLists.txt:14 (find_package)
---
Failed <<< example_interfaces [0.55s, exited with code 1]
Aborted <<< rcl [1.89s]
Please take a look at this thread and suggested fix:
https://github.com/eProsima/Fast-DDS/...
Great thanks osilva! This issue has been resolved with the fix you provided.