Solve Error Debug Assertion Failed Expression vector iterators incompatible Using PCL in Release Mod...

 

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

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值