PistonDevelopers / piston_window

The official Piston convenience window wrapper for the Piston game engine
MIT License
156 stars 38 forks source link

Application crashes on Win7 x86_64 #163

Open sumproxy opened 8 years ago

sumproxy commented 8 years ago

error message is as follows:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "wglCreateContextAttribsARB failed: OS Error -1073274731 (FormatMessageW() returned error 317) (os error -1073274731)"', ../src/libcore\result.rs:788

the code is:

extern crate piston_window;

use piston_window::*;

fn main() {
    let window: PistonWindow =
        WindowSettings::new("Piston!", [300, 300])
        .build()
        .unwrap();
}

Most probably related to https://github.com/tomaka/glium/issues/1450

daniel-abramov commented 7 years ago

I have the same problem on my Windows 10 laptop. I use the latest piston_window version (tried several older versions though (0.44), but still the problem is reproducible).