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

Wrong CMakeLists.txt for recognition model causes incorrect installation of ObjRecRANSAC module #245

Merged
merged 5 commits into from
Sep 30, 2013

Conversation

musi00
Copy link
Contributor

@musi00 musi00 commented Sep 5, 2013

recognition/CMakeLists.txt causes installation of ransac_based/ files to be installed under recognition/ directly instead of being installed in the subdirectory ransac_based/. This breaks the ObjRecRansac code files because they try to include headers in the ransac_based/ subfolder.

corrected CMakeLists.txt file to install files under ransac_based/
Create headers at the wrong locations that include headers at the correct location and print out a deprecation warning specifying that the user should change their include path to the new location.

…rs at old locations which include the headers at the new locations and deprecation warnings.
…de the new ones. Only the new header files were installed in the previous commit
include/pcl/${SUBSYS_NAME}/impl/ransac_based/simple_octree.hpp
include/pcl/${SUBSYS_NAME}/impl/ransac_based/voxel_structure.hpp
include/pcl/${SUBSYS_NAME}/impl/implicit_shape_model.hpp
#include/pcl/${SUBSYS_NAME}/impl/ransac_based/simple_octree.hpp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this commented?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would imagine users with old code would include the header files (.h) but not include the (.hpp) files directly so what would be the use of having these files?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .hpp are needed to compile the templated code, for example with a new point type. I would propose to keep all old files and remove them all together in the future.

jspricke added a commit that referenced this pull request Sep 30, 2013
Wrong CMakeLists.txt for recognition model causes incorrect installation of ObjRecRANSAC module
@jspricke jspricke merged commit 9467d60 into PointCloudLibrary:master Sep 30, 2013
aPonza pushed a commit to aPonza/pcl that referenced this pull request Apr 11, 2020
truhoang pushed a commit to truhoang/pcl that referenced this pull request Jun 30, 2020
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

Successfully merging this pull request may close these issues.

2 participants