From 17dda85c716c47b969bd7b5ba6ad5dc7fb4bb7d2 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Thu, 25 Mar 2010 09:28:09 +0000 Subject: [PATCH] Add README for Windows compilation using win32/Makefile. Rename README-Windows.txt (compilation using CMake) into CMake-Windows.txt --- README-Windows.txt => CMake-Windows.txt | 0 make_release.sh | 1 - win32/README-Windows.txt | 23 +++++++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) rename README-Windows.txt => CMake-Windows.txt (100%) create mode 100644 win32/README-Windows.txt diff --git a/README-Windows.txt b/CMake-Windows.txt similarity index 100% rename from README-Windows.txt rename to CMake-Windows.txt diff --git a/make_release.sh b/make_release.sh index 7a19460..df68e97 100755 --- a/make_release.sh +++ b/make_release.sh @@ -67,7 +67,6 @@ if [ ! -f $LIBNFC_WINDOWS_ARCHIVE ]; then # Copy important files cp AUTHORS $LIBNFC_WINDOWS_DIR/AUTHORS.txt cp LICENSE $LIBNFC_WINDOWS_DIR/LICENSE.txt - cp README-Windows.txt $LIBNFC_WINDOWS_DIR/ # Remove Autotools Makefile.am find $LIBNFC_WINDOWS_DIR/ -name Makefile.am | xargs rm -f diff --git a/win32/README-Windows.txt b/win32/README-Windows.txt new file mode 100644 index 0000000..98861dc --- /dev/null +++ b/win32/README-Windows.txt @@ -0,0 +1,23 @@ +Installation instructions for Windows using WinSDK7 and MinGW Make +------------------------------------------------------------------ + +Get the source files +-------------------- +1. Download the Source for Microsoft Windows (libnfc-1.3.3-winsdk.zip) +2. Extract the files to your computer (e.g. C:\libnfc-1.3.3-winsdk) + +MinGW +----- +1. Download MinGW from http://www.mingw.org/ +2. Install MinGW Make +3. Make sure to add the MinGW\bin to the Windows PATH Environment Variable + +Windows SDK +----------- +1. Download Microsoft Windows SDK v7.0 (http://msdn.microsoft.com/en-us/windows/bb980924.aspx) +2. Open the "Start Menu\All programs\Microsoft Windows SDK v7.0\CMD Shell" + + C:\Program Files\Microsoft SDKs\Windows\v7.0> WindowsSdkVer.exe -version:v7.0 + C:\Program Files\Microsoft SDKs\Windows\v7.0> cd C:\ libnfc-1.3.3-winsdk\win32 + C:\ libnfc-1.3.3-winsdk\win32>mingw32-make +