Skip to content

Conversation

v4hn
Copy link
Contributor

@v4hn v4hn commented Aug 18, 2014

Please read the commit messages & #410 for details

v4hn added 2 commits August 18, 2014 15:51
upstream added libqhull_p.so in version 2012 which is compiled
_with_ -Dqh_QHpointer and changed libqhull.so to use -Dqh_QHpointer=0.

Only debian/ubuntu doesn't acknowledge this and still provides
libqhull.so with -Dqh_QHpointer=1.

Before this change PCL+QHULL_USE_STATIC=0 compiled with -Dqh_QHpointer,
but always linked libqhull.so. As explained this is the wrong choice on
qhull 2012 with non-debian systems.

Closes PointCloudLibrary#410
Projects which depend on PCL could link to a different libqhull
than the one used to build PCL. This can produce quite a headache
with the qhull/qhull_p distinction and should therefore be forbidden.
@taketwo
Copy link
Member

taketwo commented Aug 19, 2014

Great investigation! I think the fix is quite elegant. I did some experiments on my Arch box and here are the results:

PCL master PCL with proposed patch
QHull 2011 source OK OK
QHull 2012 source FAIL OK
QHull 2012 package manager FAIL OK

So from my side everything seems to be fine.
@jspricke?

jspricke added a commit that referenced this pull request Aug 19, 2014
Fix PCL with QHull 2012 on non-debian platforms
@jspricke jspricke merged commit bcb9e92 into PointCloudLibrary:master Aug 19, 2014
@v4hn v4hn deleted the fix-qhull_p branch August 20, 2014 12:54
v4hn added a commit to v4hn/geometric_shapes that referenced this pull request Mar 27, 2015
v4hn added a commit to v4hn/geometric_shapes that referenced this pull request Jun 15, 2016
v4hn added a commit to moveit/geometric_shapes that referenced this pull request Jun 15, 2016
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.

3 participants