Comments (10)
ld: warning: directory not found for option '-L/Users/l_wcx/Desktop/我的代码/gitHub/GoPlay/GoPlay/GoPlay/Vendor/FFmpeg/FFmpeg-iOS/lib'
ld: library not found for -lavfilter
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from goplay.
FFmpeg 编译完成之后还是跑不起来,报错
from goplay.
@LwcXing 加一下群: 527359948
你的FFmpeg库应该是没有编译成功
from goplay.
编译成功了,静态库什么的都有了
from goplay.
@LwcXing 之前是什么原因?我总结一下给以后的人~
from goplay.
@LwcXing 如果编译成功,那你设置一下头文件的路径
- 拷贝 ./FFmpeg-iOS 到 ./GoPlay/GoPlay/Vendor/FFmpeg/
- 配置工程项目的FFmpeg头文件路径: Build Settings - Header Search Paths - "$(SRCROOT)/GoPlay/Vendor/FFmpeg/FFmpeg-iOS/include"
from goplay.
下载工程,本来应该就是跑步起来了的,我运行了文件里的脚本,自动下载FFmpeg并编译、成功后,重新添加静态库后,还是报错如下:
ld: warning: directory not found for option '-L/Users/l_wcx/Desktop/我的代码/gitHub/GoPlay/GoPlay/GoPlay/Vendor/FFmpeg/FFmpeg-iOS/lib'
ld: library not found for -lavfilter
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from goplay.
1、你到GoPlay/GoPlay/Vendor/FFmpeg/这个目录下检查有没有FFmpeg-iOS/include 和 FFmpeg-iOS/lib, 如果没有说明你编译库文件出错
2、打开工程,看一下工程目录有没有引进Vendor/FFmpeg-iOS
3、去工程项目配置中,查看有没有设置头文件路径
这三步如果都没问题,那么加群再详聊,群里的人都是没这个问题的
from goplay.
你说的这些都有,但是就是报错,已加入,截图发群里了
from goplay.
问题已解决
from goplay.
Related Issues (7)
- avformat.h' file not found HOT 1
- 支持h HOT 3
- 代码不全,demo运行不了 HOT 1
- Build, run, no audio HOT 1
- Hls adaptive bitrate HOT 1
- 好厉害,可否支持一个录制一段视频保存到相册、以及提供截图保存到相册的功能 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goplay.