PistonDevelopers / Piston-Tutorials

Tutorials for Piston
544 stars 89 forks source link

GL context creation failed #167

Closed Gapstare closed 6 years ago

Gapstare commented 7 years ago

Hi!

I'm having problems running the spinning cube example. When running I get:

thread 'main' panicked at 'calledResult::unwrap()on anErrvalue: "GL context creation failed"', /checkout/src/libcore/result.rs:860

I'm on Trisquel Linux amd64, an Ubuntu derivative. I tried the first glutin example and that GL window comes up as it should.

Gapstare commented 6 years ago

Found the solution to the problem in the README.md for https://github.com/PistonDevelopers/piston-examples . Perhaps a similar line is useful in this repo as well since it's the first thing new people are likely to stumble upon? I'll see if I can find the time to clone and create a pull request :)