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

cargo run crashes #1

Closed
bikallem opened this issue Jul 11, 2015 · 3 comments
Closed

cargo run crashes #1

bikallem opened this issue Jul 11, 2015 · 3 comments

Comments

@bikallem
Copy link

I am getting the error below while trying to run, i.e. cargo run --release

Running target/release/rocket
[glutin] x error code=42 major=0 minor=0!
thread '

' panicked at 'called Result::unwrap() on an Err value: OsError("GL context creation failed")', /home/rustbuild/src/rust-buildbot/slave/stable-dist-rustc-linux/build/src/libcore/result.rs:729
An unknown error occurred

Is there any lib that I am missing? I am using stable rust.

@aochagavia
Copy link
Owner

I am unable to reproduce this error in my machine. Do you have OpenGL installed?

@pmarcelll
Copy link

Your system doesn't support OpenGL 3.2 and GlutinWindow::new() contains an unwrap(). Unfortunately I couldn't find a good way to find out the supported OpenGL version at runtime.

@bikallem
Copy link
Author

Indeed that seems to be the case. Thanks.

aochagavia pushed a commit that referenced this issue Aug 6, 2015
Include build script to move resources to target
aochagavia pushed a commit that referenced this issue Oct 15, 2016
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

3 participants