point-cloud-annotation-tool icon indicating copy to clipboard operation
point-cloud-annotation-tool copied to clipboard

make error

Open 3bobo opened this issue 6 years ago • 5 comments

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!

3bobo avatar Feb 19 '19 02:02 3bobo

You could add c++11 support into CMakeLists.txt:

set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

XunshanMan avatar Mar 28 '19 06:03 XunshanMan

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?

EsiNaderi avatar Apr 28 '19 15:04 EsiNaderi

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?

nyg2017 avatar May 20 '19 02:05 nyg2017

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.

CarlSchwedes avatar Aug 16 '19 13:08 CarlSchwedes

sudo apt-get install libvtk7-dev libvtk7-qt-dev

Unable to locate package libvtk7-dev? should add some channel?

Qjizhi avatar Dec 12 '19 02:12 Qjizhi