Open ravatex opened 2 months ago
I solved this issue by moving the file over to the windows system, installing Rust via powershell (though im unsure if this is necessary), and then running via cargo as normal.
The error happens in the WSL, not on the actual windows system. Cargo, the source, and all dependencies are contained in the WSL not on windows, and the program is run on the WSL not windows itself.
Yes but within WSL navigating over to the mounted Windows file system
cd /mnt/c/Users/...
and containing the project there solved the issue on my system;
Other alternatives I've seen for this issue have been setting up X forwarding between WSL and Windows or building for Windows when compiling your project. The issue stems from linux and windows graphic drivers not playing nice
Describe the bug
When I run the example problem from the eframe docs one of the following 2 errors come out (interchangeably):
Actual output:
or
os error 32 happens more often
To Reproduce Steps to reproduce the behavior:
I suspect this is due to running this on WSL, the code that reproduces this error is the example in the eframe docs, shown here:
main.rs
Cargo.toml with the patched version, the error remains even in 0.28 or 0.28.1 w/o the patch
run
$ RUST_BACKTRACE=1 cargo run
Expected behavior
A window with Hello World on it. Eframe 0.23 worked on a previous project of mine but this version here no longer works.
Screenshots
For a split second the window appears
Desktop (please complete the following information):
OS:
Linux DESKTOP-27GAKSM 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
Version: 0.28.1
Additional context This is the first issue I've made, please inform me of any additional information I need to provide. Thank you.