luizperes / simdjson_nodejs

Node.js bindings for the simdjson project: "Parsing gigabytes of JSON per second"
https://arxiv.org/abs/1902.08318
Apache License 2.0
547 stars 25 forks source link

Can't build on windows #44

Open wavesheep opened 3 years ago

wavesheep commented 3 years ago

NODE_VERSION: 15.10.0 TARGET_PLATFORM_VERTION: 10.0.17763.0 VS_VERTION: VS2017 (15.9.28307.1440) TOOLSET_VERTION: v141 node-addon-api\napi-inl.h(2155): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify simdjson\simdjson\bindings.cpp(15): error C2653: 'dom': is not a class or namespace name simdjson\simdjson\bindings.cpp(15): error C2061: syntax error: identifier 'element' simdjson\build\simdjson.vcxproj] simdjson\simdjson\bindings.cpp(15): error C2244: 'makeJSONObject': unable to match function definition to an existing simdjson\simdjson\bindings.cpp(75): error C2653: 'dom': is not a class or namespace name simdjson\simdjson\bindings.cpp(75): error C2061: syntax error: identifier 'element' simdjson\simdjson\bindings.cpp(75): error C2244: 'findKeyPath': simdjson\simdjson\bindings.cpp(118): error C2664: 'Napi::Value simdjsonnode::makeJSONObject(Napi::Env,simdjson::dom::element)': cannot convert argument 2 from 'simdjson::simdjson_result<simdjson::dom::element>' to 'simdjson::dom::element' simdjson\simdjson\bindings.cpp(118): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

wavesheep commented 3 years ago

When I fallback to v0.2.1, it works.