{"action":"created","issue":{"url":"https://api.github.com/repos/ofnode/of/issues/22","labels_url":"https://api.github.com/repos/ofnode/of/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/ofnode/of/issues/22/comments","events_url":"https://api.github.com/repos/ofnode/of/issues/22/events","html_url":"https://github.com/ofnode/of/pull/22","id":105899435,"number":22,"title":"Feature/rpi support","user":{"login":"avilleret","id":504914,"avatar_url":"https://avatars.githubusercontent.com/u/504914?v=3","gravatar_id":"","url":"https://api.github.com/users/avilleret","html_url":"https://github.com/avilleret","followers_url":"https://api.github.com/users/avilleret/followers","following_url":"https://api.github.com/users/avilleret/following{/other_user}","gists_url":"https://api.github.com/users/avilleret/gists{/gist_id}","starred_url":"https://api.github.com/users/avilleret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avilleret/subscriptions","organizations_url":"https://api.github.com/users/avilleret/orgs","repos_url":"https://api.github.com/users/avilleret/repos","events_url":"https://api.github.com/users/avilleret/events{/privacy}","received_events_url":"https://api.github.com/users/avilleret/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-10T21:16:14Z","updated_at":"2015-09-11T17:49:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ofnode/of/pulls/22","html_url":"https://github.com/ofnode/of/pull/22","diff_url":"https://github.com/ofnode/of/pull/22.diff","patch_url":"https://github.com/ofnode/of/pull/22.patch"},"body":"This PR allow to build on Raspberry PI.\r\nBut it might fail on other Arm devices since there is no device detection mechanism and it assumes some things like : \r\n- arm use OpenGLES and EGL instead of OpenGL, GLEW and GLFW\r\n- arm has some lib like vcos, OpenMaxIL and other, which is indeed wrong and works only for the Pi.\r\n\r\nThere is a TargetArch.cmake which should return the arch we are targetting.\r\nBut this is redundant with openFrameworks platform detection system (and work the same way).\r\n\r\nSo this is not perfect, but seems to work for native build with make.\r\nNinja build on RPi doesn't work yet and I don't know Ninja enough to understand why.\r\nMaybe we should use the PLATFORM_VARIANT variable to define the board instead of trying to guess anything.\r\nI will try cross building when I have time."},"comment":{"url":"https://api.github.com/repos/ofnode/of/issues/comments/139611777","html_url":"https://github.com/ofnode/of/pull/22#issuecomment-139611777","issue_url":"https://api.github.com/repos/ofnode/of/issues/22","id":139611777,"user":{"login":"procedural","id":1072168,"avatar_url":"https://avatars.githubusercontent.com/u/1072168?v=3","gravatar_id":"","url":"https://api.github.com/users/procedural","html_url":"https://github.com/procedural","followers_url":"https://api.github.com/users/procedural/followers","following_url":"https://api.github.com/users/procedural/following{/other_user}","gists_url":"https://api.github.com/users/procedural/gists{/gist_id}","starred_url":"https://api.github.com/users/procedural/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/procedural/subscriptions","organizations_url":"https://api.github.com/users/procedural/orgs","repos_url":"https://api.github.com/users/procedural/repos","events_url":"https://api.github.com/users/procedural/events{/privacy}","received_events_url":"https://api.github.com/users/procedural/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T17:49:49Z","updated_at":"2015-09-11T17:49:49Z","body":"@avilleret does it have clang 3.5?"}}