架构armv7的未定义符号:“_openat”,引自:MobileVLCKit中的_vlc_openat

时间:2015-07-24 13:39:12

标签: ios mobile linker-errors vlc

我想在iOS中玩在线流使用vlc。 我找到了这个 http://www.videolan.org/vlc/download-ios.html 这样做,可以在模拟器中运行SimplePlayback源代码。 但是当为iOS设备构建它时,我得到同样的错误:

ld: warning: directory not found for option '-L"/Users/Data/Projects/B2/Document/VLCKit-2.2.0-rc1/Examples_iOS/SimplePlayback/../../build/Release-iphonesimulator"'
ld: warning: directory not found for option '-L"/Users/Data/Projects/B2/Document/VLCKit-2.2.0-rc1/Examples_iOS/SimplePlayback/../../build/Release-iphonesos"'
ld: warning: directory not found for option '-F/Users/ali/Downloads/build'
Undefined symbols for architecture armv7:
"_openat", referenced from:
  _vlc_openat in MobileVLCKit(lt4-filesystem.o)
 (maybe you meant: _vlc_openat)
"_fdopendir", referenced from:
  _DirRead in MobileVLCKit(libfilesystem_plugin_la-directory.o)
  _FileOpen in MobileVLCKit(libfilesystem_plugin_la-file.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

任何人都可以帮助我吗? 感谢

0 个答案:

没有答案