Add script building instruction for visual c++
authorHardCPP <mail@hardcpp.net>
Wed, 24 Apr 2013 06:40:54 +0000 (09:40 +0300)
committerHardCPP <mail@hardcpp.net>
Wed, 24 Apr 2013 06:40:54 +0000 (09:40 +0300)
README.md

index 896bea8..645bdff 100644 (file)
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ Donations towards further development:
 
 Official wiki :
 -------------------------
-https://en.bitcoin.it/wiki/P2Pool      
+https://en.bitcoin.it/wiki/P2Pool    
 
 Alternate web front end :
 -------------------------
@@ -58,7 +58,7 @@ Linux:
     cd litecoin_scrypt
     sudo python setup.py install
 
-Windows:
+Windows (mingw):
 * Install MinGW: http://www.mingw.org/wiki/Getting_Started
 * Install Python 2.7: http://www.python.org/getit/
 
@@ -67,6 +67,16 @@ In bash type this:
     cd litecoin_scrypt
     C:\Python27\python.exe setup.py build --compile=mingw32 install
 
+Windows (microsoft visual c++)
+* Open visual studio console
+
+In bash type this:
+
+    SET VS90COMNTOOLS=%VS110COMNTOOLS%            # For visual c++ 2012
+    SET VS90COMNTOOLS=%VS100COMNTOOLS%             # For visual c++ 2010
+    cd litecoin_scrypt
+    C:\Python27\python.exe setup.py build --compile=mingw32 install
+       
 If you run into an error with unrecognized command line option '-mno-cygwin', see this:
 http://stackoverflow.com/questions/6034390/compiling-with-cython-and-mingw-produces-gcc-error-unrecognized-command-line-o