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

Update the gl/examples to build on latest rust and glfw #339

Closed
wants to merge 2 commits into from

Conversation

navaati
Copy link

@navaati navaati commented May 17, 2015

I have not, however, been able to update the struct_triangle.rs example

@bvssvni
Copy link
Contributor

bvssvni commented Nov 21, 2015

Looks good.

@bvssvni
Copy link
Contributor

bvssvni commented Nov 21, 2015

I'm having problems building examples from the "gl" folder.

$ cargo build --example static_triangle
no example target named `static_triangle`

@tomaka
Copy link
Collaborator

tomaka commented Nov 21, 2015

You need to remove this line.

@bvssvni
Copy link
Contributor

bvssvni commented Nov 21, 2015

Both "static_basic" and "static_triangle" need to add as *const () to work.

@bvssvni
Copy link
Contributor

bvssvni commented Nov 21, 2015

The reason that "struct_triangle" does not work is, if I remember correctly, that generate_gl_bindings! was replaced by a build script.

@bvssvni bvssvni mentioned this pull request Nov 21, 2015
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

Successfully merging this pull request may close these issues.

3 participants