<div dir="ltr">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.<div><br></div><div>Examples: </div><div><br><div><div>Error<span style="white-space:pre-wrap">      </span>LNK2038<span style="white-space:pre-wrap"> </span>mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MD_DynamicRelease' in hdl_viewer_simple.obj<span style="white-space:pre-wrap">   </span>pcl_hdl_viewer_simple<span style="white-space:pre-wrap">   </span>C:\PCL\PCL-1.8.1\build\<wbr>visualization\tools\<wbr>vtkRenderingContextOpenGL2-7.<wbr>1-gd.lib(<wbr>vtkRenderingContextOpenGL2Obje<wbr>ctFactory.obj)<span style="white-space:pre-wrap">    </span>1<span style="white-space:pre-wrap">       </span></div><div><br></div><div><div><br></div><div>Error<span style="white-space:pre-wrap">       </span>LNK2038<span style="white-space:pre-wrap"> </span>mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in outofcore_viewer.obj<span style="white-space:pre-wrap">    </span>pcl_outofcore_viewer<span style="white-space:pre-wrap">    </span>C:\PCL\PCL-1.8.1\build\<wbr>outofcore\tools\<wbr>vtkInteractionStyle-7.1-gd.<wbr>lib(<wbr>vtkInteractionStyleObjectFacto<wbr>ry.obj)<span style="white-space:pre-wrap">      </span>1<span style="white-space:pre-wrap">       </span></div></div><div><br></div><div>Any help is greatly appreciated.</div><div><br></div><div>Sanjin P.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><br></div><div> </div></div></div></div></div>