{"action":"created","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/2119","repository_url":"https://api.github.com/repos/medic/medic-webapp","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/2119/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/2119/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/2119/events","html_url":"https://github.com/medic/medic-webapp/issues/2119","id":142286704,"number":2119,"title":"SIMapp file building only works on Windows","user":{"login":"estellecomment","id":911434,"avatar_url":"https://avatars.githubusercontent.com/u/911434?v=3","gravatar_id":"","url":"https://api.github.com/users/estellecomment","html_url":"https://github.com/estellecomment","followers_url":"https://api.github.com/users/estellecomment/followers","following_url":"https://api.github.com/users/estellecomment/following{/other_user}","gists_url":"https://api.github.com/users/estellecomment/gists{/gist_id}","starred_url":"https://api.github.com/users/estellecomment/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estellecomment/subscriptions","organizations_url":"https://api.github.com/users/estellecomment/orgs","repos_url":"https://api.github.com/users/estellecomment/repos","events_url":"https://api.github.com/users/estellecomment/events{/privacy}","received_events_url":"https://api.github.com/users/estellecomment/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/medic/medic-webapp/labels/Tech%20Leads","name":"Tech Leads","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-21T08:41:43Z","updated_at":"2016-03-29T09:32:20Z","closed_at":null,"body":"To generate the .trb file to push on the SIMapp, you need an old version of gcc (because the whole simapp is not supported any more by Bladox). The official supported tools are on windows.\r\n\r\nPMs are on windows. TLs are on linux or macos or windows. \r\n\r\nThe workflow right now is to download the tools, and then : \r\n - on windows, run [cygwin](https://www.cygwin.com/) (basically linux tools for windows), and build.\r\n - on linux, run a windows VM, run cygwin in the windows VM, and build. (linux on windows on linux! True story.)\r\n - on mac, you can try using old versions of gcc, Eugene tried to get that to work and got stuck. Otherwise go the VM way too.\r\n\r\nAnother option is to run a VM with medic-os in it, because the appropriate tools are all packaged in it. However, we ran it in VirtualBox (because it's free), which doesn't get the USB ports right, so we couldn't push the files to the simapp. Fail.\r\n\r\nNote that the simapp is probably going to be discontinued, in favor of medic collect or full android app. We should assess how much work we should be putting into this workflow.\r\n"},"comment":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/comments/202803530","html_url":"https://github.com/medic/medic-webapp/issues/2119#issuecomment-202803530","issue_url":"https://api.github.com/repos/medic/medic-webapp/issues/2119","id":202803530,"user":{"login":"alxndrsn","id":191496,"avatar_url":"https://avatars.githubusercontent.com/u/191496?v=3","gravatar_id":"","url":"https://api.github.com/users/alxndrsn","html_url":"https://github.com/alxndrsn","followers_url":"https://api.github.com/users/alxndrsn/followers","following_url":"https://api.github.com/users/alxndrsn/following{/other_user}","gists_url":"https://api.github.com/users/alxndrsn/gists{/gist_id}","starred_url":"https://api.github.com/users/alxndrsn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alxndrsn/subscriptions","organizations_url":"https://api.github.com/users/alxndrsn/orgs","repos_url":"https://api.github.com/users/alxndrsn/repos","events_url":"https://api.github.com/users/alxndrsn/events{/privacy}","received_events_url":"https://api.github.com/users/alxndrsn/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T09:32:20Z","updated_at":"2016-03-29T09:32:20Z","body":"> Another option is to run a VM with medic-os in it\r\n\r\nBuilding on `medic-os` seems like the logical solution.  If it actually works, then I think the issue title is misleading."}}