Issue: Libfreenect2 not recognized by rtabmap

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue: Libfreenect2 not recognized by rtabmap

lignieres
I'm having issues installing/running rtabmap. I've tested Protonect to see if libfreenect2 works properly and it seems to be set up correctly. I'm getting the following error message.

rtabmap: error while loading shared libraries: libfreenect2.so.0.2: cannot open shared object file: No such file or directory
 
While installing RTAB-Map from source, freenect2 was found, so I assumed it was set up properly. I'm running Ubuntu 16.04 LTS. Hoping to eventually get RTAB-Map running and rtabmap_ros running with Kinect V2.

Thanks in advance.


Reply | Threaded
Open this post in threaded view
|

Re: Issue: Libfreenect2 not recognized by rtabmap

matlabbe
Administrator
Hi,

Make sure libfreenect2.so is in the PATH or LD_LIBRARY_PATH. Did you do "sudo make install" after making libfrenect2?

Cheers,
Mathieu

Reply | Threaded
Open this post in threaded view
|

Re: Issue: Libfreenect2 not recognized by rtabmap

lignieres
I was having troubles with permissions when downloading so I was using "sudo make install". I'm attempting to reinstall everything as I send this message not using "sudo make install". I'll let you know if I have any other issues. By the way, thanks for such a quick response.