VUKOZ-OEL / 3d-forest-classic

software for analysis of Lidar data from forest environment.
GNU General Public License v3.0
84 stars 26 forks source link

Getting VTK related errors #6

Closed tanajikamble13 closed 4 years ago

tanajikamble13 commented 4 years ago

Getting following errors: /home/tan/project/pcl_work/3DForest/sourceCode/mainwindow.cpp:6496:12: error: ‘const class pcl::visualization::AreaPickingEvent’_ has no member named ‘getActors’ if(event.getActors (actors) == false) ^ /home/tan/project/pcl_work/3DForest/sourceCode/mainwindow.cpp:6509:11: error: ‘const class pcl::visualization::AreaPickingEvent’ has no member named ‘getActorsIndices’ event.getActorsIndices(cam_it->second.actor, indices); ^ /home/tan/project/pcl_work/3DForest/sourceCode/mainwindow.cpp: In member function ‘void MainWindow::pointEvent(const pcl::visualization::PointPickingEvent&, void*)’: /home/tan/project/pcl_work/3DForest/sourceCode/mainwindow.cpp:6593:27: error: ‘const class pcl::visualization::PointPickingEvent’ has no member named ‘getProp’ vtkProp3D* prop = event.getProp(); The errors are self explanatory. Please update working code

janekT commented 4 years ago

IT Is problem with version of pcl.... Please try to compile pcl version from this repository https://github.com/janekT/pcl