Skip to content

Commit f067817

Browse files
authored
Merge pull request #55 from lgeiger/vs2015
Update windows libs to VS 2015
2 parents f0a3447 + d644146 commit f067817

File tree

5 files changed

+19
-10
lines changed

5 files changed

+19
-10
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,28 @@ The wonder of binaries begins.
5353
## Installation - Contributors and Development
5454

5555
To set up `zmq-prebuilt` for development, fork this repository and
56-
clone your fork to your system. Be sure you have Python 2 and `git-lfs` installed.
56+
clone your fork to your system. Be sure you have [`git-lfs`](https://git-lfs.github.com/) installed.
5757

5858
**Prerequisites for Linux and OS X**
5959

6060
If you are running on Linux or OS X, you will need to have `automake`,
61-
`autoconf`, `pkg-config`, `wget` and `libtool` installed. For Linux, use your distribution's
61+
`autoconf`, `pkg-config`, `wget`, `libtool` and Python 2.7 (`v3.x.x` is not supported) installed. For Linux, use your distribution's
6262
package manager to install. On OS X, these can be installed using
6363
[Homebrew](http://brew.sh) and using the Homebrew command `brew install`
6464
command. For example, install `wget` with `brew install wget`.
6565

6666
**Prerequisites for Windows**
6767

68-
On Windows you'll need [Visual Studio 2013](https://www.microsoft.com/en-US/download/details.aspx?id=44914).
68+
- **Option 1:** Install all the required tools and configurations using Microsoft's [windows-build-tools](https://github.com/felixrieseberg/windows-build-tools) by running `npm install -g windows-build-tools` from an elevated PowerShell (run as Administrator).
69+
- **Option 2:** Install dependencies and configuration manually
70+
1. Visual C++ Build Environment:
71+
* **Option 1:** Install [Visual C++ Build Tools](http://go.microsoft.com/fwlink/?LinkId=691126) using the *Default Install* option.
72+
* **Option 2:** Install [Visual Studio 2015](https://www.visualstudio.com/products/visual-studio-community-vs) (or modify an existing installation) and select *Common Tools for Visual C++* during setup.
73+
74+
> :bulb: [Windows Vista / 7 only] requires [.NET Framework 4.5.1](http://www.microsoft.com/en-us/download/details.aspx?id=40773)
75+
76+
2. Install [Python 2.7](https://www.python.org/downloads/) or [Miniconda 2.7](http://conda.pydata.org/miniconda.html) (`v3.x.x` is not supported), and run `npm config set python python2.7`
77+
3. Launch cmd, `npm config set msvs_version 2015`
6978

7079

7180
**Installation**

binding.gyp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
'cflags_cc!': ['-fno-exceptions'],
99
'conditions': [
1010
['OS=="win"', {
11-
'msbuild_toolset': 'v120',
11+
'msbuild_toolset': 'v140',
1212
'defines': ['ZMQ_STATIC'],
1313
'include_dirs': ['windows/include'],
1414
'conditions': [
1515
['target_arch=="ia32"', {
1616
'libraries': [
17-
'<(PRODUCT_DIR)/../../windows/lib/x86/libzmq',
17+
'<(PRODUCT_DIR)/../../windows/lib/Win32/libzmq',
1818
'ws2_32.lib',
1919
]
2020
},{

windows/lib/Win32/libzmq.lib

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:b682b313de3bb500884b5a4ffdcea5842d13fe09dd92e80df038ff21429344fa
3+
size 8297334

windows/lib/x64/libzmq.lib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:4a455a6de001c82de8040164d93d602a2e197f83f197bc19c16e1681994352cf
3-
size 16320116
2+
oid sha256:b9300476da2d013391148bf3d9c4042197abd7b116182fb4d4abca1d27f88abc
3+
size 9394486

windows/lib/x86/libzmq.lib

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)