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

Source: Internet
Author: User

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

The error happens because you linked debug mode DLLs and building with release mode.

The 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.