- src/main.rs:7:49: 7:57 error: type `core::result::Result<glfw::Glfw, glfw::InitError>` does not implement any method in scope named `unwrap`
- src/main.rs:7 let glfw = glfw::init(glfw::FAIL_ON_ERRORS).unwrap();
- ^~~~~~~~
- src/main.rs:18:5: 18:26 error: the type of this value must be known in this context
- src/main.rs:18 window.make_current();
- ^~~~~~~~~~~~~~~~~~~~~
- src/main.rs:18:26: 18:26 help: methods from traits can only be called if the trait is implemented and in scope; the following trait defines a method `make_current`, perhaps you need to implement it:
- src/main.rs:18:26: 18:26 help: candidate #1: `glfw::Context`
- src/main.rs:34:30: 34:30 help: methods from traits can only be called if the trait is implemented and in scope; the following trait defines a method `swap_buffers`, perhaps you need to implement it:
- src/main.rs:34:30: 34:30 help: candidate #1: `glfw::Context`
- error: aborting due to 2 previous errors
- Could not compile `hello_world`.
SHARE
TWEET
Untitled
a guest
Jan 24th, 2015
41
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

