How do I link to pcl::device functions (e.g pcl::device::bilateralFilter)?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How do I link to pcl::device functions (e.g pcl::device::bilateralFilter)?

michael@kallay.net

Dear pcl gurus,

I am getting unresolved external errors on functions such as pcl::device::bilateralFilter when building my dll which links to a static library in which I call them.  I could find no *device*.lib in my pcl\lib folder.  Since the documentation lists these functions under KinfuLs namespace, I tried to link my dll to pcl_gpu_kinfu_release.lib, to no avail.  Where do I find the binaries for these functions?  (Including this information in the documentation would be helpful).

Michael


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: How do I link to pcl::device functions (e.g pcl::device::bilateralFilter)?

Sérgio Agostinho

Hey.

Just some quick checks first:

- did you compile pcl from source?

- did you enable building cuda and gpu modules?


Cheers



On 28-01-2018 21:23, Michael Kallay wrote:

Dear pcl gurus,

I am getting unresolved external errors on functions such as pcl::device::bilateralFilter when building my dll which links to a static library in which I call them.  I could find no *device*.lib in my pcl\lib folder.  Since the documentation lists these functions under KinfuLs namespace, I tried to link my dll to pcl_gpu_kinfu_release.lib, to no avail.  Where do I find the binaries for these functions?  (Including this information in the documentation would be helpful).

Michael



_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How do I link to pcl::device functions (e.g pcl::device::bilateralFilter)?

michael@kallay.net
Thanks for your prompt response.
- Yes, I did compile pcl from source.
- I don't remember what I enabled.  The Visual Studio solution that was
generated and built does contain the cuda projects pcl_cuda_features,
pcl_cuda_sample_consnsus and pcl_cuda_segmentation, as well as the gpu
projects pcl gpu_containers, pcl_gpu_features, pcl_gpu_octree,
pcl_gpu_segmentation, pcl_gpu_surfacee, pcl_gpu_tracking and pcl_gpu_utils.
Are these the contents of the cuda and gpu modules?
- Anyway, do you happen to know the names of the .lib files that contains
the binaries of my missing functions?
Michael



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: How do I link to pcl::device functions (e.g pcl::device::bilateralFilter)?

Sérgio Agostinho

On 29-01-2018 02:26, [hidden email] wrote:
> Thanks for your prompt response.
> - Yes, I did compile pcl from source.
Did you compile the latest version in the master branch? There were
issues with the installation rules of this module which were addressed
in the post 1.8.1 development cycle.
> - I don't remember what I enabled.  The Visual Studio solution that was
> generated and built does contain the cuda projects pcl_cuda_features,
> pcl_cuda_sample_consnsus and pcl_cuda_segmentation, as well as the gpu
> projects pcl gpu_containers, pcl_gpu_features, pcl_gpu_octree,
> pcl_gpu_segmentation, pcl_gpu_surfacee, pcl_gpu_tracking and pcl_gpu_utils.
> Are these the contents of the cuda and gpu modules?
Yes they are.

> - Anyway, do you happen to know the names of the .lib files that contains
> the binaries of my missing functions?
Search the code tree or the documentation to find which files your
methods belong and then you can which files are in which modules
crawling through their respective CMakeFiles. Normally just by looking
at the relative path of the file it becomes immediately apparent.

Cheers



_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users

signature.asc (836 bytes) Download Attachment