码迷,mamicode.com
首页 > 其他好文 > 详细

Solve Error Debug Assertion Failed Expression vector iterators incompatible Using PCL in Release Mode of VS2010

时间:2015-04-28 07:06:53      阅读:258      评论:0      收藏:0      [点我收藏+]

标签:

 

When using PCL 1.4.0 in the release mode building under VS2010, we might sometime get the error "Debug Assertion Failed Expression vector iterators incompatible" as following shows:

 

技术分享

 

The error happens because you linked debug mode dlls but building with release mode.

The way to solve this problem is by doing following:

Go to Linker -> Input -> Additional Dependencies:

libboost_system-vc100-mt-1_47.lib
libboost_filesystem-vc100-mt-1_47.lib
libboost_thread-vc100-mt-1_47.lib
libboost_date_time-vc100-mt-1_47.lib
libboost_iostreams-vc100-mt-1_47.lib
pcl_common.lib
pcl_octree.lib
openNI.lib
vtkCommon.lib
vtkRendering.lib
vtkHybrid.lib
pcl_io.lib
pcl_sample_consensus.lib
flann_cpp_s.lib
pcl_kdtree.lib
pcl_search.lib
pcl_filters.lib
pcl_segmentation.lib
pcl_range_image.lib
pcl_visualization.lib
pcl_features.lib
qhullstatic.lib
pcl_surface.lib
pcl_registration.lib
pcl_keypoints.lib
pcl_apps.lib
vtkGraphics.lib
vtkverdict.lib
vtkImaging.lib
vtkIO.lib
vtkFiltering.lib
vtkDICOMParser.lib
vtkNetCDF_cxx.lib
vtkmetaio.lib
vtksys.lib
ws2_32.lib
comctl32.lib
wsock32.lib
vtksqlite.lib
vtkpng.lib
vtktiff.lib
vtkzlib.lib
vtkjpeg.lib
vtkexpat.lib
vtkftgl.lib
vtkfreetype.lib
opengl32.lib
vtkexoIIc.lib
vtkNetCDF.lib
vfw32.lib

 

Solve Error Debug Assertion Failed Expression vector iterators incompatible Using PCL in Release Mode of VS2010

标签:

原文地址:http://www.cnblogs.com/grandyang/p/4461920.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!