ggez: Can not run on platform Windows. ggez = "0.3.3" and SDL2 lib is 2.0.5

image

C:/Users/TakWolf/.cargo/bin/cargo.exe run
   Compiling ggez-project-seed v0.1.0 (file:///F:/GitOSC/ggez-project-seed)
    Finished dev [unoptimized + debuginfo] target(s) in 6.31 secs
     Running `target\debug\ggez-project-seed.exe`
error: process didn't exit successfully: `target\debug\ggez-project-seed.exe` (exit code: 255)

Process finished with exit code 255

I set my sdl evn follow https://github.com/Rust-SDL2/rust-sdl2#windows-with-build-script

I seems like the sdl problems. Because https://github.com/Rust-SDL2/rust-sdl2/blob/master/changelog.md#v030

sdl2 0.30 has some breaking changes. And ggez dependencies sdl2 v0.29.1.

================

I run the same code on macOS, use sdl 2.0.5, it can work.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 25 (10 by maintainers)

Most upvoted comments

Hi, everyone! I probably find the reason. I updated my integrated graphics card driver, and everything is OK. I do not know why, but now everything can work properly.

My device Info:

  • IntelĀ® HD Graphics Family -> I updated this driver
  • AMD Radeon HD 8850M