[vtkusers] VTK Error

Sanjin Pajo sanjin.pajo at gmail.com
Tue Aug 15 15:42:09 EDT 2017


I am installing Point Cloud Library (PCL 1.8.1) from source and it requires
VTK. During the installation I get mismatch errors in Visual Studio 2015
when building in debug and release mode. I am using CMAKE to configure and
generate build files.

Examples:

Error LNK2038 mismatch detected for 'RuntimeLibrary': value
'MDd_DynamicDebug' doesn't match value 'MD_DynamicRelease' in
hdl_viewer_simple.obj pcl_hdl_viewer_simple C:\PCL\PCL-1.8.1\build\
visualization\tools\vtkRenderingContextOpenGL2-7.1-gd.lib(
vtkRenderingContextOpenGL2ObjectFactory.obj) 1


Error LNK2038 mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2'
doesn't match value '0' in outofcore_viewer.obj pcl_outofcore_viewer
C:\PCL\PCL-1.8.1\build\outofcore\tools\vtkInteractionStyle-7.1-gd.lib(
vtkInteractionStyleObjectFactory.obj) 1

Any help is greatly appreciated.

Sanjin P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170815/69a8cb1a/attachment.html>


More information about the vtkusers mailing list