Building Node.js source in Windows 7 64bit Machine

Prerequisite: 

  • Be sure to have Visual Studio installed in your machine or at least VC build components.
  • Install Python 2.x (for example C:Python2.7.2)
  • Now download or git node source in your machine (for example C:azurenode-v0.6.7)

Start building:

  1. Add C:Python2.7.2 in your system path
  2. Launch Visual Studio command prompt 32bit (x86)
  3. Run >vcbuild.bat release   – to build release version of node.
  4. Run >vcbuild.bat debug     – to build release version of node.

Note:  if you have CYGWIN install then try to remove the CYGWIN folder path during your build process.

If you want to launch VS environment directly from command prompt use:

  1. Open Command prompt
  2. Now run the following command at your command prompt
    1. “”C:Program Files (x86)Microsoft Visual Studio 10.0VCvcvarsall.bat”” x86
    2. Above command will set Visual Studio environment

One thought on “Building Node.js source in Windows 7 64bit Machine

Leave a comment