Closed pudnax closed 2 years ago
Hi Pudnax,
I also noticed some issues with building Dawn in the last weeks. It is a complex process. For me the Dawn build still works (tested last week), but there is an error while detecting the GPU adapters on my machine that was not there a month ago. In your case the builds fails for a reason I have not seen before.
Normally at the end of the week I have more time to investigate the build issues.
An alternative is to build Dawn using the build instructions in this repo and if you place the generated shared libraries under 'external/dawn/lib' and the headers under 'external/dawn/lib/include' then it normally should work.
Hope it helps, Sam
Hi Pudnax,
I made some change to the build system to build Dawn without the build toolchain from depot_tools (GN). Instead the compiler from the host OS is used.
To test the build in a 'controlled' environment I also added support for Docker, please refer to the instructions in the Readme for the required steps.
Feel free to reopen this issue if the build still fails on your side.
Note: running the examples on an Intel(R) HD Graphics 630 (KBL GT2) gives a black screen, maybe it is related to GLFW. I did not find a solution yet. The examples seems to be running find on Intel(R) Iris(R) Plus Graphics 640 (KBL GT3) integrated GPU. With discrete GPUs I also did not have any issues yet.
Best regards, Sam
running
bash build.sh