Started by dosdan, October 16, 2016, 08:35:51 pm
QuoteThis Windows Batchscript setups a MinGW/GCC compiler environment for building ffmpeg and other media tools under Windows. After building the environment it retrieves and compiles all tools. All tools get static compiled, no external .dlls needed (with some optional exceptions)How to use it:Download the file, and extract it to your target folder. Compilers and tools will get installed there. Please make sure you use a folder without space characters. A good place is: c:\mingwDouble click the media-autobuild_suite.bat fileSelect the toolchain you'll want (select the one your operating system is on, if you don't know it's probably 64-bit)Select if you want to compile for Windows 32-bit, 64-bit or bothSelect if you want to compile non-free tools like "fdk aac"Select the numbers of CPU (cores) you want to useWait a little bit, and hopefully after a while you'll find all your "*.exe" tools under local32\bin-(audio/global/video) or local64\bin-(audio/global/video)The Script writes a ini-file, so you only need to make these choices the first time what you want to build.For all you need ~7 GB disk space. The script doesn't build any registry key or system variables, when you don't need it any more you can delete the folder and your system will be clean. Building everything from scratch takes about ~3 hours.Check doc/forcing-recompilations.md to check how you can force a rebuild of all libs/binaries.To save a bit of space you can delete, after compiling, all source folders (except the folders with a "-git", "-svn" or "-hg" on end) in /build. There's an option in the .bat for the script to remove these folders automatically.Ã¢â,¬â€¹
Quote from: AQUAR on October 20, 2016, 12:18:58 pmHave you ever tried compiling ADM using mingw and msys?