{"action":"created","issue":{"url":"https://api.github.com/repos/luca-piccioni/OpenGL.Net/issues/8","repository_url":"https://api.github.com/repos/luca-piccioni/OpenGL.Net","labels_url":"https://api.github.com/repos/luca-piccioni/OpenGL.Net/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/luca-piccioni/OpenGL.Net/issues/8/comments","events_url":"https://api.github.com/repos/luca-piccioni/OpenGL.Net/issues/8/events","html_url":"https://github.com/luca-piccioni/OpenGL.Net/pull/8","id":149175390,"number":8,"title":"Changed postbuild events to be OS-conditional, and updated NUnit to v3.","user":{"login":"Nihlus","id":2340428,"avatar_url":"https://avatars.githubusercontent.com/u/2340428?v=3","gravatar_id":"","url":"https://api.github.com/users/Nihlus","html_url":"https://github.com/Nihlus","followers_url":"https://api.github.com/users/Nihlus/followers","following_url":"https://api.github.com/users/Nihlus/following{/other_user}","gists_url":"https://api.github.com/users/Nihlus/gists{/gist_id}","starred_url":"https://api.github.com/users/Nihlus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nihlus/subscriptions","organizations_url":"https://api.github.com/users/Nihlus/orgs","repos_url":"https://api.github.com/users/Nihlus/repos","events_url":"https://api.github.com/users/Nihlus/events{/privacy}","received_events_url":"https://api.github.com/users/Nihlus/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-18T14:57:00Z","updated_at":"2016-04-19T12:25:16Z","closed_at":"2016-04-18T19:15:01Z","pull_request":{"url":"https://api.github.com/repos/luca-piccioni/OpenGL.Net/pulls/8","html_url":"https://github.com/luca-piccioni/OpenGL.Net/pull/8","diff_url":"https://github.com/luca-piccioni/OpenGL.Net/pull/8.diff","patch_url":"https://github.com/luca-piccioni/OpenGL.Net/pull/8.patch"},"body":"I've implemented a small number of fixes for the projects and tests which allows everything to build out of the box on Linux.\r\n\r\nFull list of changes:\r\n* Implemented OS sensitivity for postbuild events\r\n* Added bash postbuild for Linux\r\n* Updated NUnit to version 3\r\n* Replaced deprecated ExpectedException test with Assert.Throws<T> in OpenGL.Hal.Tests\r\n* Dropped required NET runtime to 4.5.0\r\n\r\nUnfortunately, samples still will not run due to a TypeInitializationException. I suspect that there's a DLLConfig missing somewhere that prevents mono from communicating with the native OpenGL library. If nothing else, this is a start in the right direction for us Linuxers :)\r\n\r\nEDIT: Here's the exception. Looks like it's not finding libGL properly.\r\nhttps://gist.github.com/Nihlus/3b3977da6c47c89d20c139b9efa002fc"},"comment":{"url":"https://api.github.com/repos/luca-piccioni/OpenGL.Net/issues/comments/211900160","html_url":"https://github.com/luca-piccioni/OpenGL.Net/pull/8#issuecomment-211900160","issue_url":"https://api.github.com/repos/luca-piccioni/OpenGL.Net/issues/8","id":211900160,"user":{"login":"Nihlus","id":2340428,"avatar_url":"https://avatars.githubusercontent.com/u/2340428?v=3","gravatar_id":"","url":"https://api.github.com/users/Nihlus","html_url":"https://github.com/Nihlus","followers_url":"https://api.github.com/users/Nihlus/followers","following_url":"https://api.github.com/users/Nihlus/following{/other_user}","gists_url":"https://api.github.com/users/Nihlus/gists{/gist_id}","starred_url":"https://api.github.com/users/Nihlus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nihlus/subscriptions","organizations_url":"https://api.github.com/users/Nihlus/orgs","repos_url":"https://api.github.com/users/Nihlus/repos","events_url":"https://api.github.com/users/Nihlus/events{/privacy}","received_events_url":"https://api.github.com/users/Nihlus/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T12:25:16Z","updated_at":"2016-04-19T12:25:16Z","body":"I may keep going with this to get it to run properly. For the C++ parts I may have to write a makefile as well, since MonoDevelop doesn't do C++ very well. I'll keep the coding style in mind :)\r\n\r\nI merged the configuration you provided with the OpenTK configuration I had, but unfortunately it had no effect. This is what is currently in that file:\r\n\r\nhttps://gist.github.com/Nihlus/508fa8fe38f220292a7d21dfe6c8bbb2"}}