Closed Cartucho closed 4 years ago
Check your cmake cache to see if WITH_PCL
is ON.
It seems you are compiling with cilantro
. Then a pretty hacky solution would be just comment the pcl headers.
Yes, I am using cilantro as instructed in the README since I am using CUDA 10
.
I checked and there was no WITH_PCL
parameter in the "CMakeCache.txt" file.
In which files should I comment out the PCL headers?
The pcl header in visualization/PointCloudVisualizer.cpp
If I remove all the code related to PCL in that file it solves this error but then I get an error that it cannot find cilantro so the source of the error is still there.
I decided to try the compilation in another workstation with Ubuntu 16.04 and CUDA 10.2. However, I get the following error
fatal error: pcl/visualization/pcl_visualizer.h: No such file or directory
.I added to the CMakeLists.txt the following lines:
and I uncommented line 54
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
Then, I tried to compile: