error C2661: 'pcl::PointCloud<PointT>::operator new' : no overloaded function takes 3 arguments
라는 에러가 발생하였을 때 heap영역의 크기를 크게 하라는 방법이 제시되었지만 같은 오류가 발생하였다.
이때 아래와 같은 조치를 취해 해결하였다.
I had the same problem.(My PCL program runs well with win32, but failed in MFC.) I did two things to make it well in MFC.
(1) add the following two lines in the place before you include pcl libraries
#undef max
#undef min
(2)annotate these lines in your program
//#ifdef _DEBUG
//#define new DEBUG_NEW
//#endif
'Programming' 카테고리의 다른 글
RealTime Mesh ★ Phaser 3 ★ Alea GPU ★ Fast 2D GPU ★ Parallel-For ★ GPU Voxel (0) | 2017.04.03 |
---|---|
PCL 라이브러리과 VTK라이브러리의 Namespace detail이 겹칠 경우 (0) | 2017.04.03 |
폴더명 추출 및 파일명 리스트 텍스트 파일로 만들기 (0) | 2017.03.28 |
[OpenCV] RGB Color를 Grayscale로 변환하기 (0) | 2016.11.03 |
Social Tagging 데이터 셋 (Datasets) (0) | 2014.08.08 |