Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create and use libzmq.dll and libzmq.lib #9

Merged
merged 3 commits into from
Feb 29, 2016
Merged

Create and use libzmq.dll and libzmq.lib #9

merged 3 commits into from
Feb 29, 2016

Conversation

rgbkrk
Copy link
Member

@rgbkrk rgbkrk commented Feb 28, 2016

In order to generate this DLL and .lib, I had to build straight from libzmq directly. This switches us over to Git LFS for DLLs as well. We need this to build all in one, though we're not there yet.

This works when building with node-gyp (note that I'm on Visual Studio 2015):

PS C:\Users\Administrator\zmq-prebuilt> node-gyp build
gyp info it worked if it ends with ok
gyp info using node-gyp@3.3.0
gyp info using node@5.7.0 | win32 | x64
gyp info spawn C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args   '/clp:Verbosity=minimal',
gyp info spawn args   '/nologo',
gyp info spawn args   '/p:Configuration=Release;Platform=x64' ]
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
     Creating library C:\Users\Administrator\zmq-prebuilt\build\Release\zmq.lib and object C:\Users\Administrator\zmq
  rebuilt\build\Release\zmq.exp
  Generating code
  Finished generating code
  zmq.vcxproj -> C:\Users\Administrator\zmq-prebuilt\build\Release\\zmq.node
gyp info ok

Not having a good time with prebuild though:

PS C:\Users\Administrator\zmq-prebuilt> prebuild --all
prebuild info begin Prebuild version 4.1.0
prebuild info build Preparing to prebuild zmq-prebuilt@0.0.3 for v0.10.42 on win32-x64 using node-gyp
prebuild http GET https://nodejs.org/dist/v0.10.42/node-v0.10.42-headers.tar.gz
prebuild http 200 https://nodejs.org/dist/v0.10.42/node-v0.10.42-headers.tar.gz
prebuild WARN install got an error, rolling back install
prebuild ERR! install error
prebuild ERR! stack Error: unexpected end of file
prebuild ERR! stack     at Zlib._handle.onerror (zlib.js:363:17)
prebuild ERR! not ok

@rgbkrk
Copy link
Member Author

rgbkrk commented Feb 28, 2016

Added in the 32-bit builds for appveyor and everyone's sake just now.

Seriously, this is a commit just to re-trigger AppVeyor with new settings
I've put in.
jdfreder added a commit that referenced this pull request Feb 29, 2016
Create and use libzmq.dll and libzmq.lib
@jdfreder jdfreder merged commit 6ecd649 into master Feb 29, 2016
@jdfreder
Copy link
Contributor

Thanks @rgbkrk !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants