<div dir="ltr"><div dir="ltr">I am build from source on MSVC 2017 cl.exe and MSYS2 32 bit.<div><br></div><div><h2 style="box-sizing:border-box;margin-bottom:16px;margin-top:24px;line-height:1.25;border-bottom:1px solid rgb(234,236,239);padding-bottom:0.3em;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"">Environment</h2><p style="box-sizing:border-box;margin-bottom:16px;margin-top:0px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px">Machine OS: Windows 10 Prof<br style="box-sizing:border-box">Visual Studio C++ : 2017<br style="box-sizing:border-box">Windows SDK : 10.0.17763.0<br style="box-sizing:border-box">MYS2 32 : MSYS_NT-10.0-WOW | uname -m i686</p><p style="box-sizing:border-box;margin-bottom:16px;margin-top:0px;color:rgb(36,41,46);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px"><b>Building code as below and getting error:</b></p></div><div><div>tar xzf libtheora-1.2.0alpha1.tar.gz</div><div>cd libtheora-1.2.0alpha1;</div><div>cd libtheora-1.2.0alpha1; CC=cl ./configure --prefix=/d/smallgame/gaminganywhere/deps.posix --with-pic --disable-examples</div><div>configure: loading site script /mingw32/etc/config.site</div><div>checking build system type... i686-w64-mingw32</div><div>checking host system type... i686-w64-mingw32</div><div>checking target system type... i686-w64-mingw32</div><div>checking for a BSD-compatible install... /usr/bin/install -c</div><div>checking whether build environment is sane... yes</div><div>checking for a thread-safe mkdir -p... /usr/bin/mkdir -p</div><div>checking for gawk... gawk</div><div>checking whether make sets $(MAKE)... yes</div><div>checking for style of include used by make... GNU</div><div>checking for gcc... cl</div><div>checking for C compiler default output file name... conftest.exe</div><div>checking whether the C compiler works... yes</div><div>checking whether we are cross compiling... no</div><div>checking for suffix of executables... .exe</div><div>checking for suffix of object files... obj</div><div>checking whether we are using the GNU C compiler... no</div><div>checking whether cl accepts -g... yes</div><div>checking for cl option to accept ISO C89... none needed</div><div>checking dependency style of cl... none</div><div>checking dependency style of cl... none</div><div>checking for gcc... (cached) cl</div><div>checking whether we are using the GNU C compiler... (cached) no</div><div>checking whether cl accepts -g... (cached) yes</div><div>checking for cl option to accept ISO C89... (cached) none needed</div><div>checking dependency style of cl... (cached) none</div><div>checking how to run the C preprocessor... cl -E</div><div>checking whether cl and cc understand -c and -o together... no</div><div>checking for as... as</div><div>checking for dlltool... dlltool</div><div>checking for objdump... objdump</div><div>checking for a sed that does not truncate output... /usr/bin/sed</div><div>checking for grep that handles long lines and -e... /usr/bin/grep</div><div>checking for egrep... /usr/bin/grep -E</div><div>checking for fgrep... /usr/bin/grep -F</div><div>checking for non-GNU ld... /bin/ld</div><div>checking if the linker (/bin/ld) is GNU ld... yes</div><div>checking for BSD- or MS-compatible name lister (nm)... /mingw32/bin/nm -B</div><div>checking the name lister (/mingw32/bin/nm -B) interface... BSD nm</div><div>checking whether ln -s works... no, using cp -p</div><div>checking the maximum length of command line arguments... 8192</div><div>checking whether the shell understands some XSI constructs... yes</div><div>checking whether the shell understands "+="... yes</div><div>checking for /bin/ld option to reload object files... -r</div><div>checking for objdump... (cached) objdump</div><div>checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL</div><div>checking for ar... ar</div><div>checking for strip... strip</div><div>checking for ranlib... ranlib</div><div>checking command to parse /mingw32/bin/nm -B output from /d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1/compile cl object... ok</div><div>checking for ANSI C header files... yes</div><div>checking for sys/types.h... yes</div><div>checking for sys/stat.h... yes</div><div>checking for stdlib.h... yes</div><div>checking for string.h... yes</div><div>checking for memory.h... yes</div><div>checking for strings.h... no</div><div>checking for inttypes.h... yes</div><div>checking for stdint.h... yes</div><div>checking for unistd.h... no</div><div>checking for dlfcn.h... no</div><div>checking for objdir... .libs</div><div>checking for /d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1/compile cl option to produce PIC... -DDLL_EXPORT -DPIC</div><div>checking if /d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1/compile cl PIC flag -DDLL_EXPORT -DPIC works... yes</div><div>checking if /d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1/compile cl static flag  works... yes</div><div>checking if /d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1/compile cl supports -c -o file.obj... no</div><div>checking if /d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1/compile cl supports -c -o file.obj... (cached) no</div><div>checking if we can lock with hard links... yes</div><div>checking whether the /d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1/compile cl linker (/bin/ld) supports shared libraries... yes</div><div>checking dynamic linker characteristics... Win32 ld.exe</div><div>checking how to hardcode library paths into programs... immediate</div><div>checking whether stripping libraries is possible... yes</div><div>checking if libtool supports shared libraries... yes</div><div>checking whether to build shared libraries... yes</div><div>checking whether to build static libraries... yes</div><div>checking for doxygen... false</div><div>configure: WARNING: *** doxygen not found, API documentation will not be built</div><div>checking for pdflatex... no</div><div>checking for bibtex... no</div><div>checking for fig2dev... no</div><div>configure: WARNING: *** Format Specification will not built.</div><div>checking for non-GNU ld... (cached) /bin/ld</div><div>checking if the linker (/bin/ld) is GNU ld... (cached) yes</div><div>checking how to control symbol export... -export-symbols</div><div>checking for pkg-config... yes</div><div>checking for pkg-config... /usr/bin/pkg-config</div><div>checking pkg-config is at least version 0.9.0... yes</div><div>checking for OGG... yes</div><div>checking for VORBIS... yes</div><div>checking for SDL... no</div><div>configure: WARNING: *** Unable to find SDL -- Not compiling example players ***</div><div>checking sys/soundcard.h usability... no</div><div>checking sys/soundcard.h presence... no</div><div>checking for sys/soundcard.h... no</div><div>checking soundcard.h usability... no</div><div>checking soundcard.h presence... no</div><div>checking for soundcard.h... no</div><div>checking machine/soundcard.h usability... no</div><div>checking machine/soundcard.h presence... no</div><div>checking for machine/soundcard.h... no</div><div>configure: WARNING: OSS audio support not found -- not compiling player_example</div><div>checking for PNG... no</div><div>checking for library containing ftime... none required</div><div>checking for getopt_long... no</div><div>configure: creating ./config.status</div><div>config.status: creating Makefile</div><div>config.status: creating lib/Makefile</div><div>config.status: creating lib/arm/armopts.s</div><div>config.status: creating include/Makefile</div><div>config.status: creating include/theora/Makefile</div><div>config.status: creating examples/Makefile</div><div>config.status: creating doc/Makefile</div><div>config.status: creating doc/Doxyfile</div><div>config.status: creating doc/spec/Makefile</div><div>config.status: creating tests/Makefile</div><div>config.status: creating m4/Makefile</div><div>config.status: creating libtheora.spec</div><div>config.status: creating theora.pc</div><div>config.status: creating theora-uninstalled.pc</div><div>config.status: creating theoradec.pc</div><div>config.status: creating theoradec-uninstalled.pc</div><div>config.status: creating theoraenc.pc</div><div>config.status: creating theoraenc-uninstalled.pc</div><div>config.status: creating config.h</div><div>config.status: executing depfiles commands</div><div>config.status: executing libtool commands</div><div><br></div><div>------------------------------------------------------------------------</div><div>  libtheora 1.2.0alpha1:  Automatic configuration OK.</div><div><br></div><div>  General configuration:</div><div><br></div><div>    Encoding support: ........... yes</div><div>    Floating point support: ..... yes</div><div>    Assembly optimization: ...... 32 bit x86</div><div>    Debugging telemetry: ........ no</div><div>    Build example code: ......... no</div><div>    API Documentation: .......... no</div><div>    Format Documentation: ....... no</div><div><br></div><div>  Installation paths:</div><div><br></div><div>    libtheora: ................... /d/smallgame/gaminganywhere/deps.posix/lib</div><div>    C header files: .............. /d/smallgame/gaminganywhere/deps.posix/include/theora</div><div>    Documentation: ............... /d/smallgame/gaminganywhere/deps.posix/share/doc/libtheora</div><div><br></div><div>  Building:</div><div><br></div><div>    Type 'make' to compile libtheora.</div><div><br></div><div>    Type 'make install' to install libtheora.</div><div><br></div><div>    Type 'make check' to run test suite (Valgrind testing not enabled)</div><div><br></div><div>  Example programs will be built but not installed.</div><div>------------------------------------------------------------------------</div><div><br></div><div>make -C libtheora-1.2.0alpha1 -j5</div><div>make[1]: Entering directory '/d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1'</div><div>make  all-recursive</div><div>make[2]: Entering directory '/d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1'</div><div>Making all in lib</div><div>make[3]: Entering directory '/d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1/lib'</div><div>make  all-am</div><div>make[4]: Entering directory '/d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1/lib'</div><div>  CC     apiwrapper.lo</div><div>  CC     bitpack.lo</div><div>  CC     decapiwrapper.lo</div><div>  CC     decinfo.lo</div><div>  CC     decode.lo</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>bitpack.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>decinfo.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>decapiwrapper.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>apiwrapper.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>decode.c</div><div>  CC     dequant.lo</div><div>  CC     fragment.lo</div><div>  CC     huffdec.lo</div><div>  CC     idct.lo</div><div>  CC     info.lo</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>dequant.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>fragment.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>idct.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>huffdec.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>info.c</div><div>  CC     internal.lo</div><div>  CC     quant.lo</div><div>  CC     state.lo</div><div>  CC     x86cpu.lo</div><div>  CC     mmxidct.lo</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>internal.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>state.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>quant.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>mmxidct.c</div><div>Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27024.1 for x86</div><div>Copyright (C) Microsoft Corporation.  All rights reserved.</div><div><br></div><div>cl : Command line warning D9035 : option 'O' has been deprecated and will be removed in a future release</div><div>cl : Command line warning D9002 : ignoring unknown option '-g'</div><div>x86cpu.c</div><div>x86\x86cpu.c(86): error C2065: '__asm__': undeclared identifier</div><div>x86\x86cpu.c(86): error C2146: syntax error: missing ';' before identifier '__volatile__'</div><div>x86\x86cpu.c(97): error C2143: syntax error: missing ')' before ':'</div><div>x86\x86cpu.c(104): error C2065: '__asm__': undeclared identifier</div><div>x86\x86cpu.c(104): error C2146: syntax error: missing ';' before identifier '__volatile__'</div><div>x86\x86cpu.c(104): error C2143: syntax error: missing ')' before ':'</div><div>x86\x86cpu.c(112): error C2065: '__asm__': undeclared identifier</div><div>x86\x86cpu.c(112): error C2146: syntax error: missing ';' before identifier '__volatile__'</div><div>x86\x86cpu.c(112): error C2143: syntax error: missing ')' before ':'</div><div>x86\x86cpu.c(127): error C2065: '__asm__': undeclared identifier</div><div>x86\x86cpu.c(127): error C2146: syntax error: missing ';' before identifier '__volatile__'</div><div>x86\x86cpu.c(127): error C2143: syntax error: missing ')' before ':'</div><div>x86\x86cpu.c(130): error C2065: '__asm__': undeclared identifier</div><div>x86\x86cpu.c(130): error C2146: syntax error: missing ';' before identifier '__volatile__'</div><div>x86\x86cpu.c(130): error C2143: syntax error: missing ')' before ':'</div><div>x86\x86cpu.c(134): error C2065: '__asm__': undeclared identifier</div><div>d:\smallgame\gaminganywhere\deps.src\libtheora-1.2.0alpha1\lib\x86\x86int.h(97): error C2143: syntax error: missing ')' before '('x86\x86cpu.c(134): error C2146: syntax error: missing ';' before identifier '__volatile__'</div><div>x86\x86cpu.c(134): error C2143: syntax error: missing ')' before ':'</div><div><br></div><div>x86\x86cpu.c(149): error C2065: '__asm__': undeclared identifier</div><div>d:\smallgame\gaminganywhere\deps.src\libtheora-1.2.0alpha1\lib\x86\x86int.h(97): error C2091: function returns functionx86\x86cpu.c(149): error C2146: syntax error: missing ';' before identifier '__volatile__'</div><div><br></div><div>x86\x86cpu.c(149): error C2143: syntax error: missing ')' before ':'</div><div>d:\smallgame\gaminganywhere\deps.src\libtheora-1.2.0alpha1\lib\x86\x86int.h(97): error C2143: syntax error: missing ')' before 'constant'x86\x86cpu.c(162): error C2065: '__asm__': undeclared identifier</div><div>x86\x86cpu.c(162): error C2146: syntax error: missing ';' before identifier '__volatile__'</div><div><br></div><div>x86\x86cpu.c(162): error C2143: syntax error: missing ')' before ':'</div><div>d:\smallgame\gaminganywhere\deps.src\libtheora-1.2.0alpha1\lib\x86\x86int.h(97): error C2143: syntax error: missing '{' before 'constant'</div><div>d:\smallgame\gaminganywhere\deps.src\libtheora-1.2.0alpha1\lib\x86\x86int.h(97): error C2059: syntax error: 'constant'</div><div>d:\smallgame\gaminganywhere\deps.src\libtheora-1.2.0alpha1\lib\x86\x86int.h(97): error C2059: syntax error: ')'</div><div>x86\mmxidct.c(289): error C2065: '__asm__': undeclared identifier</div><div>x86\mmxidct.c(289): error C2146: syntax error: missing ';' before identifier '__volatile__'</div><div>x86\mmxidct.c(312): error C2143: syntax error: missing ')' before ':'</div><div>x86\mmxidct.c(312): warning C4116: unnamed type definition in parentheses</div><div>x86\mmxidct.c(312): error C2065: '_y': undeclared identifier</div><div>x86\mmxidct.c(312): error C2099: initializer is not a constant</div><div>x86\mmxidct.c(312): error C2040: 'array_addr__': 'int' differs in levels of indirection from 'int *'</div><div>x86\mmxidct.c(312): error C2059: syntax error: '}'</div><div>x86\mmxidct.c(312): error C2059: syntax error: ')'</div><div>x86\mmxidct.c(313): error C2059: syntax error: ')'</div><div>x86\mmxidct.c(313): error C2059: syntax error: ','</div><div>x86\mmxidct.c(314): error C2059: syntax error: ')'</div><div>x86\mmxidct.c(315): error C2059: syntax error: ')'</div><div>x86\mmxidct.c(316): error C2059: syntax error: 'if'</div><div>x86\mmxidct.c(329): error C2059: syntax error: '}'</div><div>make[4]: *** [Makefile:851: x86cpu.lo] Error 1</div><div>make[4]: *** Waiting for unfinished jobs....</div><div>make[4]: *** [Makefile:859: mmxidct.lo] Error 1</div><div>make[4]: Leaving directory '/d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1/lib'</div><div>make[3]: *** [Makefile:624: all] Error 2</div><div>make[3]: Leaving directory '/d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1/lib'</div><div>make[2]: *** [Makefile:437: all-recursive] Error 1</div><div>make[2]: Leaving directory '/d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1'</div><div>make[1]: *** [Makefile:330: all] Error 2</div><div>make[1]: Leaving directory '/d/smallgame/gaminganywhere/deps.src/libtheora-1.2.0alpha1'</div><div>make: *** [Makefile:117: theora] Error 2</div></div><div><br></div></div></div>