Ubuntu 16.04 install iai-kinect2

install libfreenect2, choose the (other) and don’t forget to test bin/Pronect after install.

ATTENTION: I don’t have NVIDIA or AMD graph card. It might be different if you use them.


when you face this problem

/usr/local/include/opencv2/flann/saving.h:113:63: error: exception handling disabled, use -fexceptions to enable
         throw FLANNException("Invalid index file, cannot read");


roscd kinect2_registrations

edit CMakeLists.txt, add

add_definitions( -fexceptions )

it will work.


comments powered by Disqus