Created
October 23, 2014 04:11
-
-
Save iamralpht/3220f2499d12379e256b to your computer and use it in GitHub Desktop.
GL binding error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling Viewdo v0.0.1 (file:///home/ralpht/homework/viewdo/rust) | |
/home/ralpht/homework/viewdo/rust/src/main.rs:10:27: 10:31 error: Expected a generator argument name, either: `api`, `profile`, `version`, `generator`, or `extensions`. | |
/home/ralpht/homework/viewdo/rust/src/main.rs:10 generate_gl_bindings!("gl", "core", "2.0", "static") | |
^~~~ | |
error: aborting due to previous error | |
Could not compile `Viewdo`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![feature(phase)] | |
#![feature(globs)] | |
#[phase(plugin)] | |
extern crate gl_generator; | |
extern crate gl_init; | |
extern crate libc; | |
mod gl { | |
generate_gl_bindings!("gl", "core", "2.0", "static") | |
} | |
fn main() { | |
println!("Hello, world!"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment