Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make error #2

Open
3bobo opened this issue Feb 19, 2019 · 5 comments
Open

make error #2

3bobo opened this issue Feb 19, 2019 · 5 comments

Comments

@3bobo
Copy link

3bobo commented Feb 19, 2019

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!

@XunshanMan
Copy link

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

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

@EsiNaderi
Copy link

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?

@nyg2017
Copy link

nyg2017 commented May 20, 2019

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?

@CarlSchwedes
Copy link

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.

@Qjizhi
Copy link

Qjizhi commented Dec 12, 2019

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

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

This was referenced Feb 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants