springzfx / point-cloud-annotation-tool

MIT License
487 stars 119 forks source link

Make faillure #11

Open anisghaoui opened 4 years ago

anisghaoui commented 4 years ago

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

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 commented 4 years ago

same for me

mei123hao commented 4 years ago

same for me