我是靠谱客的博主 个性草丛,这篇文章主要介绍windows编译qtav,现在分享给大家,希望可以做个参考。

error: avutil is required, but compiler can not find it.

You should set some environment vars so that compiler can find FFmpeg and other libraries files.

For VC compiler, they are INCLUDE and LIB. For gcc, they are CPATH and LIBRARY_PATH. e.g.

vc:

set INCLUDE=ffmpeg_pathinclude;portaudio_pathinclude;%INCLUDE%
set LIB=ffmpeg_pathlib;portaudio_pathlib;%LIB%

gcc in unix shell environment(including mingw with sh.exe):

export CPATH=ffmpeg_path/include:portaudio_path/include:$CPATH
export LIBRARY_PATH=ffmpeg_path/include:portaudio_path/lib:$LIBRARY_PATH

gcc in windows cmd environment without sh.exe

set CPATH=ffmpeg_pathinclude;portaudio_pathinclude;%CPATH%
set LIBRARY_PATH=ffmpeg_pathlib;portaudio_pathlib;%LIBRARY_PATH%

If you are building in QtCreator, goto QtCreator's 'Projects' page and add or append those environment.

I think i should write some documents to show how to build QtAV.

不能自己添加名字!

最后

以上就是个性草丛最近收集整理的关于windows编译qtav的全部内容,更多相关windows编译qtav内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(52)

评论列表共有 0 条评论

立即
投稿
返回
顶部