gpu-dawn compile error on Linux #236

Closed
opened 2022-04-18 21:46:08 +00:00 by michal-z · 2 comments
michal-z commented 2022-04-18 21:46:08 +00:00 (Migrated from github.com)

I get below compile error when using -Ddawn-from-source=true:

Compile C Objects [538/803] ComputePipelineVk.cpp... error(compilation): clang failed with stderr: In file included from /home/michal-z/projects/zig-gamedev/libs/mach-gpu-dawn/libs/dawn/src/dawn/native/vulkan/CacheKeyVk.cpp:15:
/home/michal-z/projects/zig-gamedev/libs/mach-gpu-dawn/libs/dawn/src/dawn/native/vulkan/CacheKeyVk.h:22:10: fatal error: 'icd/generated/vk_typemap_helper.h' file not found

/home/michal-z/projects/zig-gamedev/libs/mach-gpu-dawn/libs/dawn/src/dawn/native/vulkan/CacheKeyVk.cpp:1:1: error: unable to build C object: clang exited with code 1
dawn...The following command exited with error code 1:
I get below compile error when using `-Ddawn-from-source=true`: ``` Compile C Objects [538/803] ComputePipelineVk.cpp... error(compilation): clang failed with stderr: In file included from /home/michal-z/projects/zig-gamedev/libs/mach-gpu-dawn/libs/dawn/src/dawn/native/vulkan/CacheKeyVk.cpp:15: /home/michal-z/projects/zig-gamedev/libs/mach-gpu-dawn/libs/dawn/src/dawn/native/vulkan/CacheKeyVk.h:22:10: fatal error: 'icd/generated/vk_typemap_helper.h' file not found /home/michal-z/projects/zig-gamedev/libs/mach-gpu-dawn/libs/dawn/src/dawn/native/vulkan/CacheKeyVk.cpp:1:1: error: unable to build C object: clang exited with code 1 dawn...The following command exited with error code 1: ```
emidoots commented 2022-04-19 03:38:01 +00:00 (Migrated from github.com)

Thanks for filing, yeah, I am actively working on this / the CI is failing. I should've filed an issue :)

Thanks for filing, yeah, I am actively working on this / the CI is failing. I should've filed an issue :)
emidoots commented 2022-04-19 04:28:27 +00:00 (Migrated from github.com)

Should be fixed now, CI has successfully built for every OS. let me know if you run into any further issues.

Should be fixed now, CI has successfully built for every OS. let me know if you run into any further issues.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#236
No description provided.