{"action":"created","issue":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1149","labels_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1149/labels{/name}","comments_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1149/comments","events_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1149/events","html_url":"https://github.com/RobotLocomotion/drake/issues/1149","id":94168437,"number":1149,"title":"'-std=c++11' compilation error with matlab 2015a on ubuntu ","user":{"login":"RussTedrake","id":6442292,"avatar_url":"https://avatars.githubusercontent.com/u/6442292?v=3","gravatar_id":"","url":"https://api.github.com/users/RussTedrake","html_url":"https://github.com/RussTedrake","followers_url":"https://api.github.com/users/RussTedrake/followers","following_url":"https://api.github.com/users/RussTedrake/following{/other_user}","gists_url":"https://api.github.com/users/RussTedrake/gists{/gist_id}","starred_url":"https://api.github.com/users/RussTedrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussTedrake/subscriptions","organizations_url":"https://api.github.com/users/RussTedrake/orgs","repos_url":"https://api.github.com/users/RussTedrake/repos","events_url":"https://api.github.com/users/RussTedrake/events{/privacy}","received_events_url":"https://api.github.com/users/RussTedrake/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-09T22:40:17Z","updated_at":"2015-07-09T22:52:28Z","closed_at":null,"body":"in the spotless pod on matlab 2015a on ubuntu 12.04, I just saw\r\n```\r\ncc1plus: error: unrecognized command line option '-std=c++11'\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/RobotLocomotion/drake/issues/comments/120168754","html_url":"https://github.com/RobotLocomotion/drake/issues/1149#issuecomment-120168754","issue_url":"https://api.github.com/repos/RobotLocomotion/drake/issues/1149","id":120168754,"user":{"login":"RussTedrake","id":6442292,"avatar_url":"https://avatars.githubusercontent.com/u/6442292?v=3","gravatar_id":"","url":"https://api.github.com/users/RussTedrake","html_url":"https://github.com/RussTedrake","followers_url":"https://api.github.com/users/RussTedrake/followers","following_url":"https://api.github.com/users/RussTedrake/following{/other_user}","gists_url":"https://api.github.com/users/RussTedrake/gists{/gist_id}","starred_url":"https://api.github.com/users/RussTedrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussTedrake/subscriptions","organizations_url":"https://api.github.com/users/RussTedrake/orgs","repos_url":"https://api.github.com/users/RussTedrake/repos","events_url":"https://api.github.com/users/RussTedrake/events{/privacy}","received_events_url":"https://api.github.com/users/RussTedrake/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T22:52:28Z","updated_at":"2015-07-09T22:52:28Z","body":"note that I am running gcc 4.6.3:\r\n```\r\ngcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3\r\nCopyright (C) 2011 Free Software Foundation, Inc.\r\nThis is free software; see the source for copying conditions.  There is NO\r\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r\n```\r\n\r\nand it looks like matlab officially only supports >= 4.7 now:\r\nhttp://www.mathworks.com/support/compilers/R2015a/index.html?sec=glnxa64\r\nand they officially only support ubuntu 14.04.\r\n\r\nmy guess is that changing the flag in `~/.matlab/R2015a/mex_C++_glnxa64.xml` from `-std=c++11` to `-std=c++01` (in two places) would probably resolve it.  or better yet, upgrading to gcc 4.7 ."}}