Closed ghost closed 10 years ago
@archon432 make sure you follow installation instructions for Windows.
Oops, sorry about that. Will try and close if it solved my problem.
@fuwaneko
I am getting a lot of unresolved external errors with /MT CLR flag. Using Visual Studio 2012, latest x64 Node.js (MSI). Compiling as x64.
This is a sample error:
libprotobuf.lib(zero_copy_stream_impl.obj) : error LNK2001: unresolved external
symbol "void __cdecl std::_Facet_Register(class std::_Facet_base *)" (?Facet
Register@std@@YAXPEAV_Facet_base@1@@Z) [
@archon432 there's obviously conflict between libraries compiled with different settings. Make sure everything is compiled with the same settings, either all dynamically linked or all statically linked. Libprotobuf must also be compiled as static library, not DLL.
Solved. I had wrong Node.js version installed.
..\protobuf.cpp(7): fatal error C1083: Cannot open include file: 'google/protob uf/dynamic_message.h': No such file or directory [F:\Development\git\triobit\te rminal\current\npm\node_modules\node-protobuf\build\protobuf.vcxproj]
On Windows 8.1 x64. Latest Node.js and NPM.