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

PCL build issue in tesseract_motion_planning #128

Closed
mpowelson opened this issue Sep 20, 2019 · 2 comments
Closed

PCL build issue in tesseract_motion_planning #128

mpowelson opened this issue Sep 20, 2019 · 2 comments

Comments

@mpowelson
Copy link
Contributor

mpowelson commented Sep 20, 2019

The issue has been fixed in 1.9.1 PointCloudLibrary/pcl#2626. This is only an issue if you are stuck pre-1.8.1 for some reason (ie using the version that comes with Kinetic)

When POLICY CMP0074 is true and PCL_TO_FIND_COMPONENTS is false then the cmake_policy(POP) does not get called.

The solution is to do what they did in the PR. Go into PCLConfig.cmake and change

if(NOT PCL_TO_FIND_COMPONENTS)
  return()
endif()

to

if(NOT PCL_TO_FIND_COMPONENTS)
  if(POLICY CMP0074)
    cmake_policy(POP)
  endif()
  return()
endif()
@mpowelson
Copy link
Contributor Author

@Levi-Armstrong This seems like this could effect a lot of people. I need to look into what the policy means and when you would have that enables

@mpowelson
Copy link
Contributor Author

It looks like this bug was introduced in 1.9.0 This should only occur if you installed from source since it was fixed in 1.9.1

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

No branches or pull requests

1 participant