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

VTK Library directory not included for dependent packages #2

Closed
cottsay opened this issue Jan 29, 2013 · 1 comment
Closed

VTK Library directory not included for dependent packages #2

cottsay opened this issue Jan 29, 2013 · 1 comment

Comments

@cottsay
Copy link

cottsay commented Jan 29, 2013

In Ubuntu, the VTK libraries are directly in the lib(64) folder. In Fedora, they are in the vtk subdirectory, so the Catkin scripts can't find vtkCommon (among others) when dependent packages build. This is demonstrated in the cmake files generated by Catkin for pcl_ros. Any packages that then use pcl_ros will try to find vtkCommon in the system's normal library folder, and fail.

This may need be a feature request for Catkin for all I know.

As a temporary workaround, I modified PCLConfig.cmake.in to use the VTK_LIBRARY_DIRS to give absolute paths to vtkCommon (and others) so they look like ${VTK_LIBRARY_DIRS}/libvtkCommon.so, etc. This is kind of a hack, but it gets PCL compiling on Fedora.

@cottsay
Copy link
Author

cottsay commented Feb 5, 2014

Wow, I completely forgot about this. In any case, it must be fixed, haven't hit it in F19 or F20.

@cottsay cottsay closed this as completed Feb 5, 2014
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