{"action":"created","issue":{"url":"https://api.github.com/repos/bjz/gl-rs/issues/309","labels_url":"https://api.github.com/repos/bjz/gl-rs/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/bjz/gl-rs/issues/309/comments","events_url":"https://api.github.com/repos/bjz/gl-rs/issues/309/events","html_url":"https://github.com/bjz/gl-rs/issues/309","id":57701251,"number":309,"title":"Build fails on OS X 10.10.2","user":{"login":"killkrt","id":4274153,"avatar_url":"https://avatars.githubusercontent.com/u/4274153?v=3","gravatar_id":"","url":"https://api.github.com/users/killkrt","html_url":"https://github.com/killkrt","followers_url":"https://api.github.com/users/killkrt/followers","following_url":"https://api.github.com/users/killkrt/following{/other_user}","gists_url":"https://api.github.com/users/killkrt/gists{/gist_id}","starred_url":"https://api.github.com/users/killkrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killkrt/subscriptions","organizations_url":"https://api.github.com/users/killkrt/orgs","repos_url":"https://api.github.com/users/killkrt/repos","events_url":"https://api.github.com/users/killkrt/events{/privacy}","received_events_url":"https://api.github.com/users/killkrt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-14T18:09:19Z","updated_at":"2015-02-14T20:23:08Z","closed_at":null,"body":"Hi,\r\n\r\nI have installed last version of rust (rustc 1.0.0-nightly (b9ba643b7 2015-02-13 21:15:39 +0000)), and when I launch \"cargo build\" I get the following error:\r\n\r\n```\r\n   Compiling khronos_api v0.0.5 (file:///Users/KillKRT/Documents/Development/gl-rs)\r\n   Compiling gl_common v0.0.4 (file:///Users/KillKRT/Documents/Development/gl-rs)\r\n   Compiling xml-rs v0.1.18\r\nsrc/khronos_api/src/lib.rs:4:36: 4:68 error: couldn't read src/khronos_api/api/gl.xml: couldn't open path as file (no such file or directory (No such file or directory); path=src/khronos_api/api/gl.xml; mode=open; access=read)\r\nsrc/khronos_api/src/lib.rs:4 pub static GL_XML: &'static [u8] = include_bytes!(\"../api/gl.xml\");\r\n                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nsrc/khronos_api/src/lib.rs:7:37: 7:70 error: couldn't read src/khronos_api/api/egl.xml: couldn't open path as file (no such file or directory (No such file or directory); path=src/khronos_api/api/egl.xml; mode=open; access=read)\r\nsrc/khronos_api/src/lib.rs:7 pub static EGL_XML: &'static [u8] = include_bytes!(\"../api/egl.xml\");\r\n                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nsrc/khronos_api/src/lib.rs:10:37: 10:70 error: couldn't read src/khronos_api/api/wgl.xml: couldn't open path as file (no such file or directory (No such file or directory); path=src/khronos_api/api/wgl.xml; mode=open; access=read)\r\nsrc/khronos_api/src/lib.rs:10 pub static WGL_XML: &'static [u8] = include_bytes!(\"../api/wgl.xml\");\r\n                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nsrc/khronos_api/src/lib.rs:13:37: 13:70 error: couldn't read src/khronos_api/api/glx.xml: couldn't open path as file (no such file or directory (No such file or directory); path=src/khronos_api/api/glx.xml; mode=open; access=read)\r\nsrc/khronos_api/src/lib.rs:13 pub static GLX_XML: &'static [u8] = include_bytes!(\"../api/glx.xml\");\r\n                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nerror: aborting due to 4 previous errors\r\nBuild failed, waiting for other jobs to finish...\r\nCould not compile `khronos_api`.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/bjz/gl-rs/issues/comments/74390438","html_url":"https://github.com/bjz/gl-rs/issues/309#issuecomment-74390438","issue_url":"https://api.github.com/repos/bjz/gl-rs/issues/309","id":74390438,"user":{"login":"tomaka","id":1412254,"avatar_url":"https://avatars.githubusercontent.com/u/1412254?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaka","html_url":"https://github.com/tomaka","followers_url":"https://api.github.com/users/tomaka/followers","following_url":"https://api.github.com/users/tomaka/following{/other_user}","gists_url":"https://api.github.com/users/tomaka/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaka/subscriptions","organizations_url":"https://api.github.com/users/tomaka/orgs","repos_url":"https://api.github.com/users/tomaka/repos","events_url":"https://api.github.com/users/tomaka/events{/privacy}","received_events_url":"https://api.github.com/users/tomaka/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T20:23:07Z","updated_at":"2015-02-14T20:23:07Z","body":"The examples require `glfw` to compile. Since `glfw` is not available on crates.io, we had to make some modifications to allowing uploading gl-rs on it.\r\n\r\nTo compile the examples:\r\n- Remove the first line of the Cargo.toml: https://github.com/bjz/gl-rs/blob/master/Cargo.toml#L1\r\n- Restore the two commented-out lines: https://github.com/bjz/gl-rs/blob/master/Cargo.toml#L34-35\r\n- Run `cargo test` (just `cargo build` doesn't compile the examples)\r\n\r\nNote that the `static_triangle` is maybe crashing (https://github.com/bjz/gl-rs/issues/308)\r\n"}}