Skip to content
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

Examples not running on Windows 11 #41

Open
bickford-atherton-morrow opened this issue Dec 14, 2022 · 3 comments
Open

Examples not running on Windows 11 #41

bickford-atherton-morrow opened this issue Dec 14, 2022 · 3 comments

Comments

@bickford-atherton-morrow

After cloning the repository I am getting an error when I try to run any of the examples.:

cargo run --bin moving-box -- --game
...
Loading assets from: C:\Users\Charlie\code\r8\runty8\examples/moving-box
Couldn't find file for asset: map, creating a blank one.
Couldn't find file for asset: sprite flags, creating a blank one.
Couldn't find file for asset: sprite_sheet, creating a blank one.
Running editor...
thread 'main' panicked at 'called Result::unwrap() on an Err value: NoAvailablePixelFormat', src\runty8-event-loop\src\lib.rs:127:18
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
error: process didn't exit successfully: target\debug\moving-box.exe --game (exit code: 101)

@jjant
Copy link
Owner

jjant commented Dec 15, 2022

Hi there, thank you for the bug report. Unfortunately I don't have a Windows machine to try to reproduce this, but I'll keep you updated.
In the meantime, perhaps you can get the browser version working? You can run ./build_script.sh celeste to get it running (though you need serve installed).

@bickford-atherton-morrow
Copy link
Author

Sorry, looks like the problem was on my end. My laptop has both Intel and Nvidia graphics, and after updating the Intel drivers the error no longer occurs, which I'm guessing was related to the Intel OpenGL driver.

@jjant
Copy link
Owner

jjant commented Dec 16, 2022

Interesting! I'm guessing that this will still be a problem for people with old drivers/GPUs in general.

I'll keep this open for a while to see if I get more reports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants