From 5ed47afc8221b58c11050c4045edc762f332dfd1 Mon Sep 17 00:00:00 2001 From: Ethan Hugg Date: Fri, 17 Jan 2014 11:47:38 -0800 Subject: [PATCH] Update ReadMe for new Windows builds --- README.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 407b8622..179444f2 100644 --- a/README.md +++ b/README.md @@ -53,19 +53,23 @@ NASM needed to be installed for assembly code: workable version 2.07 or above, n For Windows Builds ------------------ -Windows Visual Studio 2008/2010/2012 projects are available: - : build the decoder via the Visual Studio projects in codec/build/win32/dec - : build the encoder via the Visual Studio projects in codec/build/win32/enc - : build the encoder shared library via the Visual Studio projects in processing/build/win32/ -The command line programs will be bin/win32/decConsoled.exe and bin/win32/encConsole.exe. +Our Windows builds use MinGW which can be found here - http://www.mingw.org/ -Windows batch files also exist for building: - : Visual Studio 2008 use testbin/AutoBuild_Windows_VS2008.bat - : Visual Studio 2010 use testbin/AutoBuild_Windows_VS2010.bat - : Visual Studio 2012 use testbin/AutoBuild_Windows_VS2012.bat +To build with gcc, add the MinGW bin directory (e.g. /c/MinGW/bin) to your path and follow the 'For All Platforms' instructions below. -For Other Platforms +To build with Visual Studio you will need to setup your path to run cl.exe. Here is an example from a Windows 64bit install of VS2012: + +export PATH="$PATH:/c/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin:/c/Program Files (x86)/Microsoft Visual Studio 11.0/Common7/IDE" + +You will also need to set your INCLUDE and LIB paths to point to your VS and SDK installs. Something like this, again from Win64 with VS2012 (note the use of Windows-style paths here). + +export INCLUDE="C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include;C:\Program Files (x86)\Windows Kits\8.0\Include\um;C:\Program Files (x86)\Windows Kits\8.0\Include\shared" +export LIB="C:\Program Files (x86)\Windows Kits\8.0\Lib\Win8\um\x86;C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\lib" + +Then add 'UNAME=msvc' to the make line of the 'For All Platforms' instructions. + +For All Platforms ------------------- From the main project directory: 'make' for 32bit builds