-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling dawn
error: set_property could not find TARGET update_mappings
#7
Comments
Okey I guess we can wrap this in some |
@eliemichel Thanks for the tip! Build succeeded. Ran into another error at run time. Not sure if it's me or something else. I will open another issue if I couldn't figure it out myself. |
Well, during
Does it mean wayland support for Dawn is turned off? |
Oh, I think you can simply add Do you know if there is a way to automatically figure out in CMake whether the build targets a Wayland environment? If so I will add this automatically in (Also, if you don't want to restart the build from scratch, look for |
@eliemichel Hey thanks for the reply. Actually last night I found this line in Dawn's source code However there is another issue - I'm not near my personal laptop right now but it's something like I thought they were part of the same issue so I didn't rush to post an update here. I may need to take a little while to further troubleshoot this but this is as far as I could go right now. Thank you! |
Did you check whether other vulkan-based program run correctly on your system? |
@eliemichel You are right. I pulled in some vulkan dependencies and now it's working. Instance created. Surface created. Adapter requested with non-zero value. There are only two warnings, which I think are probably fine.
And these are the Adapter features logged:
|
Nice :) For the record, can you give some details about "pulling in some vulkan dependencies"? Anything worth sharing to other people in a similar situation that I could add to the guide? |
@eliemichel Sure. I'm using NixOS and this is a flake-based project. My The Vulkan dependencies that I added are:
(Note: there are definitely unnecessary dependencies in my |
Hi,
First of all thanks for this cool project! I've been following the Learn WebGPU, although it's still WIP it's been very useful so far! And I'm amazed by how quickly bugs got fixed. Previously I ran into the
markupsafe
missing error but I noticed that it had been already fixed.I'm seeing another error right now while compiling
dawn
on Linux (NixOS) for Wayland:I see that it was due to
set_property(TARGET update_mappings PROPERTY FOLDER "External/GLFW3")
inwebgpu/cmake/FetchDawn.cmake
but I'm not sure how to fix it. Could you please help? Thanks!The text was updated successfully, but these errors were encountered: