我怎样才能通过“未加载的图书馆:”问题?

我开始玩Kinect,我想使用OpenNI进行骨架跟踪。 由于我对c ++的了解有限,最简单的选择是在OpenFrameworks中使用ofxOpenNI插件。 我已经下载了插件,并成功编译了示例,但是应用程序无法加载dylib:
[Session started at 2011-02-24 11:46:27 +0000.]
dyld: Library not loaded: @executable_path/./../../../data/openni/lib/libnimCodecs.dylib
  Referenced from: /Users/george/Downloads/FirefoxDownloads/of_preRelease_v0062_osx_FAT/apps/examples/NI_userIsolation_4/bin/emptyExampleDebug.app/Contents/MacOS/emptyExampleDebug
  Reason: no suitable image found.  Did find:
    /Users/george/Downloads/FirefoxDownloads/of_preRelease_v0062_osx_FAT/apps/examples/NI_userIsolation_4/bin/emptyExampleDebug.app/Contents/MacOS/./../../../data/openni/lib/libnimCodecs.dylib: unknown required load command 0x80000022
    /Users/george/Downloads/FirefoxDownloads/of_preRelease_v0062_osx_FAT/apps/examples/NI_userIsolation_4/bin/emptyExampleDebug.app/Contents/MacOS/./../../../data/openni/lib/libnimCodecs.dylib: unknown required load command 0x80000022
    /usr/lib/libnimCodecs.dylib: unknown required load command 0x80000022

The Debugger has exited due to signal 5 (SIGTRAP).The Debugger has exited due to signal 5 (SIGTRAP).
我在osx 10.5.8上使用XCode和OpenFrameworks 062。 这是一个背景,但我想dylib问题是一般的。 我在项目中有所请求的dylib文件,路径似乎没问题。 有线索吗?     
已邀请:
听起来像libs虽然存在但与你的系统不兼容 - 它找到它们却无法加载它们。 实际上,检查OpenNI github页面上的README,在“发行说明”部分中,我们发现以下内容:
* MacOSX: Only OSX 10.6 (Snow Leopard) with an Intel based CPU is currently supported.
显然,你有这个来源,但自己解决这个问题可能会非常麻烦。否则,您可以等待未来版本是否添加Leopard兼容性,或者您可以升级您的操作系统。     

要回复问题请先登录注册