Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux installation instructions (Kinect v1) #25

Open
wants to merge 7 commits into
base: Processing_3.5.3
Choose a base branch
from

Conversation

rossanag
Copy link

@rossanag rossanag commented Nov 15, 2019

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:

  1. Install libfreenect
  2. locate libboost_system.so 1.5* to get the path of ibboost_system and to find the version installed of it.
  3. Create a soft link as libboost_system.so.1.54.0.
  4. 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
  5. Install the library in the sketchbook folder as usual

Source: #24
Thanks to @pointcloud_ai for the clue.

@rrrnld
Copy link

rrrnld commented Jan 26, 2020

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):

  1. Download https://www.boost.org/users/history/version_1_54_0.html
  2. Unzip and open a terminal session in the directory you just downloaded. It should contain a bootstrap.sh
  3. Run bootstrap.sh --with-libraries=system and when that's done j2 to build libboost_system.1.5.4-0.so

@cruffoc
Copy link

cruffoc commented Feb 28, 2023

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):

  1. Download https://www.boost.org/users/history/version_1_54_0.html
  2. Unzip and open a terminal session in the directory you just downloaded. It should contain a bootstrap.sh
  3. Run bootstrap.sh --with-libraries=system and when that's done j2 to build libboost_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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants