Using External Libraries in HDK

   834   1   1
User Avatar
Member
9 posts
Joined: June 2015
Offline
Hi,

I am using HDK to make a SOP that will perform a concave hull function on a given set of points.
I am attempting to use an external library, Point Cloud Library (PCL) http://docs.pointclouds.org/1.7.2/index.html. [docs.pointclouds.org]
However, when I build the hdk node I run into a problem.
It compiles just fine but does not actually come up in houdinifx.
This seems to be caused by a constructor of a class in PCL on line 94.
When I comment out this section, referring to the pcl::ConcaveHull… chull, the node compiles and is visible in houdinifx.
I attached the file.

Does anyone know if I am missing something that I should be doing in order to use this library.
I know it has quite a few dependencies of its own, but I have gone through and installed all those as well.
Any help would be much appreciated.
Thanks.

Attachments:
SOP_ConcaveHull.C (3.2 KB)

User Avatar
Member
173 posts
Joined: April 2014
Offline
Sometimes these failures are path related. Make sure the library you are linking to your SOP is in PATH or is visible to Houdini otherwise.
  • Quick Links