Using the SDK with Ubuntu 18.04

Hello,
I’m trying to install the SDK and get one of the Examples running in Ubuntu 18.04. When I try to compile it, I get the error:

/usr/bin/ld: warning: libopencv_core.so.2.4, needed by /home/nick/dependencies/NuitrackSDK/Examples/nuitrack_console_sample/…/…/Nuitrack/lib/linux64/libnuitrack.so, not found (try using -rpath or -rpath-link)

From what I’ve been able to dig up (Nuitrack With OpenCV 3.4 and Nuitrack SDK on Ubuntu 18.04), it’s the SDK trying to link against an old version of OpenCV that can’t be built on 18.04 (OpenCV 2.4 depends on several libraries that have not been ported to 18.04). Is there an updated version of the SDK anywhere that doesn’t have this issue?

Hi …

did you try adding Nuitrack’s libs to your search path?
If not please try the following line before executing the example.

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/nuitrack/

–Stef

PS: at this point the apps crash on me (Segfault). Does it work for you?

Yes, I have added Nuitrack’s libraries to the search path.