SimpleOpenNI
SimpleOpenNI copied to clipboard
Linux installation instructions (Kinect v1)
I think these lines could fit into the readme to help someone with kinect v1 in Ubuntu.
This version work with the following Ubuntu Linux distributions: 18.04. 19.04 and 19.10 This pluging works with this file version of libboost_system.so.1.54.0 The steps are the following:
- Install libfreenect
- locate libboost_system.so 1.5* to get the path of ibboost_system and to find the version installed of it.
- Create a soft link as libboost_system.so.1.54.0.
- Assuming the path could be usr/lib/x86_64-linux-gnu/, the command to create the soft link will be
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_system.so.1.67.0 /usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0
- Install the library in the sketchbook folder as usual
Source: https://github.com/totovr/SimpleOpenNI/issues/24 Thanks to @pointcloud_ai for the clue.
The approach I took was compiling the boost libraries myself and copying them where OpenNI was looking (you can see that path by taking a look at the error message):
- Download https://www.boost.org/users/history/version_1_54_0.html
- Unzip and open a terminal session in the directory you just downloaded. It should contain a
bootstrap.sh
- Run
bootstrap.sh --with-libraries=system
and when that's donej2
to buildlibboost_system.1.5.4-0.so
The approach I took was compiling the boost libraries myself and copying them where OpenNI was looking (you can see that path by taking a look at the error message):
- Download https://www.boost.org/users/history/version_1_54_0.html
- Unzip and open a terminal session in the directory you just downloaded. It should contain a
bootstrap.sh
- Run
bootstrap.sh --with-libraries=system
and when that's donej2
to buildlibboost_system.1.5.4-0.so
could you elaborate on this? I'm trying to get this to work on Ubuntu without much success. I'm having the same error related to libboost_system.1.5.4-0.so
edit:
I figured after reading bootstrap.sh notes that you're supposed to run ./b2
which gives me:
The Boost C++ Libraries were successfully built!
The following directory should be added to compiler include paths:
/home/ruffo/Downloads/boost_1_54_0
The following directory should be added to linker library paths:
/home/ruffo/Downloads/boost_1_54_0/stage/lib
but yet I'm not sure what to copy / link without making a potential mess. I manually copied libboost_system.1.5.4-0.so
to the path referred in the error message, changed its file permissions but still can't get it to work