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

本文涉及的产品
文本翻译,文本翻译 100万字符
语种识别,语种识别 100万字符
文档翻译,文档翻译 1千页
简介:

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

本文转自博客园Grandyang的博客,原文链接:Solve Error Debug Assertion Failed Expression vector iterators incompatible Using PCL in Release Mode of VS2010,如需转载请自行联系原博主。

目录
打赏
0
0
0
0
5351
分享
相关文章
HALCON error #1201: Wrong type of control parameter: 1 in operator threshold
HALCON error #1201: Wrong type of control parameter: 1 in operator threshold
“error“: { “root_cause“: [{ “type“: “circuit_breaking_exception“, “reason“: “[parent] D【已解决】
“error“: { “root_cause“: [{ “type“: “circuit_breaking_exception“, “reason“: “[parent] D【已解决】
65 1
【已解决】RuntimeError: CUDA error: device-side assert triggeredCUDA kernel errors might be asynchronous
【已解决】RuntimeError: CUDA error: device-side assert triggeredCUDA kernel errors might be asynchronous
解决numpy.core._exceptions.UFuncTypeError: ufunc ‘add‘ did not contain a loop with signature matching
解决numpy.core._exceptions.UFuncTypeError: ufunc ‘add‘ did not contain a loop with signature matching
1393 0
解决numpy.core._exceptions.UFuncTypeError: ufunc ‘add‘ did not contain a loop with signature matching
Error:E0415 no suitable constructor exists to convert from “int“ to “Rational“
Error:E0415 no suitable constructor exists to convert from “int“ to “Rational“
199 0
error: static assertion failed: Signal and slot arguments are not compatible.
error: static assertion failed: Signal and slot arguments are not compatible.
error: static assertion failed: Signal and slot arguments are not compatible.
error: possibly undefined macro: LT_SYS_SYMBOL_USCORE please use m4_pattern_allow
error: possibly undefined macro: LT_SYS_SYMBOL_USCORE please use m4_pattern_allow
167 0
opencv出错:error: (-213:The function/feature is not implemented) Unknown/unsupported array type
opencv出错:error: (-213:The function/feature is not implemented) Unknown/unsupported array type
514 0
解决办法:RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96
解决办法:RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96
661 0
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
495 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等