From: HardCPP Date: Wed, 24 Apr 2013 06:40:54 +0000 (+0300) Subject: Add script building instruction for visual c++ X-Git-Tag: 11.4~1^2 X-Git-Url: https://git.novaco.in/?p=p2pool.git;a=commitdiff_plain;h=0d785d3b0135e4cfc943c790f9ec240c318b5b17 Add script building instruction for visual c++ --- diff --git a/README.md b/README.md index 896bea8..645bdff 100644 --- 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