-
Notifications
You must be signed in to change notification settings - Fork 35
Description
The error on "intensity" as below has happened.
Let me know how to solve it.
survey@SURVEY-C20:/mnt/c/GitHub/las2pcd$ make
Scanning dependencies of target las2pcd
[ 50%] Building CXX object CMakeFiles/las2pcd.dir/las2pcd.cpp.o
/mnt/c/GitHub/las2pcd/las2pcd.cpp: In function ‘int main(int, char**)’:
/mnt/c/GitHub/las2pcd/las2pcd.cpp:71:19: error: ‘__gnu_cxx::__alloc_traits<Eigen::aligned_allocatorpcl::PointXYZRGB >::value_type {aka struct pcl::PointXYZRGB}’ has no member named ‘intensity’
cloud.points[i].intensity = (reader.GetPoint().GetIntensity());
^~~~~~~~~
CMakeFiles/las2pcd.dir/build.make:62: recipe for target 'CMakeFiles/las2pcd.dir/las2pcd.cpp.o' failed
make[2]: *** [CMakeFiles/las2pcd.dir/las2pcd.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/las2pcd.dir/all' failed
make[1]: *** [CMakeFiles/las2pcd.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2