Xamla / torch-pcl

Point Cloud Library (PCL) bindings for Torch
BSD 3-Clause "New" or "Revised" License
30 stars 7 forks source link

fatal error: pcl/io/openni2_grabber.h: No such file or directory #12

Closed saix47 closed 7 years ago

saix47 commented 7 years ago

When I clone and build with command

luarocks make rocks/torch-pcl-scm-1.rockspec

it output fatal error:

fatal error: pcl/io/openni2_grabber.h: No such file or directory compilation terminated. CMakeFiles/pcl.dir/build.make:206: recipe for target 'CMakeFiles/pcl.dir/src/xyzrgba.cpp.o' failed make[2]: [CMakeFiles/pcl.dir/src/xyzrgba.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/pcl.dir/all' failed make[1]: [CMakeFiles/pcl.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

Does anyone see this issue? Currently my setting: Ubuntu 16.04, pcl 1.8

saix47 commented 7 years ago

Oh, my fault, my install pcl is lacking of openni2. I solved by

sudo apt-get install libopenni2-dev

then build and install pcl lib again.