{"action":"created","issue":{"url":"https://api.github.com/repos/ruslo/hunter/issues/663","repository_url":"https://api.github.com/repos/ruslo/hunter","labels_url":"https://api.github.com/repos/ruslo/hunter/issues/663/labels{/name}","comments_url":"https://api.github.com/repos/ruslo/hunter/issues/663/comments","events_url":"https://api.github.com/repos/ruslo/hunter/issues/663/events","html_url":"https://github.com/ruslo/hunter/issues/663","id":205170616,"number":663,"title":"HDF5 not cross-platform","user":{"login":"palmerc","id":533118,"avatar_url":"https://avatars.githubusercontent.com/u/533118?v=3","gravatar_id":"","url":"https://api.github.com/users/palmerc","html_url":"https://github.com/palmerc","followers_url":"https://api.github.com/users/palmerc/followers","following_url":"https://api.github.com/users/palmerc/following{/other_user}","gists_url":"https://api.github.com/users/palmerc/gists{/gist_id}","starred_url":"https://api.github.com/users/palmerc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palmerc/subscriptions","organizations_url":"https://api.github.com/users/palmerc/orgs","repos_url":"https://api.github.com/users/palmerc/repos","events_url":"https://api.github.com/users/palmerc/events{/privacy}","received_events_url":"https://api.github.com/users/palmerc/received_events","type":"User","site_admin":false},"labels":[{"id":135659151,"url":"https://api.github.com/repos/ruslo/hunter/labels/discussion","name":"discussion","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-03T14:24:03Z","updated_at":"2017-02-07T09:27:48Z","closed_at":null,"body":"As noted by the folks at HDFGroup this project isn't cross-compilable as-is and Android therefore isn't really supported.\r\nhttps://support.hdfgroup.org/HDF5/faq/compile.html\r\n\r\nSomeone once upon a time hacked their way through the build process by-hand and I uploaded that as a gist.\r\nhttps://gist.github.com/palmerc/e723d63c0e07ed6a862205e92d3157db\r\n\r\nIt would seem that to get this to be cross-platform you would need to fix their cmake scripts to kick off an android emulator, adb push the generated test programs, run, adb pull the result. The DCMTK project http://dcmtk.org does something similar to this.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ruslo/hunter/issues/comments/277944999","html_url":"https://github.com/ruslo/hunter/issues/663#issuecomment-277944999","issue_url":"https://api.github.com/repos/ruslo/hunter/issues/663","id":277944999,"user":{"login":"palmerc","id":533118,"avatar_url":"https://avatars.githubusercontent.com/u/533118?v=3","gravatar_id":"","url":"https://api.github.com/users/palmerc","html_url":"https://github.com/palmerc","followers_url":"https://api.github.com/users/palmerc/followers","following_url":"https://api.github.com/users/palmerc/following{/other_user}","gists_url":"https://api.github.com/users/palmerc/gists{/gist_id}","starred_url":"https://api.github.com/users/palmerc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palmerc/subscriptions","organizations_url":"https://api.github.com/users/palmerc/orgs","repos_url":"https://api.github.com/users/palmerc/repos","events_url":"https://api.github.com/users/palmerc/events{/privacy}","received_events_url":"https://api.github.com/users/palmerc/received_events","type":"User","site_admin":false},"created_at":"2017-02-07T09:27:48Z","updated_at":"2017-02-07T09:27:48Z","body":"You would need a MIPS32 emulator, yes. In these very architecture dependent libraries you need to know about the hardware and the compiler. For example, what is the size of char and is it signed or unsigned. Endianess of the architecture, and so on.\r\n\r\nIn the project check config/cmake/\r\n[ConversionTests.c](https://github.com/ruslo/hunter/files/757109/ConversionTests.c.txt)\r\nConversionTests.c\r\n\r\nThis is just one series of tests where they're trying to determine how types are handled. Some other C code is actually generated by the makefile, compiled, run, and the results read out."}}
{"actor":{"display_login":"palmerc"}}