我是IOS的新手,我想在我的项目中添加一个外部库。
Libary位于另一个文件夹中,即ffmpeg/include/libavcodec/avcodec.h.
我在Project中添加了Libavcodec文件夹,并包含Library Like。
#include "libavcodec/avcodec.h"
但是它给出了错误
Error: libavcodec/avcodec.h not found...
提前致谢....
答案 0 :(得分:0)
只需将库中的库拖放到xcode中即可。然后你可以在任何一个viewcontroller中导入文件。