1
我开始玩Kinect,我想使用OpenNI进行骨架跟踪。 由于我对C++的了解有限,最简单的选择是使用ofxOpenNI插件OpenFrameworks。如何通过“库未加载:”问题?
我已经下载了插件,并成功编译的例子,但应用程序不能加载dylib:我使用的XCode在OSX 10.5.8使用了openFrameworks
[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).
这是一个背景,但我想象的dylib问题是一般的东西。
我在我的项目中有要求的dylib文件,路径似乎没问题。 任何线索?
RTFM的一个明确的例子:)操作系统升级似乎是最简单的解决方案。谢谢。 – 2011-02-25 11:39:10