Ok! I deed it.
The next trouble was of my Win7 64bit version node.js. I'd to reinstall it to 32bit.
Then it all become works.
While npm install there became a lot of warnings, here are they:
> z...@2.1.0 install C:\Program Files (x86)\nodejs\node_modules\zmq
> node-gyp rebuild
C:\Program Files (x86)\nodejs\node_modules\zmq>node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
binding.cc
c:\users\aser\.node-gyp\0.8.4\src\node_object_wrap.h(57): warning C4251: 'node::ObjectWrap::handle_' : class 'v8::Persistent<T>' needs to have dll-interface to be used by clients of class 'node::ObjectWrap' [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
with
[
T=v8::Object
]
C:\Users\aser\.node-gyp\0.8.4\src\node_buffer.h(71): warning C4251: 'node::Buffer::constructor_template' : class 'v8::Persistent<T>' needs to have dll-interface to be used by clients of class 'node::Buffer' [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
with
[
T=v8::FunctionTemplate
]
..\binding.cc(281): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning) [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(413): warning C4244: 'argument' : conversion from 'int64_t' to 'int', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(418): warning C4244: 'argument' : conversion from 'int64_t' to 'int', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(420): warning C4244: 'argument' : conversion from 'int64_t' to 'int', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(422): warning C4244: 'argument' : conversion from 'int64_t' to 'int', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(428): warning C4244: 'argument' : conversion from 'int64_t' to 'int', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(455): warning C4244: 'argument' : conversion from 'int64_t' to 'int', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(460): warning C4244: 'argument' : conversion from 'int64_t' to 'int', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(464): warning C4244: 'argument' : conversion from 'int64_t' to 'int', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(468): warning C4244: 'argument' : conversion from 'int64_t' to 'int', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(665): warning C4244: '=' : conversion from 'int64_t' to 'int', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(765): warning C4244: '=' : conversion from 'int64_t' to 'int', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(359): warning C4244: 'argument' : conversion from 'uint64_t' to 'int32_t', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(413) : see reference to function template instantiation 'v8::Handle<T> zmq::Socket::GetSockOpt<uint64_t>(int)' being compiled
with
[
T=v8::Value
]
..\binding.cc(359): warning C4244: 'argument' : conversion from 'int64_t' to 'int32_t', possible loss of data [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
..\binding.cc(418) : see reference to function template instantiation 'v8::Handle<T> zmq::Socket::GetSockOpt<int64_t>(int)' being compiled
with
[
T=v8::Value
]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(991,5): warning MSB8012: TargetExt(.dll) does not match the Linker's OutputFile property value (.node). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). [C:\Program Files (x86)\nodejs\node_modules\zmq\build\binding.vcxproj]
Creating library C:\Program Files (x86)\nodejs\node_modules\zmq\build\Release\binding.lib and object C:\Program Files (x86)\nodejs\node_modules\zmq\build\Release\binding.exp
Generating code
Finished generating code
binding.vcxproj -> C:\Program Files (x86)\nodejs\node_modules\zmq\build\Release\\binding.node
z...@2.1.0 node_modules\zmq
воскресенье, 29 июля 2012 г., 13:39:26 UTC+4 пользователь mscdex написал: