MarkusEich / cpf_segmentation

Constrained Plane Fitting library for unsupervised segmentation of 3D point clouds
Apache License 2.0
81 stars 43 forks source link

Make error #6

Open Dung-Han-Lee opened 7 years ago

Dung-Han-Lee commented 7 years ago

Hello, I am new to Linux, and I am currently working on a unbuntu16.04 system, with PCL 1.8, openni, openCV 3.1.0 installed. I have encounter some issues during "make", I got the following error messages:

/home/michael/cpf_segmentation/src/segmentation_kinect_test.cpp: In function ‘int main(int, char*)’: /home/michael/cpf_segmentation/src/segmentation_kinect_test.cpp:85:3: error: ‘OpenNIGrabber’ is not a member of ‘pcl’ pcl::OpenNIGrabber grabber; ^ /home/michael/cpf_segmentation/src/segmentation_kinect_test.cpp:86:3: error: ‘Grabber’ is not a member of ‘pcl’ pcl::Grabber interface = grabber; ^ /home/michael/cpf_segmentation/src/segmentation_kinect_test.cpp:86:17: error: ‘interface’ was not declared in this scope pcl::Grabber interface = grabber; ^ /home/michael/cpf_segmentation/src/segmentation_kinect_test.cpp:86:29: error: ‘grabber’ was not declared in this scope pcl::Grabber interface = grabber; ^ I checked the header files of grabber.h, it was pointing to the right folder. I really have no idea what's the problem here.

trungtpham commented 7 years ago

Hi Micheal,

I have removed the segmentation_kinect_test.cpp file which causes the error, and this file is not really useful. Please check out the latest version. Hope this will work.

Cheers, Trung

Dung-Han-Lee commented 7 years ago

The file was successfully built! We will look further into employing for our application. Thank you very much!

Trung Pham notifications@github.com 於 2017年5月8日 上午9:51 寫道:

Hi Micheal,

I have removed the segmentation_kinect_test.cpp file which causes the error, and this file is not really useful. Please check out the latest version. Hope this will work.

Cheers, Trung

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.