-
I am interested in learning graphics programming in rust through wgpu. My current workstation is on WSL2. Environment: wsl2 Ubuntu 20.04 I am having trouble trying to open a window on WSL. When printing the adapters, I can see that I have my GPU available
Although it produces the error I have gone through the steps of installing cuda on WSL2 here hoping that would fix it, but it did not. Here is a snapshot of If I build the binary targeted to windows, I can run the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I have found a work around at the moment. By create a .cargo/config.toml file in the project directory, you can set the default compile target
That way, it will compile to windows, and will run properly, allowing for quick iterations in development |
Beta Was this translation helpful? Give feedback.
I have found a work around at the moment. By create a .cargo/config.toml file in the project directory, you can set the default compile target
That way, it will compile to windows, and will run properly, allowing for quick iterations in development