shithub: openh264

Download patch

ref: bbe51935c780fe2747cb757e8f81635be119f112
parent: 8892e99fbc2bc1ba1cab402c0e80c19f0633723d
parent: 5ed47afc8221b58c11050c4045edc762f332dfd1
author: ekr <[email protected]>
date: Fri Jan 17 09:16:25 EST 2014

Merge pull request #160 from ethanhugg/windows_readme

Update ReadMe for new Windows builds

--- a/README.md
+++ b/README.md
@@ -53,19 +53,23 @@
 
 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