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
Advertisements

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s