{"action":"closed","issue":{"url":"https://api.github.com/repos/opensim-org/opensim-core/issues/375","labels_url":"https://api.github.com/repos/opensim-org/opensim-core/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/opensim-org/opensim-core/issues/375/comments","events_url":"https://api.github.com/repos/opensim-org/opensim-core/issues/375/events","html_url":"https://github.com/opensim-org/opensim-core/issues/375","id":59458677,"number":375,"title":"Build system for Apple OS X needs cleanup.  Fails out of the box","user":{"login":"msdemers","id":4503414,"avatar_url":"https://avatars.githubusercontent.com/u/4503414?v=3","gravatar_id":"","url":"https://api.github.com/users/msdemers","html_url":"https://github.com/msdemers","followers_url":"https://api.github.com/users/msdemers/followers","following_url":"https://api.github.com/users/msdemers/following{/other_user}","gists_url":"https://api.github.com/users/msdemers/gists{/gist_id}","starred_url":"https://api.github.com/users/msdemers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msdemers/subscriptions","organizations_url":"https://api.github.com/users/msdemers/orgs","repos_url":"https://api.github.com/users/msdemers/repos","events_url":"https://api.github.com/users/msdemers/events{/privacy}","received_events_url":"https://api.github.com/users/msdemers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/opensim-org/opensim-core/labels/Build","name":"Build","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/opensim-org/opensim-core/milestones/1","html_url":"https://github.com/opensim-org/opensim-core/milestones/OpenSim%204.0","labels_url":"https://api.github.com/repos/opensim-org/opensim-core/milestones/1/labels","id":725618,"number":1,"title":"OpenSim 4.0","description":"","creator":{"login":"jenhicks","id":4510959,"avatar_url":"https://avatars.githubusercontent.com/u/4510959?v=3","gravatar_id":"","url":"https://api.github.com/users/jenhicks","html_url":"https://github.com/jenhicks","followers_url":"https://api.github.com/users/jenhicks/followers","following_url":"https://api.github.com/users/jenhicks/following{/other_user}","gists_url":"https://api.github.com/users/jenhicks/gists{/gist_id}","starred_url":"https://api.github.com/users/jenhicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenhicks/subscriptions","organizations_url":"https://api.github.com/users/jenhicks/orgs","repos_url":"https://api.github.com/users/jenhicks/repos","events_url":"https://api.github.com/users/jenhicks/events{/privacy}","received_events_url":"https://api.github.com/users/jenhicks/received_events","type":"User","site_admin":false},"open_issues":102,"closed_issues":217,"state":"open","created_at":"2014-07-18T21:08:06Z","updated_at":"2015-10-03T00:12:04Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2015-03-02T09:45:44Z","updated_at":"2015-10-03T00:12:04Z","closed_at":"2015-10-03T00:12:04Z","body":"It looks like the cmake rules for OS X haven't been updated in a while and are long obsolete.  Some legacy hacks dating back to OS X 10.6 Snow Leopard and Xcode 4 (year 2009) are breaking the build out of the box on modern OS X systems, regardless of whether GNU Make or xcode are used.\r\n\r\nSpecifically:\r\n1. -m32 is explicitly defined for Apple only.  Causes make to ignore the system default and developer preferences.  This was a hack because of old OS X issues and is obsolete.\r\n2. vestigial LIB64 variable is unnecessary now. we always install libraries to /lib, even on 64 bit systems. simbody build system has already been corrected.\r\n3. policy for MACOSX_RPATH is unspecified on some targets, so cmake is activating by default\r\n"}}