point-cloud-annotation-tool
point-cloud-annotation-tool copied to clipboard
make error
some errors when I make the code, such as:
/home/zqk/code/tool/point-cloud-annotation-tool/visualizer.cpp:87:14: error: ‘type’ does not name a type for(auto type : *(Annotation::getTypes())){
/home/zqk/code/tool/point-cloud-annotation-tool/visualizer.cpp:99:5: error: expected ‘;’ before ‘ui’ ui->groupBox_Types->setLayout(layout);
how to fix it ? thanks!
You could add c++11 support into CMakeLists.txt:
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
I get this error when I make the code (and I set the flag in CMAKE to std11)
.../point-cloud-annotation-tool/vtkAnnotationBoxSource.h:15:27: error: expected ‘;’ at end of member declaration ~vtkAnnotationBoxSource() VTK_OVERRIDE {}
Can you help me with this?
I get this error when I make the code (and I set the flag in CMAKE to std11)
.../point-cloud-annotation-tool/vtkAnnotationBoxSource.h:15:27: error: expected ‘;’ at end of member declaration ~vtkAnnotationBoxSource() VTK_OVERRIDE {}Can you help me with this?
me too; I got the same errors. How do you resolve this error?
I experienced the same error. Installing
sudo apt-get install libvtk7-dev libvtk7-qt-dev
solved the problem, on Ubuntu 18.04 (bionic). Also libvtk6 caused plenty of build errors, maybe building vtk-8.1 from source could also be ok.
sudo apt-get install libvtk7-dev libvtk7-qt-dev
Unable to locate package libvtk7-dev? should add some channel?