Visualization missing from PCL_LIBRARIES

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

Visualization missing from PCL_LIBRARIES

RedDave
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Visualization missing from PCL_LIBRARIES

Sérgio Agostinho
Sounds like bug. If you haven't filed a bug report already send one please.


Cheers


On 10-01-2018 13:40, RedDave wrote:

> I have followed (a slightly adapted) the PCL visualization tutorial.
>
> My CMakeLists.txt contains the standard line
>
>      target_link_libraries(cloud_viewer ${PCL_LIBRARIES})
>
> But when I build I get an unresolved external for various pcl::visualization
> items.
>
> Adding the following fixes this
>
>      target_link_libraries(cloud_viewer debug pcl_visualization_debug.lib)
>      target_link_libraries(cloud_viewer optimized
> pcl_visualization_release.lib)
>
> So, I have my solution.  But I would like to understand why these libraries
> are not included as part of PCL_LIBRARIES.  i.e. why the unmodified tutorial
> code does not work for me.
>
> I think I have this code working previously under Ubuntu (that set up no
> longer easily available to check).
> I am now using Visual Studio 2017 under Windows 10.  Compiling for x64.
> i.e. using cmake -A x64 ..
>
> Any ideas?
>
>
>
> --
> Sent from: http://www.pcl-users.org/
> _______________________________________________
> [hidden email] / http://pointclouds.org
> http://pointclouds.org/mailman/listinfo/pcl-users

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