simdjson_nodejs icon indicating copy to clipboard operation
simdjson_nodejs copied to clipboard

Can't build on windows

Open wavesheep opened this issue 3 years ago • 1 comments

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 avatar Apr 02 '21 07:04 wavesheep

When I fallback to v0.2.1, it works.

wavesheep avatar Apr 02 '21 08:04 wavesheep