Adding external library to build? librealsense SDK (Ubuntu)


#1

Hi!

Im trying to compile openFrameworks with the RealSense sdk but have no luck. The addons for RealSense don’t work and I really dont understan why this should be so hard.

Has anyone done this? Or do you have any suggestions on how to solve it? The library is installed correctly and I’ve tried the sample code.


#2

Got it working. Problem was that the gold linker(or what you call it) didn’t look in the /usr/local/lib folder.

Added -L/usr/local/lib/librealsense2.so to PROJECT_LDFLAGS in config.make


#3

thanks for this! what realsense model are you using and does ofxrealsense work with it?


#4

Hi @MaxBjorverud,

I would also be interested to know which addon did you use finally. I’m also planning to use the the sensor RealSense D415 under Linux for a project.

I would really appreciate your help!


#5

Hi! I didn’t use ofxRealsense. Just used the regular RealSense SDK! Worked ok but ended up using ofxNuitrack since I needed skeleton detection. Realsense got nothing…


#6

Hi @MaxBjorverud. I finally got it working using ofxRealsense2 and installing the library compiling from the SDK. It’s a shame it doesn’t come with skeleton tracking like Kinect did.