Created
January 26, 2020 04:45
-
-
Save dcerisano/d222ba650374ac2523ef1c5030f0dd25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm run all --dawnversion=0.0.1 | |
> [email protected] all /home/dcerisano/git/webgpu | |
> npm run generate ; npm run build | |
> [email protected] generate /home/dcerisano/git/webgpu | |
> node --experimental-modules ./generator/index.mjs | |
(node:15822) ExperimentalWarning: The ESM module loader is experimental. | |
Code minification is disabled! | |
Generating bindings for 0.0.1... | |
Warning: Unexpected node category 'callback' | |
Warning: Unexpected member type 'device lost callback' | |
Warning: Expected 'length' property to be set for 'char' type | |
Warning: Cannot handle fixed String length in 'GPUAdapterProperties'.'name' | |
Warning: Unexpected member type 'void*' in 'GPUCreateBufferMappedResult'.'data' | |
Warning: Unexpected member type 'void*' in 'GPUSurfaceDescriptorFromMetalLayer'.'layer' | |
Warning: Unexpected member type 'void*' in 'GPUSurfaceDescriptorFromWindowsHWND'.'hinstance' | |
Warning: Unexpected member type 'void*' in 'GPUSurfaceDescriptorFromWindowsHWND'.'hwnd' | |
Warning: Unexpected member type 'void*' in 'GPUSurfaceDescriptorFromXlib'.'display' | |
Warning: Cannot handle fixed String length in 'GPUAdapterProperties'.'name' | |
Warning: Unexpected member type 'void*' in 'GPUCreateBufferMappedResult'.'data' | |
Warning: Unexpected member type 'void*' in 'GPUSurfaceDescriptorFromMetalLayer'.'layer' | |
Warning: Unexpected member type 'void*' in 'GPUSurfaceDescriptorFromWindowsHWND'.'hinstance' | |
Warning: Unexpected member type 'void*' in 'GPUSurfaceDescriptorFromWindowsHWND'.'hwnd' | |
Warning: Unexpected member type 'void*' in 'GPUSurfaceDescriptorFromXlib'.'display' | |
Successfully generated bindings! | |
> [email protected] build /home/dcerisano/git/webgpu | |
> node ./build.js | |
Compiling bindings for version 0.0.1... | |
Platform: linux | x64 | |
Node: 8.10.0 | |
V8: 6.2.414.50 | |
Copying files.. | |
Done! | |
Compiling bindings.. | |
Copying /home/dcerisano/git/dawn-ray-tracing/out/Shared/libdawn_proc.so -> ./generated/0.0.1/linux/build/Release//libdawn_proc.so | |
Copying /home/dcerisano/git/dawn-ray-tracing/out/Shared/libdawn_wire.so -> ./generated/0.0.1/linux/build/Release//libdawn_wire.so | |
Copying /home/dcerisano/git/dawn-ray-tracing/out/Shared/libc++.so -> ./generated/0.0.1/linux/build/Release//libc++.so | |
Copying ./src/ -> ./generated/0.0.1/linux/build/Release//../../src/ | |
Copying /home/dcerisano/git/dawn-ray-tracing/out/Shared/libdawn_native.so -> ./generated/0.0.1/linux/build/Release//libdawn_native.so | |
Copying /home/dcerisano/git/dawn-ray-tracing/out/Shared/libshaderc_spvc.so -> ./generated/0.0.1/linux/build/Release//libshaderc_spvc.so | |
Copying /home/dcerisano/git/dawn-ray-tracing/out/Shared/libshaderc.so -> ./generated/0.0.1/linux/build/Release//libshaderc.so | |
make: Entering directory '/home/dcerisano/git/webgpu/generated/0.0.1/linux/build' | |
TOUCH Release/obj.target/action_after_build.stamp | |
CXX(target) Release/obj.target/addon-linux/src/index.o | |
CXX(target) Release/obj.target/addon-linux/src/BackendBinding.o | |
CXX(target) Release/obj.target/addon-linux/src/DescriptorDecoder.o | |
../src/DescriptorDecoder.cpp:1266:76: error: use of undeclared identifier 'GPURayTracingAccelerationContainer'; did you mean | |
'wgpu::RayTracingAccelerationContainer'? | |
if (!(obj.Get("accelerationContainer").As<Napi::Object>().InstanceOf(GPURayTracingAccelerationContainer::constructor.Val... | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
wgpu::RayTracingAccelerationContainer | |
/home/dcerisano/git/dawn-ray-tracing/out/Shared/gen/src/include/dawn/webgpu_cpp.h:783:11: note: | |
'wgpu::RayTracingAccelerationContainer' declared here | |
class RayTracingAccelerationContainer : public ObjectBase<RayTracingAccelerationContainer, WGPURayTracingAccelerationContainer> { | |
^ | |
../src/DescriptorDecoder.cpp:1266:112: error: no member named 'constructor' in 'wgpu::RayTracingAccelerationContainer' | |
if (!(obj.Get("accelerationContainer").As<Napi::Object>().InstanceOf(GPURayTracingAccelerationContainer::constructor.Val... | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ | |
../src/DescriptorDecoder.cpp:1272:59: error: unknown type name 'GPURayTracingAccelerationContainer'; did you mean | |
'WGPURayTracingAccelerationContainer'? | |
descriptor.accelerationContainer = Napi::ObjectWrap<GPURayTracingAccelerationContainer>::Unwrap(obj.Get("accelerationCon... | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
WGPURayTracingAccelerationContainer | |
/home/dcerisano/git/dawn-ray-tracing/out/Shared/gen/src/include/dawn/webgpu.h:71:57: note: 'WGPURayTracingAccelerationContainer' | |
declared here | |
typedef struct WGPURayTracingAccelerationContainerImpl* WGPURayTracingAccelerationContainer; | |
^ | |
In file included from ../src/DescriptorDecoder.cpp:5: | |
In file included from ../src/DescriptorDecoder.h:8: | |
In file included from ../src/GPUDevice.h:4: | |
In file included from ../src/Base.h:2: | |
/home/dcerisano/git/webgpu/node_modules/node-addon-api/napi.h:1581:19: error: member pointer refers into non-class type | |
'WGPURayTracingAccelerationContainerImpl *' | |
typedef void (T::*InstanceVoidMethodCallback)(const CallbackInfo& info); | |
^ | |
../src/DescriptorDecoder.cpp:1272:48: note: in instantiation of template class | |
'Napi::ObjectWrap<WGPURayTracingAccelerationContainerImpl *>' requested here | |
descriptor.accelerationContainer = Napi::ObjectWrap<GPURayTracingAccelerationContainer>::Unwrap(obj.Get("accelerationCon... | |
^ | |
In file included from ../src/DescriptorDecoder.cpp:5: | |
In file included from ../src/DescriptorDecoder.h:8: | |
In file included from ../src/GPUDevice.h:4: | |
In file included from ../src/Base.h:2: | |
/home/dcerisano/git/webgpu/node_modules/node-addon-api/napi.h:1582:26: error: member pointer refers into non-class type | |
'WGPURayTracingAccelerationContainerImpl *' | |
typedef Napi::Value (T::*InstanceMethodCallback)(const CallbackInfo& info); | |
^ | |
/home/dcerisano/git/webgpu/node_modules/node-addon-api/napi.h:1583:26: error: member pointer refers into non-class type | |
'WGPURayTracingAccelerationContainerImpl *' | |
typedef Napi::Value (T::*InstanceGetterCallback)(const CallbackInfo& info); | |
^ | |
/home/dcerisano/git/webgpu/node_modules/node-addon-api/napi.h:1584:19: error: member pointer refers into non-class type | |
'WGPURayTracingAccelerationContainerImpl *' | |
typedef void (T::*InstanceSetterCallback)(const CallbackInfo& info, const Napi::Value& value); | |
^ | |
/home/dcerisano/git/webgpu/node_modules/node-addon-api/napi.h:1626:31: error: multiple overloads of 'InstanceMethod' instantiate to | |
the same signature 'Napi::ObjectWrap<WGPURayTracingAccelerationContainerImpl *>::PropertyDescriptor (const char *, | |
Napi::ObjectWrap<WGPURayTracingAccelerationContainerImpl *>::InstanceMethodCallback, napi_property_attributes, void *)' (aka | |
'ClassPropertyDescriptor<WGPURayTracingAccelerationContainerImpl *> (const char *, int, napi_property_attributes, void *)') | |
static PropertyDescriptor InstanceMethod(const char* utf8name, | |
^ | |
/home/dcerisano/git/webgpu/node_modules/node-addon-api/napi.h:1622:31: note: previous declaration is here | |
static PropertyDescriptor InstanceMethod(const char* utf8name, | |
^ | |
/home/dcerisano/git/webgpu/node_modules/node-addon-api/napi.h:1634:31: error: multiple overloads of 'InstanceMethod' instantiate to | |
the same signature 'Napi::ObjectWrap<WGPURayTracingAccelerationContainerImpl *>::PropertyDescriptor (Napi::Symbol, | |
Napi::ObjectWrap<WGPURayTracingAccelerationContainerImpl *>::InstanceMethodCallback, napi_property_attributes, void *)' (aka | |
'ClassPropertyDescriptor<WGPURayTracingAccelerationContainerImpl *> (Napi::Symbol, int, napi_property_attributes, void *)') | |
static PropertyDescriptor InstanceMethod(Symbol name, | |
^ | |
/home/dcerisano/git/webgpu/node_modules/node-addon-api/napi.h:1630:31: note: previous declaration is here | |
static PropertyDescriptor InstanceMethod(Symbol name, | |
^ | |
../src/DescriptorDecoder.cpp:1634:70: error: use of undeclared identifier 'GPURayTracingAccelerationContainer'; did you mean | |
'wgpu::RayTracingAccelerationContainer'? | |
if (!(obj.Get("geometryContainer").As<Napi::Object>().InstanceOf(GPURayTracingAccelerationContainer::constructor.Value()))) { | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
wgpu::RayTracingAccelerationContainer | |
/home/dcerisano/git/dawn-ray-tracing/out/Shared/gen/src/include/dawn/webgpu_cpp.h:783:11: note: | |
'wgpu::RayTracingAccelerationContainer' declared here | |
class RayTracingAccelerationContainer : public ObjectBase<RayTracingAccelerationContainer, WGPURayTracingAccelerationContainer> { | |
^ | |
../src/DescriptorDecoder.cpp:1634:106: error: no member named 'constructor' in 'wgpu::RayTracingAccelerationContainer' | |
if (!(obj.Get("geometryContainer").As<Napi::Object>().InstanceOf(GPURayTracingAccelerationContainer::constructor.Value()))) { | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ | |
../src/DescriptorDecoder.cpp:1640:53: error: unknown type name 'GPURayTracingAccelerationContainer'; did you mean | |
'WGPURayTracingAccelerationContainer'? | |
descriptor.geometryContainer = Napi::ObjectWrap<GPURayTracingAccelerationContainer>::Unwrap(obj.Get("geometryContainer").A... | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
WGPURayTracingAccelerationContainer | |
/home/dcerisano/git/dawn-ray-tracing/out/Shared/gen/src/include/dawn/webgpu.h:71:57: note: 'WGPURayTracingAccelerationContainer' | |
declared here | |
typedef struct WGPURayTracingAccelerationContainerImpl* WGPURayTracingAccelerationContainer; | |
^ | |
../src/DescriptorDecoder.cpp:1640:145: error: member reference base type 'WGPURayTracingAccelerationContainerImpl *' is not a | |
structure or union | |
...= Napi::ObjectWrap<GPURayTracingAccelerationContainer>::Unwrap(obj.Get("geometryContainer").As<Napi::Object>())->instance; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~~~~~~~ | |
../src/DescriptorDecoder.cpp:2119:71: error: use of undeclared identifier 'GPURayTracingShaderBindingTable'; did you mean | |
'wgpu::RayTracingShaderBindingTable'? | |
if (!(obj.Get("shaderBindingTable").As<Napi::Object>().InstanceOf(GPURayTracingShaderBindingTable::constructor.Value()))) { | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
wgpu::RayTracingShaderBindingTable | |
/home/dcerisano/git/dawn-ray-tracing/out/Shared/gen/src/include/dawn/webgpu_cpp.h:829:11: note: 'wgpu::RayTracingShaderBindingTable' | |
declared here | |
class RayTracingShaderBindingTable : public ObjectBase<RayTracingShaderBindingTable, WGPURayTracingShaderBindingTable> { | |
^ | |
../src/DescriptorDecoder.cpp:2119:104: error: no member named 'constructor' in 'wgpu::RayTracingShaderBindingTable' | |
if (!(obj.Get("shaderBindingTable").As<Napi::Object>().InstanceOf(GPURayTracingShaderBindingTable::constructor.Value()))) { | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ | |
../src/DescriptorDecoder.cpp:2125:54: error: unknown type name 'GPURayTracingShaderBindingTable'; did you mean | |
'WGPURayTracingShaderBindingTable'? | |
descriptor.shaderBindingTable = Napi::ObjectWrap<GPURayTracingShaderBindingTable>::Unwrap(obj.Get("shaderBindingTable").As... | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
WGPURayTracingShaderBindingTable | |
/home/dcerisano/git/dawn-ray-tracing/out/Shared/gen/src/include/dawn/webgpu.h:74:54: note: 'WGPURayTracingShaderBindingTable' declared | |
here | |
typedef struct WGPURayTracingShaderBindingTableImpl* WGPURayTracingShaderBindingTable; | |
^ | |
In file included from ../src/DescriptorDecoder.cpp:5: | |
In file included from ../src/DescriptorDecoder.h:8: | |
In file included from ../src/GPUDevice.h:4: | |
In file included from ../src/Base.h:2: | |
/home/dcerisano/git/webgpu/node_modules/node-addon-api/napi.h:1581:19: error: member pointer refers into non-class type | |
'WGPURayTracingShaderBindingTableImpl *' | |
typedef void (T::*InstanceVoidMethodCallback)(const CallbackInfo& info); | |
^ | |
../src/DescriptorDecoder.cpp:2125:43: note: in instantiation of template class 'Napi::ObjectWrap<WGPURayTracingShaderBindingTableImpl | |
*>' requested here | |
descriptor.shaderBindingTable = Napi::ObjectWrap<GPURayTracingShaderBindingTable>::Unwrap(obj.Get("shaderBindingTable").As... | |
^ | |
In file included from ../src/DescriptorDecoder.cpp:5: | |
In file included from ../src/DescriptorDecoder.h:8: | |
In file included from ../src/GPUDevice.h:4: | |
In file included from ../src/Base.h:2: | |
/home/dcerisano/git/webgpu/node_modules/node-addon-api/napi.h:1582:26: error: member pointer refers into non-class type | |
'WGPURayTracingShaderBindingTableImpl *' | |
typedef Napi::Value (T::*InstanceMethodCallback)(const CallbackInfo& info); | |
^ | |
/home/dcerisano/git/webgpu/node_modules/node-addon-api/napi.h:1583:26: error: member pointer refers into non-class type | |
'WGPURayTracingShaderBindingTableImpl *' | |
typedef Napi::Value (T::*InstanceGetterCallback)(const CallbackInfo& info); | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
addon-linux.target.mk:165: recipe for target 'Release/obj.target/addon-linux/src/DescriptorDecoder.o' failed | |
make: *** [Release/obj.target/addon-linux/src/DescriptorDecoder.o] Error 1 | |
make: Leaving directory '/home/dcerisano/git/webgpu/generated/0.0.1/linux/build' | |
gyp ERR! build error | |
gyp ERR! stack Error: `make` failed with exit code: 2 | |
gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:258:23) | |
gyp ERR! stack at emitTwo (events.js:126:13) | |
gyp ERR! stack at ChildProcess.emit (events.js:214:7) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) | |
gyp ERR! System Linux 4.15.0-58-generic | |
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "build" | |
gyp ERR! cwd /home/dcerisano/git/webgpu/generated/0.0.1/linux | |
gyp ERR! node -v v8.10.0 | |
gyp ERR! node-gyp -v v3.6.2 | |
gyp ERR! not ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment