Changes between Version 23 and Version 24 of CompilationGuide/MinGW


Ignore:
Timestamp:
Dec 19, 2014, 3:10:02 PM (5 years ago)
Author:
rogerdpack
Comment:

I think this is how to actually use it...

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/MinGW

    v23 v24  
    99Also note that sometimes it is easier to cross compile, see CrossCompilingForWindows, which also may contain some hints/clues for compiling the various dependencies you'd need using mingw, too.
    1010
    11 More Windows-specific information can be found in the official documentation at:
     11Some Windows-specific compilation information can be found in the official documentation at:
    1212
    1313http://ffmpeg.org/platform.html#Windows
     
    1515== MinGW ==
    1616
    17 You basically have two options for a compiler: mingw "mainline" or mingw-w64.  Both offer working gcc's for windows.  The latter tends to be slightly more up to date than the former, and offers a few more libraries, like DirectShow headers.  The instructions here are basically for mingw "mainline", but the two are interchangeable.  Basically, you will install one "MinGW" package and one ("MSys" or "Msys2"), MinGW providing gcc and headers, MSys providing shell utilities like make and bash.  Also of note is that the Msys2 system includes some packages like "mingw-w64-i686-gcc" (i.e. cross compilers) that might be of some usefulness if you want to go the cross compiling [but still in windows land] route, similar to cross compiling using cygwin.  There is a separate wiki page for cross compiling.
     17You basically have two options for a compiler: mingw "mainline" or mingw-w64.  Both offer working gcc's for windows.  The latter tends to be slightly more up to date than the former, and offers a few more libraries, like DirectShow headers.  The instructions here are basically for mingw "mainline", but the two are interchangeable.  Basically, you will install one "MinGW" package and one ("MSys" or "Msys2"), MinGW providing gcc and headers, MSys providing shell utilities like make and bash.  Also of note is that the Msys2 system includes some packages like "mingw-w64-i686-gcc" (i.e. cross compilers) that might be of some usefulness if you want to go the cross compiling [but still in windows land] route, similar to cross compiling using cygwin.
    1818
    1919Go to:
     
    4747paths.
    4848
    49 Also note that to access dshow devices you to use the mingw-w64 as the compiler (or cross compiler), so straight MinGW won't have this functionality available.
     49To use mingw-w64, basically install MinGW, as above, but only check the "msys for developers option", then install a mingw-w64 compiler (see http://ingar.satgnu.net/devenv/mingw32/base.html)
     50
     51Also note that to access dshow devices you have to use the mingw-w64 as the compiler (or cross compiler), as straight MinGW won't have this functionality available.
    5052
    5153=== MinGW installation style ===