使用cygwin构建libav 12.3

使用cygwin构建libav 12.3,cygwin,libav,Cygwin,Libav,我正试图在Windows10上使用cygwin构建Libav12.3。libav.org网站上有一些文档: 但它已经过时了 我想知道我需要安装哪些cygwin软件包。例如,该网站指定了texi2html,我在任何地方都找不到。其他库(如yasm)未列出 还缺少某种数学库。目前,我的编译失败,原因是: libavfilter/af_compand.c:在函数“config_output”中: libavfilter/af_compand.c:343:43:错误:“M_LN10”未声明(首次在此>函

我正试图在Windows10上使用cygwin构建Libav12.3。libav.org网站上有一些文档: 但它已经过时了

我想知道我需要安装哪些cygwin软件包。例如,该网站指定了texi2html,我在任何地方都找不到。其他库(如yasm)未列出

还缺少某种数学库。目前,我的编译失败,原因是:

libavfilter/af_compand.c:在函数“config_output”中: libavfilter/af_compand.c:343:43:错误:“M_LN10”未声明(首次在此>函数中使用);你是说“我的LN2”吗? 双半径=s->curve_dB*M_LN10/20.0; ^~~~~~ _M_LN2


texi2html
是一个cygwin包

$ cygcheck -p usr/bin/texi2html
Found 2 matches for usr/bin/texi2html
texi2html-1.82-10 - texi2html: A highly customizable texinfo to HTML and other formats translator (installed binaries and support files)
texi2html-1.82-11 - texi2html: A highly customizable texinfo to HTML and other formats translator (installed binaries and support files)
要安装它,您需要遵循以下步骤

M_LN10在“/usr/include/math.h”中定义

因此,您需要安装包含标准cygwin头的
cygwin-devel

$ cygcheck -p usr/include/math.h
Found 6 matches for usr/include/math.h
cygwin-devel-2.10.0-1 - cygwin-devel: Core development files
cygwin-devel-2.11.0-0.2 - cygwin-devel: Core development files
cygwin-devel-2.9.0-3 - cygwin-devel: Core development files
..