[ros-users] [Discourse.ros.org] [Next Generation ROS] Find p…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Arunava Nag via ros-users
Dato:  
Til: ros-users
CC: Arunava Nag
Emne: [ros-users] [Discourse.ros.org] [Next Generation ROS] Find package rclcpp throwing Cmake Error


Hello,

My project in ros2 has

`find_package(rclcpp REQUIRED)`

which is throwing all this build error:

    CMake Warning (dev) at /opt/ros/ardent/share/ament_cmake_core/cmake/core/list_append_unique.cmake:30 (if):
      Policy CMP0057 is not set: Support new IN_LIST if() operator.  Run "cmake
      --help-policy CMP0057" for policy details.  Use the cmake_policy command to
      set the policy and suppress this warning.


      IN_LIST will be interpreted as an operator when the policy is set to NEW.
      Since the policy is not set the OLD behavior will be used.
    Call Stack (most recent call first):
      /opt/ros/ardent/share/rclcpp/cmake/ament_cmake_export_dependencies-extras.cmake:36 (list_append_unique)
      /opt/ros/ardent/share/rclcpp/cmake/rclcppConfig.cmake:30 (include)
      CMakeLists.txt:24 (find_package)
    This warning is for project developers.  Use -Wno-dev to suppress it.


    CMake Error at /opt/ros/ardent/share/ament_cmake_core/cmake/core/list_append_unique.cmake:30 (if):
      if given arguments:


        "NOT" "element" "IN_LIST" "rclcpp_RECURSIVE_DEPENDENCIES"


      Unknown arguments specified
    Call Stack (most recent call first):
      /opt/ros/ardent/share/rclcpp/cmake/ament_cmake_export_dependencies-extras.cmake:36 (list_append_unique)
      /opt/ros/ardent/share/rclcpp/cmake/rclcppConfig.cmake:30 (include)
      CMakeLists.txt:24 (find_package)


What could be wrong?





---
[Visit Topic](https://discourse.ros.org/t/find-package-rclcpp-throwing-cmake-error/3864/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>