title: Show error when build win32 version Ffmpeg in windows10,How solve it?
body: <p>I build a win32 version ffmpeg for get the .dll and .lib file in windows10 follow the <a href="https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT" rel="nofollow noreferrer">https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT</a> document, I excuted the command</p>
  <pre><code>    ../../../configure \
  --toolchain=msvc \
  --disable-programs \
  --disable-d3d11va \
  --disable-dxva2 \
  --arch=x86 \
  --enable-shared \
  --enable-cross-compile \
  --target-os=win32 \
  --extra-cflags=&quot;-MD -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WIN32_WINNT=0x0A00&quot; \
  --extra-ldflags=&quot;-APPCONTAINER WindowsApp.lib&quot; \
  --prefix=../../../Build/Windows10/x86
  </code></pre>
  <p>everything work well,after that , I execute the command:</p>
  <pre><code>make
  </code></pre>
  <p>it show error:</p>
  <pre><code>\Users\LEE\Downloads\ffmpeg-snapshot\ffmpeg\Output\Windows10\x86\config.h: warning C4828: The file contains a character starting at offset 0x2da, which is invalid in the current source character set (code page 65001) .
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(59): error C2143: syntax error: missing &quot;)&quot; (before &quot;*&quot;)
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(59): error C2143: syntax error: missing &quot;{&quot; (before &quot;*&quot;)
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(60): warning C4228: Non-standard extension used: Ignore the qualifier after the comma in the declarator list
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(60): error C2143: syntax error: missing &quot;;&quot; (before &quot;*&quot;)
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(61): error C2371: “IMFActivate”: redefinition; different base types
  C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\mfobjects.h(184): note: see the statement of &quot;IMFActivate&quot;
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(61): error C2143: syntax error: missing &quot;;&quot; (before &quot;*&quot;)
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(61): warning C4142: &quot;UINT32&quot;: benign redefinition of types
  C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\basetsd.h(81): note: see the statement of &quot;UINT32&quot;
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(61): error C2370: “UINT32”: redefinition; different storage class
  C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\basetsd.h(81): note: see the statement of &quot;UINT32&quot;
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(61): error C2059: syntax error: &quot;)&quot;
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(166): error C2143: syntax error: missing &quot;)&quot; (before &quot;*&quot;)
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(166): error C2081: &quot;MFT_REGISTER_TYPE_INFO&quot;: The name in the formal parameter table is illegal
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(166): error C2143: syntax error: missing &quot;{&quot; (before &quot;*&quot;)
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(167): error C2143: syntax error: missing &quot;;&quot; (before &quot;*&quot;)
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(168): error C2059: syntax error: &quot;type&quot;
  c:\users\lee\downloads\ffmpeg-snapshot\ffmpeg\libavcodec\mf_utils.h(168): error C2059: syntax error: &quot;)&quot;
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(54): error C2143: syntax error: missing &quot;)&quot; (before &quot;*&quot;)
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(54): error C2143: syntax error: missing &quot;{&quot; (before &quot;*&quot;)
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(55): warning C4228: Non-standard extension used: Ignore the qualifier after the comma in the declarator list
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(55): error C2143: syntax error: missing &quot;;&quot; (before &quot;*&quot;)
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(56): error C2371: “IMFActivate”: redefinition; different base types
  C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um\mfobjects.h(184): note: see the statement of &quot;IMFActivate&quot;
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(56): error C2143: syntax error: missing &quot;;&quot; (before &quot;*&quot;)
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(56): warning C4142: &quot;UINT32&quot;: benign redefinition of types
  C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\basetsd.h(81): note: see the statement of &quot;UINT32&quot;
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(56): error C2370: “UINT32”: redefinition; different storage class
  C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared\basetsd.h(81): note: see the statement of &quot;UINT32&quot;
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(56): error C2059: syntax error: &quot;)&quot;
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(57): error C2054: &quot;(&quot; should be entered after &quot;pnumMFTActivate&quot;
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(584): error C2143: syntax error: missing &quot;)&quot; (before &quot;*&quot;)
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(584): error C2081: &quot;MFT_REGISTER_TYPE_INFO&quot;: The name in the formal parameter table is illegal
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(584): error C2143: syntax error: missing &quot;{&quot; (before &quot;*&quot;)
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(585): error C2143: syntax error: missing &quot;;&quot; (before &quot;*&quot;)
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(586): error C2059: syntax error: &quot;type&quot;
  C:/Users/LEE/Downloads/ffmpeg-snapshot/ffmpegbavcodec/mf_utils.c(587): error C2059: syntax error: &quot;)&quot;
  make: *** [/c/Users/LEE/Downloads/ffmpeg-snapshot/ffmpeg/ffbuild/common.mak:67: libavcodec/mf_utils.o] Error 2
  </code></pre>
  <p>I don't know why, could you help me,thanks!</p>