Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grid_map_pcl and grid_map_sdf warnings with COMP0144 #441

Open
Ryanf55 opened this issue Feb 17, 2024 · 2 comments
Open

grid_map_pcl and grid_map_sdf warnings with COMP0144 #441

Ryanf55 opened this issue Feb 17, 2024 · 2 comments
Assignees
Labels
bug ros2 Affects ROS 2
Milestone

Comments

@Ryanf55
Copy link
Collaborator

Ryanf55 commented Feb 17, 2024

Background

Building grid_map_pcl and grid_map_sdf shows these warnings related to how PCL and FLANN are found. This needs to be fixed by Jazzy which comes with CMake 3.28.

Environement

  • ROS 2 rolling
  • CMake 3.28
  • Ubuntu 22.04

Logs

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:146 (find_package):
  Policy CMP0144 is not set: find_package uses upper-case <PACKAGENAME>_ROOT
  variables.  Run "cmake --help-policy CMP0144" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  CMake variable EIGEN_ROOT is set to:

    /usr/include/eigen3

  For compatibility, find_package is ignoring the variable, but code in a
  .cmake module might still use it.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:299 (find_eigen)
  /usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:543 (find_external_library)
  CMakeLists.txt:10 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/pcl/Modules/FindFLANN.cmake:44 (find_package):
  Policy CMP0144 is not set: find_package uses upper-case <PACKAGENAME>_ROOT
  variables.  Run "cmake --help-policy CMP0144" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  CMake variable FLANN_ROOT is set to:

    /usr

  For compatibility, find_package is ignoring the variable, but code in a
  .cmake module might still use it.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:256 (find_package)
  /usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:301 (find_flann)
  /usr/lib/x86_64-linux-gnu/cmake/pcl/PCLConfig.cmake:543 (find_external_library)
  CMakeLists.txt:10 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

** WARNING ** io features related to pcap will be disabled

@Ryanf55 Ryanf55 added bug ros2 Affects ROS 2 labels Feb 17, 2024
@Ryanf55 Ryanf55 added this to the 2.2.0 milestone Feb 17, 2024
@jtaveau
Copy link

jtaveau commented Feb 20, 2024

Hey @Ryanf55, I can check this one.

@Ryanf55
Copy link
Collaborator Author

Ryanf55 commented Feb 20, 2024

Help would be appreciated as long as you can get it done soon (this week). I'm hoping to release 2.2.0 by the end of the week as pretty much all the other issues are done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ros2 Affects ROS 2
Projects
None yet
Development

No branches or pull requests

2 participants