I have installed mrpt from here for running this project. The problem is that I keep getting the following error.
error: ‘COpenGLScenePtr’ in namespace ‘mrpt::opengl’ does not name a type
opengl::COpenGLScenePtr scene;
in the scene_flow_visualization.h file of the project.
I also verified that there's a header file called COpenGLScenePtr.h which I manually tried to add inside scene_flow_visualization.h, but that still doesn't work.
What could be the issue ? Does anybody help me get rid of this please.
PD-Flowwas designed for the MRPT 1.5.* series. Your problem is due to the change of smart pointer types fromFooPtrtoFoo::Ptrin the MRPT 2.* series, which you have installed.Please, remove your MRPT packages:
remove the mrpt-2 PPA:
and re-add them from this alternative PPA:
If even after this you got problems, open an issue ticket to the PD-Flow repository.