cloud_annotation_tool
cloud_annotation_tool copied to clipboard
Error with 'make' on Ubuntu 18.04
Hello, When I build the cloud_annotation_tool-devel and run the 'make' command, I get the following error:
[ 12%] Generating moc_viewer.cxx /usr/include/boost/unordered/detail/implementation.hpp:52: Parse error at "defined" CMakeFiles/cloud_annotation_tool.dir/build.make:66: recipe for target 'moc_viewer.cxx' failed make[2]: *** [moc_viewer.cxx] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/cloud_annotation_tool.dir/all' failed make[1]: *** [CMakeFiles/cloud_annotation_tool.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
What could this error mean?
Thank you.
https://github.com/yzrobot/cloud_annotation_tool/issues/4#issuecomment-416995311
use this
Hello, When I build the cloud_annotation_tool-devel and run the 'make' command, I get the following error:
[ 12%] Generating moc_viewer.cxx /usr/include/boost/unordered/detail/implementation.hpp:52: Parse error at "defined" CMakeFiles/cloud_annotation_tool.dir/build.make:66: recipe for target 'moc_viewer.cxx' failed make[2]: *** [moc_viewer.cxx] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/cloud_annotation_tool.dir/all' failed make[1]: *** [CMakeFiles/cloud_annotation_tool.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
What could this error mean?
Thank you.
@Gitanjali450 Can you please tell me , how did you solve the pcl visulization.h error
@nesakeerthi if you are having compilation problems, try compiling on Ubuntu 14.04 instead of any other version. This tool would compile without any errors on Ubuntu 14.04, although it is outdataed now. But it looks like this tool was made only for that Ubuntu version. I installed Ubuntu 14.04 as a virtual machine on Virtual Box from Oracle. It did not take much time, and the tool compilied without any errors. Let me know if that works
@Gitanjali450 thanks for the reply ...
let me try this... after intstalling have you tried to annotate the point clouds ??? Currently i want annotate the VLP16 pcap or pcd files(coverted using Matlab) and i have stucked with this annotation.
@nesakeerthi I could compile and run the tool in the end. But I did not like the way the tool worked. I could not annotate my PCD files. If you want to annotate PCD files, then there are other better and recent tools available for that. Try the tool at https://github.com/RMonica/rviz_cloud_annotation The demo video of how this tool works can be seen at http://www.ce.unipr.it/~aleotti/annotation.mp4 This tool worked very well for PCD files. I would recommend it. If it does not compile, you can ask me, but the compilation is easy.
@Gitanjali450 Thanks for the tip ... let me try install the thing ...in 14.04 LTS
Use this CMakeLists.txt
cmake_minimum_required(VERSION 2.8.3)
project(cloud_annotation_tool)
set(CMAKE_CXX_STANDARD 17)
find_package(Qt5 REQUIRED COMPONENTS Core Widgets)
find_package(PCL REQUIRED)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
include_directories(${CMAKE_BINARY_DIR})
include_directories(include ${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})
set(MOC_HDRS viewer.h)
qt5_wrap_cpp(MOC_SRCS ${MOC_HDRS})
set(UI_FILES viewer.ui)
qt5_wrap_ui(UI_SRCS ${UI_FILES})
add_executable(${PROJECT_NAME} viewer.cpp main.cpp ${MOC_SRCS} ${UI_SRCS})
qt5_use_modules(${PROJECT_NAME} Core Widgets)
target_link_libraries(${PROJECT_NAME} ${PCL_LIBRARIES})
@dymons thanks will tried can able to complie the repo but ... its not visulizing the .pcd. I have cross checked with matlab ..it works there. I'm not sure what i'm missing