Nuitrack installation copies “librealsense2.so.2” into /usr/local/lib/nuitrack, and then adds /usr/local/lib/nuitrack to the $LD_LIBRARY_PATH.
This means that all processes (for example “realsense-viewer”) that try to use realsense will fail with this error:
“RealSense error calling rs2_create_context(api_version:21601):
API version mismatch: librealsense.so was compiled with API version 2.15.0 but the application was compiled with 2.16.1! Make sure correct version of the library is installed (make install)”
It tooks me a while to figure out that it was the NuiTrack install that was making other Realsense apps fail!
I’m not sure the best solution to fix this long term?
For non-Nuitrack apps, manually set your $LD_LIBRARY_PATH without /usr/local/lib/nuitrack in the path.