Update build instructions for VS2013.

This commit is contained in:
Cheng Zhao 2014-06-27 11:08:00 +08:00
parent 2d073e78ef
commit 5d4f1e3c00

View file

@ -2,21 +2,17 @@
## Prerequisites ## Prerequisites
* Windows 7 or later * Windows 8
* Visual Studio 2010 Express or Professional, with SP1 update * Visual Studio 2013
* Make sure "X64 Compilers and Tools" are installed if you use the
Professional edition.
* [Python 2.7](http://www.python.org/download/releases/2.7/) * [Python 2.7](http://www.python.org/download/releases/2.7/)
* 32bit [node.js](http://nodejs.org/) * 32bit [node.js](http://nodejs.org/)
* [git](http://git-scm.com) * [git](http://git-scm.com)
If you are using Visual Studio 2010 __Express__ then you also need following If you are using Visual Studio 2013 __Express__ then you also need following
softwares: softwares:
* [WDK](http://www.microsoft.com/en-us/download/details.aspx?id=11800) * [WDK](http://www.microsoft.com/en-us/download/details.aspx?id=11800)
* `Build Environments` is required. * `Build Environments` is required.
* [Windows 7 SDK](http://www.microsoft.com/en-us/download/details.aspx?id=8279)
* `Windows Headers` and `Visual C++ Compilers` are required.
The instructions below are executed under [cygwin](http://www.cygwin.com), The instructions below are executed under [cygwin](http://www.cygwin.com),
but it's not a requirement, you can also build atom-shell under the Windows but it's not a requirement, you can also build atom-shell under the Windows
@ -79,8 +75,7 @@ $ python script/test.py
### Command xxxx not found ### Command xxxx not found
If you encountered an error like `Command xxxx not found`, you may try to use If you encountered an error like `Command xxxx not found`, you may try to use
the `Visual Studio x64 Tools Command Prompt (2010)` console to execute the build the `VS2012 Command Prompt` console to execute the build scripts.
scripts.
### Assertion failed: ((handle))->activecnt >= 0 ### Assertion failed: ((handle))->activecnt >= 0
@ -110,11 +105,6 @@ you have installed python under `C:\Python27`):
/cygdrive/c/Python27/python.exe script/bootstrap.py /cygdrive/c/Python27/python.exe script/bootstrap.py
``` ```
### LNK1123: failure during conversion to COFF: file invalid or corrupt
Upgrading to VS 2010 SP1 would solve this, read the Microsoft Support article
on more of this: http://support.microsoft.com/kb/2757355.
### LNK1181: cannot open input file 'kernel32.lib' ### LNK1181: cannot open input file 'kernel32.lib'
Try reinstalling 32bit node.js. Try reinstalling 32bit node.js.