GithubHelp home page GithubHelp logo

工程跑不起来 about goplay HOT 10 CLOSED

letqingbin avatar letqingbin commented on June 11, 2024
工程跑不起来

from goplay.

Comments (10)

CoderLwcXing avatar CoderLwcXing commented on June 11, 2024

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.

CoderLwcXing avatar CoderLwcXing commented on June 11, 2024

FFmpeg 编译完成之后还是跑不起来,报错

from goplay.

letqingbin avatar letqingbin commented on June 11, 2024

@LwcXing 加一下群: 527359948
你的FFmpeg库应该是没有编译成功

from goplay.

CoderLwcXing avatar CoderLwcXing commented on June 11, 2024

编译成功了,静态库什么的都有了

from goplay.

letqingbin avatar letqingbin commented on June 11, 2024

@LwcXing 之前是什么原因?我总结一下给以后的人~

from goplay.

letqingbin avatar letqingbin commented on June 11, 2024

@LwcXing 如果编译成功,那你设置一下头文件的路径

  1. 拷贝 ./FFmpeg-iOS 到 ./GoPlay/GoPlay/Vendor/FFmpeg/
  2. 配置工程项目的FFmpeg头文件路径: Build Settings - Header Search Paths - "$(SRCROOT)/GoPlay/Vendor/FFmpeg/FFmpeg-iOS/include"

from goplay.

CoderLwcXing avatar CoderLwcXing commented on June 11, 2024

下载工程,本来应该就是跑步起来了的,我运行了文件里的脚本,自动下载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.

letqingbin avatar letqingbin commented on June 11, 2024

1、你到GoPlay/GoPlay/Vendor/FFmpeg/这个目录下检查有没有FFmpeg-iOS/include 和 FFmpeg-iOS/lib, 如果没有说明你编译库文件出错
2、打开工程,看一下工程目录有没有引进Vendor/FFmpeg-iOS
3、去工程项目配置中,查看有没有设置头文件路径

这三步如果都没问题,那么加群再详聊,群里的人都是没这个问题的

from goplay.

CoderLwcXing avatar CoderLwcXing commented on June 11, 2024

你说的这些都有,但是就是报错,已加入,截图发群里了

from goplay.

letqingbin avatar letqingbin commented on June 11, 2024

问题已解决

from goplay.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.