Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 46

Compilation error building against binary Bouncy: could not find FastRTPS

$
0
0
I'm building a few packages against the new Bouncy release and I'm seeing a difference between a binary installation and another one from source. Namely, when I source the installation from source my package builds normally, but when I source the binary one it hits an error. I'm on Ubuntu 18.04. The error happens in a call to `rosidl_generate_interfaces`: rosidl_generate_interfaces(${PROJECT_NAME} msg/Test.msg srv/Test.srv DEPENDENCIES std_msgs) The error is: > CMake Error at> /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137> (message): Could NOT find FastRTPS> (missing: FastRTPS_INCLUDE_DIR> FastRTPS_LIBRARIES) Call Stack (most> recent call first): > /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378> (_FPHSA_FAILURE_MESSAGE) > /opt/ros/bouncy/share/fastrtps_cmake_module/cmake/Modules/FindFastRTPS.cmake:95> (find_package_handle_standard_args) > /opt/ros/bouncy/share/rmw_fastrtps_cpp/cmake/rmw_fastrtps_cpp-extras.cmake:20> (find_package) > /opt/ros/bouncy/share/rmw_fastrtps_cpp/cmake/rmw_fastrtps_cppConfig.cmake:30> (include) > /opt/ros/bouncy/share/rmw_implementation_cmake/cmake/call_for_each_rmw_implementation.cmake:61> (find_package) > /opt/ros/bouncy/share/rosidl_generator_py/cmake/rosidl_generator_py_get_typesupports.cmake:26> (call_for_each_rmw_implementation) > /opt/ros/bouncy/share/rosidl_generator_py/cmake/rosidl_generator_py_generate_interfaces.cmake:27> (rosidl_generator_py_get_typesupports)> /opt/ros/bouncy/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38> (include) > /opt/ros/bouncy/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:169> (ament_execute_extensions) > CMakeLists.txt:69> (rosidl_generate_interfaces) My sources can be found at [https://github.com/ada-ros](https://github.com/ada-ros). The package causing the error is [rosidl_generator_ada](https://github.com/ada-ros/rosidl_generator_ada). It's quite possible I'm doing something wrong in the CMakeLists.txt/package.xml because I'm not entirely confident on my understanding of ROS2 dependency tags. Thanks for any help.

Viewing all articles
Browse latest Browse all 46

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>