Error compiling ofxNI2

I’m trying to compile a project using ofxNI2 and i get the following error:

error while loading shared libraries: cannot open shared object file: No such file or directory

This file exists in the addon folder.

I’ve followed all the steps in the github repositories.
I’m using qt creator on ubuntu 20.04.

Any idea?

fixed it copying to /usr/lib

You may want to check these out if you haven’t already, they are more up to date and Linux friendly -