permission denied while installing OPENNI on mac

643 Views Asked by At

I got this error while installing OpenNI ON MAC

./install.sh
Installing OpenNI
****************************

copying shared libraries...cp: /usr/lib/libOpenNI.dylib: Permission denied
cp: /usr/lib/libOpenNI.jni.dylib: Permission denied
cp: /usr/lib/libnimCodecs.dylib: Permission denied
cp: /usr/lib/libnimMockNodes.dylib: Permission denied
cp: /usr/lib/libnimRecorder.dylib: Permission denied

Can anyone help me

1

There are 1 best solutions below

1
On BEST ANSWER

Try doing:

sudo ./install.sh

You'll be prompted for an admin password.