gpt4 book ai didi

visual-studio-2010 - FFmpeg 和 VS2010(调试与发布)

转载 作者:行者123 更新时间:2023-12-04 23:00:38 25 4
gpt4 key购买 nike

我正在开发一个需要 FFmpeg 库来从视频文件中提取元数据的项目。我正在使用来自 zeranoe (http://ffmpeg.zeranoe.com/builds/) 的静态构建。该解决方案在 Debug模式下工作正常。

但是当我在 Release模式下启动它时,我得到了这个错误:

“应用程序无法正确启动(0xc000007b)。单击确定关闭”

我不知道为什么。有什么建议吗?

配置:

  • MS Visual Studio 2010 win 32 应用程序
  • C++ 语言
  • Qt 4.3 使用
  • FFmpeg 静态构建
  • Windows 64 位系统
  • 最佳答案

    它应该是关于缺少依赖 DLL。您的故障排除是使用 Dependency Walker检查您的二进制文件并确定它所需的 [缺少] 依赖项。

    依赖 DLL 可能存在的问题包括:

  • 依赖 DLL 的 32/64 位不匹配
  • 损坏的 DLL 本身

  • 请注意,Dependency Walker 也涵盖了这些内容。另请注意,如果您使用不同文件夹中的输出构建应用程序,则应用程序的调试/发布版本可能会有效地使用不同的 FFmpeg(和/或其他依赖项)DLL,从而导致不同的运行时行为。

    也可以看看:
  • Now I use the automated built MinGW64 and put the .a and .h files to accordingly locatin, but the ffmpeg.exe cannot start and complained about the "The Application was unable to start correctly (0xc000007b)".
  • 关于visual-studio-2010 - FFmpeg 和 VS2010(调试与发布),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23889979/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com