Search code examples
opencvslam

Error while running ORB_SLAM2 Library


As per requirement mentioned in this link, I have installed all the required components like Pangolin, OpenCV etc...Now after building the ORB_SLAM2 library, I am getting the following error...

make[2]: *** No rule to make target `/usr/lib/libOpenNI.so', needed by `../lib/libORB_SLAM2.so'.  Stop.
make[2]: *** Waiting for unfinished jobs....

I am unable to resolve the bug..please help with a solution. Thank you.


Solution

  • Maybe you can install OpenNI:

    sudo apt-get install libOpenNI-dev