Closed tlvenn closed 10 years ago
Well actually, my node-protobuf package does not even work... Bindings.js is trying to locate a protobuf.node that simply does not exist...
Nevermind... Looks like changing Runtime Library (Config/C/Code Generation) from Multi-threaded DLL (/MD) to Multi Threaded (/MT) did the trick.
By default (WIndows 8.1, VS 2012). gyp is trying to build a dll (shared lib) instead of a static lib (.lib) and it simply does not work. I have to edit the gyp file to add: 'type': 'static_library' so that gyp can compile properly protobuf.
Is it possible that in some env, it somehow default to static lib and in some other cases like mine, it tries to build a shared lib ? Shouldn't the gyp file enforce a static lib ?