-
Notifications
You must be signed in to change notification settings - Fork 7
Description
There appears to be a major compilation error and a long list of warnings.
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
IndexPriorityQueue.cc
AStar.cc
pathfinder.cc
win_delay_load_hook.cc
..\src\pathfinder.cc(1): warning C4005: 'BUILDING_NODE_EXTENSION': macro redefinition [C:\Projects\node_test\node_modul
es\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(1): note: command-line arguments: see previous definition of 'BUILDING_NODE_EXTENSION'
..\src\IndexPriorityQueue.cc(130): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of d
ata [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\IndexPriorityQueue.cc(146): warning C4244: 'return': conversion from 'double' to 'int', possible loss of data [C
:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(125): error C4576: a parenthesized type followed by an initializer list is a non-standard explicit type
conversion syntax [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(126): error C4576: a parenthesized type followed by an initializer list is a non-standard explicit type
conversion syntax [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(127): error C4576: a parenthesized type followed by an initializer list is a non-standard explicit type
conversion syntax [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(128): error C4576: a parenthesized type followed by an initializer list is a non-standard explicit type
conversion syntax [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(129): error C4576: a parenthesized type followed by an initializer list is a non-standard explicit type
conversion syntax [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(130): error C4576: a parenthesized type followed by an initializer list is a non-standard explicit type
conversion syntax [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(131): error C4576: a parenthesized type followed by an initializer list is a non-standard explicit type
conversion syntax [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(132): error C4576: a parenthesized type followed by an initializer list is a non-standard explicit type
conversion syntax [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(134): error C4576: a parenthesized type followed by an initializer list is a non-standard explicit type
conversion syntax [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(262): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data [C:\Proje
cts\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(418): error C2131: expression did not evaluate to a constant [C:\Projects\node_test\node_modules\node-p
athfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(418): note: failure was caused by non-constant arguments or reference to a non-constant symbol
..\src\AStar.cc(418): note: see usage of 'size'
..\src\AStar.cc(419): error C2131: expression did not evaluate to a constant [C:\Projects\node_test\node_modules\node-p
athfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(419): note: failure was caused by non-constant arguments or reference to a non-constant symbol
..\src\AStar.cc(419): note: see usage of 'size'
..\src\AStar.cc(420): error C2131: expression did not evaluate to a constant [C:\Projects\node_test\node_modules\node-p
athfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(420): note: failure was caused by non-constant arguments or reference to a non-constant symbol
..\src\AStar.cc(420): note: see usage of 'size'
..\src\AStar.cc(434): error C3863: array type 'double [size]' is not assignable [C:\Projects\node_test\node_modules\nod
e-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(435): error C3863: array type 'int [size]' is not assignable [C:\Projects\node_test\node_modules\node-p
athfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(447): error C3863: array type 'char [size]' is not assignable [C:\Projects\node_test\node_modules\node-
pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(451): error C2664: 'direction directionWeCameFrom(astar_t *,int,int)': cannot convert argument 3 from '
int [size]' to 'int' [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(451): note: There is no context in which this conversion is possible
..\src\AStar.cc(502): error C2131: expression did not evaluate to a constant [C:\Projects\node_test\node_modules\node-p
athfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(502): note: failure was caused by non-constant arguments or reference to a non-constant symbol
..\src\AStar.cc(502): note: see usage of 'size'
..\src\AStar.cc(503): error C2131: expression did not evaluate to a constant [C:\Projects\node_test\node_modules\node-p
athfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(503): note: failure was caused by non-constant arguments or reference to a non-constant symbol
..\src\AStar.cc(503): note: see usage of 'size'
..\src\AStar.cc(504): error C2131: expression did not evaluate to a constant [C:\Projects\node_test\node_modules\node-p
athfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(504): note: failure was caused by non-constant arguments or reference to a non-constant symbol
..\src\AStar.cc(504): note: see usage of 'size'
..\src\AStar.cc(519): error C3863: array type 'double [size]' is not assignable [C:\Projects\node_test\node_modules\nod
e-pathfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(520): error C3863: array type 'int [size]' is not assignable [C:\Projects\node_test\node_modules\node-p
athfinder\build\pathfinder.vcxproj]
..\src\AStar.cc(533): error C3863: array type 'char [size]' is not assignable [C:\Projects\node_test\node_modules\node-
pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(10): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [C:
\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(10): error C2143: syntax error: missing ',' before '&' [C:\Projects\node_test\node_modules\node-pa
thfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(11): error C2248: 'v8::HandleScope::HandleScope': cannot access protected member declared in class
'v8::HandleScope' [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
c:\users\nom.node-gyp\10.8.0\include\node\v8.h(883): note: see declaration of 'v8::HandleScope::HandleScope'
c:\users\nom.node-gyp\10.8.0\include\node\v8.h(864): note: see declaration of 'v8::HandleScope'
..\src\pathfinder.cc(13): error C2065: 'args': undeclared identifier [C:\Projects\node_test\node_modules\node-pathfinde
r\build\pathfinder.vcxproj]
..\src\pathfinder.cc(13): error C2228: left of '.Length' must have class/struct/union [C:\Projects\node_test\node_modul
es\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(13): note: type is 'unknown-type'
..\src\pathfinder.cc(15): error C2039: 'Close': is not a member of 'v8::HandleScope' [C:\Projects\node_test\node_module
s\node-pathfinder\build\pathfinder.vcxproj]
c:\users\nom.node-gyp\10.8.0\include\node\v8.h(864): note: see declaration of 'v8::HandleScope'
..\src\pathfinder.cc(15): error C2660: 'v8::Undefined': function does not take 0 arguments [C:\Projects\node_test\node_
modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(18): error C2065: 'args': undeclared identifier [C:\Projects\node_test\node_modules\node-pathfinde
r\build\pathfinder.vcxproj]
..\src\pathfinder.cc(18): error C2227: left of '->IsArray' must point to class/struct/union/generic type [C:\Projects\n
ode_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(18): error C2227: left of '->IsNumber' must point to class/struct/union/generic type [C:\Projects
node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(20): error C2039: 'Close': is not a member of 'v8::HandleScope' [C:\Projects\node_test\node_module
s\node-pathfinder\build\pathfinder.vcxproj]
c:\users\nom.node-gyp\10.8.0\include\node\v8.h(864): note: see declaration of 'v8::HandleScope'
..\src\pathfinder.cc(20): error C2660: 'v8::Undefined': function does not take 0 arguments [C:\Projects\node_test\node_
modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(22): error C2065: 'args': undeclared identifier [C:\Projects\node_test\node_modules\node-pathfinde
r\build\pathfinder.vcxproj]
..\src\pathfinder.cc(24): error C2065: 'args': undeclared identifier [C:\Projects\node_test\node_modules\node-pathfinde
r\build\pathfinder.vcxproj]
..\src\pathfinder.cc(24): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\Project
s\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(25): error C2065: 'args': undeclared identifier [C:\Projects\node_test\node_modules\node-pathfinde
r\build\pathfinder.vcxproj]
..\src\pathfinder.cc(25): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\Project
s\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(26): error C2065: 'args': undeclared identifier [C:\Projects\node_test\node_modules\node-pathfinde
r\build\pathfinder.vcxproj]
..\src\pathfinder.cc(26): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\Project
s\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(27): error C2065: 'args': undeclared identifier [C:\Projects\node_test\node_modules\node-pathfinde
r\build\pathfinder.vcxproj]
..\src\pathfinder.cc(27): error C2227: left of '->Int32Value' must point to class/struct/union/generic type [C:\Project
s\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(37): error C2131: expression did not evaluate to a constant [C:\Projects\node_test\node_modules\no
de-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(37): note: failure was caused by non-constant arguments or reference to a non-constant symbol
..\src\pathfinder.cc(37): note: see usage of 'width'
..\src\pathfinder.cc(44): error C2440: 'initializing': cannot convert from 'v8::Array ' to 'v8::Localv8::Array' [C:
Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(44): note: Constructor for class 'v8::Localv8::Array' is declared 'explicit'
..\src\pathfinder.cc(48): error C3863: array type 'char [widthheight]' is not assignable [C:\Projects\node_test\node_m
odules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(58): error C2664: 'v8::Localv8::Array v8::Array::New(v8::Isolate *,int)': cannot convert argumen
t 1 from 'int' to 'v8::Isolate *' [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(58): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast
or function-style cast
..\src\pathfinder.cc(68): error C2664: 'v8::Localv8::Array v8::Array::New(v8::Isolate *,int)': cannot convert argumen
t 1 from 'int' to 'v8::Isolate *' [C:\Projects\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(68): note: Conversion from integral type to pointer type requires reinterpret_cast, C-style cast
or function-style cast
..\src\pathfinder.cc(69): error C2660: 'v8::Number::New': function does not take 1 arguments [C:\Projects\node_test\nod
e_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(69): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [C:\Projects\node_te
st\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(70): error C2660: 'v8::Number::New': function does not take 1 arguments [C:\Projects\node_test\nod
e_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(70): error C2661: 'v8::Object::Set': no overloaded function takes 1 arguments [C:\Projects\node_te
st\node_modules\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(76): error C2039: 'Close': is not a member of 'v8::HandleScope' [C:\Projects\node_test\node_module
s\node-pathfinder\build\pathfinder.vcxproj]
c:\users\nom.node-gyp\10.8.0\include\node\v8.h(864): note: see declaration of 'v8::HandleScope'
..\src\pathfinder.cc(80): error C2039: 'NewSymbol': is not a member of 'v8::String' [C:\Projects\node_test\node_modules
\node-pathfinder\build\pathfinder.vcxproj]
c:\users\nom.node-gyp\10.8.0\include\node\v8.h(2539): note: see declaration of 'v8::String'
..\src\pathfinder.cc(80): error C3861: 'NewSymbol': identifier not found [C:\Projects\node_test\node_modules\node-pathf
inder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(81): error C2664: 'v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate *,v8::Fun
ctionCallback,v8::Localv8::Value,v8::Localv8::Signature,int,v8::ConstructorBehavior,v8::SideEffectType)': cannot co
nvert argument 1 from 'v8::Localv8::Value (__cdecl *)(const int)' to 'v8::Isolate *' [C:\Projects\node_test\node_modu
les\node-pathfinder\build\pathfinder.vcxproj]
..\src\pathfinder.cc(81): note: There is no context in which this conversion is possible
..\src\pathfinder.cc(81): error C2227: left of '->GetFunction' must point to class/struct/union/generic type [C:\Projec
ts\node_test\node_modules\node-pathfinder\build\pathfinder.vcxproj]
gyp ERR! build error
gyp ERR! stack Error:C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exefailed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:238:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Projects\node_test\node_modules\node-pathfinder
gyp ERR! node -v v10.8.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Projects\node_test\package.json'
npm WARN node_test No description
npm WARN node_test No repository field.
npm WARN node_test No README data
npm WARN node_test No license field.npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-pathfinder@0.1.1 install:node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-pathfinder@0.1.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\nom\AppData\Roaming\npm-cache_logs\2018-09-17T18_38_26_959Z-debug.log