在Mac上安装OPENNI时拒绝权限

时间:2012-01-05 06:36:02

标签: permissions openni denied

我在安装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

任何人都可以帮助我

1 个答案:

答案 0 :(得分:2)

尝试做:

sudo ./install.sh

系统会提示您输入管理员密码。