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 faillure #11

Open
anisghaoui opened this issue Apr 1, 2020 · 2 comments
Open

Make faillure #11

anisghaoui opened this issue Apr 1, 2020 · 2 comments

Comments

@anisghaoui
Copy link

anisghaoui commented Apr 1, 2020

Hello, I have tried to install the tool in Ubuntu 18.04 with the following packages :

  • libpcl-dev
  • libvtk6-jni
  • libvtk6-java
  • libvtk6-dev
  • libvtk6-qt-dev

the cmake is able to find every lib and build a make with seemingly no errors. However, the make has many faillures :

[  3%] Automatic MOC and RCC for target point_cloud_annotation_tool
[  3%] Built target point_cloud_annotation_tool_autogen
[  6%] Building CXX object CMakeFiles/point_cloud_annotation_tool.dir/Annotaion.cpp.o
In file included from /home/anis/EXPLEO/database_criteria/point-cloud-annotation-tool/Annotaion.cpp:2:0:
/home/anis/EXPLEO/database_criteria/point-cloud-annotation-tool/vtkAnnotationBoxSource.h:15:27: error: expected ‘;’ at end of member declaration
   ~vtkAnnotationBoxSource() VTK_OVERRIDE {}
                           ^
/home/anis/EXPLEO/database_criteria/point-cloud-annotation-tool/vtkAnnotationBoxSource.h:15:29: error: ‘VTK_OVERRIDE’ does not name a type; did you mean ‘VTK_VERSION’?
   ~vtkAnnotationBoxSource() VTK_OVERRIDE {}
                             ^~~~~~~~~~~~
                             VTK_VERSION
/home/anis/EXPLEO/database_criteria/point-cloud-annotation-tool/vtkAnnotationBoxSource.h:16:84: error: expected ‘;’ at end of member declaration
   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
                                                                                    ^
/home/anis/EXPLEO/database_criteria/point-cloud-annotation-tool/vtkAnnotationBoxSource.h:16:86: error: ‘VTK_OVERRIDE’ does not name a type; did you mean ‘VTK_VERSION’?
   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
                                                                                      ^~~~~~~~~~~~
                                                                                      VTK_VERSION
/home/anis/EXPLEO/database_criteria/point-cloud-annotation-tool/vtkAnnotationBoxSource.h:18:55: error: expected ‘;’ at end of member declaration
   vtkAnnotationBoxSource(const vtkAnnotationBoxSource&) VTK_DELETE_FUNCTION;
                                                       ^
/home/anis/EXPLEO/database_criteria/point-cloud-annotation-tool/vtkAnnotationBoxSource.h:18:57: error: ‘VTK_DELETE_FUNCTION’ does not name a type; did you mean ‘BOOST_DELETED_FUNCTION’?
   vtkAnnotationBoxSource(const vtkAnnotationBoxSource&) VTK_DELETE_FUNCTION;
                                                         ^~~~~~~~~~~~~~~~~~~
                                                         BOOST_DELETED_FUNCTION
/home/anis/EXPLEO/database_criteria/point-cloud-annotation-tool/vtkAnnotationBoxSource.h:19:47: error: expected ‘;’ at end of member declaration
   void operator=(const vtkAnnotationBoxSource&) VTK_DELETE_FUNCTION;
                                               ^
/home/anis/EXPLEO/database_criteria/point-cloud-annotation-tool/vtkAnnotationBoxSource.h:19:49: error: ‘VTK_DELETE_FUNCTION’ does not name a type; did you mean ‘BOOST_DELETED_FUNCTION’?
   void operator=(const vtkAnnotationBoxSource&) VTK_DELETE_FUNCTION;
                                                 ^~~~~~~~~~~~~~~~~~~
                                                 BOOST_DELETED_FUNCTION
CMakeFiles/point_cloud_annotation_tool.dir/build.make:114: recipe for target 'CMakeFiles/point_cloud_annotation_tool.dir/Annotaion.cpp.o' failed
make[2]: *** [CMakeFiles/point_cloud_annotation_tool.dir/Annotaion.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/point_cloud_annotation_tool.dir/all' failed
make[1]: *** [CMakeFiles/point_cloud_annotation_tool.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

I suspected vtk6 was causing issues. So i got to install vtk7 instead. the problem is that pcl relies on vtk6 and not 7.

Do you have any suggestions on why is this happening ? Thank you.

@aidonchuk
Copy link

same for me

1 similar comment
@mei123hao
Copy link

same for me

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

3 participants