{"issue":{"state":"closed","created_at":"2011-11-10T00:06:41Z","updated_at":"2011-12-11T12:05:05Z","comments":1,"user":{"gravatar_id":"390ea42c23c2c383f973abdafa24bb07","id":285033,"url":"https://api.github.com/users/gabrielstuff","avatar_url":"https://secure.gravatar.com/avatar/390ea42c23c2c383f973abdafa24bb07?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"gabrielstuff"},"body":"Hello,\r\nThis was looking great but I did not manage to make it run on osx.\r\nany hints, I've got :\r\n\r\n\r\n```bash\r\ncc1plus: error: unrecognized command line option \"-std=gnu++0x\"\r\n```\r\n\r\nor \r\n\r\n\r\n```bash\r\ncc1plus: error: unrecognized command line option \"-std=c++0x\"\r\n```\r\n\r\nWould be nice to see your work in action","assignee":{"gravatar_id":"a4cfe5934ae0b92c9bdf2c24e5caa5b3","id":30706,"url":"https://api.github.com/users/omartinak","avatar_url":"https://secure.gravatar.com/avatar/a4cfe5934ae0b92c9bdf2c24e5caa5b3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"omartinak"},"id":2193179,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":1,"title":"Did not manage to make it run on OSX","html_url":"https://github.com/omartinak/blob/issues/1","closed_at":"2011-12-11T12:05:05Z","url":"https://api.github.com/repos/omartinak/blob/issues/1","milestone":null},"action":"created","comment":{"created_at":"2011-12-11T12:05:05Z","updated_at":"2011-12-11T12:05:05Z","user":{"gravatar_id":"a4cfe5934ae0b92c9bdf2c24e5caa5b3","id":30706,"url":"https://api.github.com/users/omartinak","avatar_url":"https://secure.gravatar.com/avatar/a4cfe5934ae0b92c9bdf2c24e5caa5b3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"omartinak"},"body":"Hi,\r\n\r\nI'm not familiar with OS X so I have no idea what flags the compiler needs but the idea is to compile the code with C++11. Gcc 4.6 needs the '-std=c++0x' so I guess you'll have to use something similar for your compiler.\r\n\r\nJust change the following lines accordingly (CMakeLists.txt:27):\r\n\r\n```cmake\r\nif(CMAKE_COMPILER_IS_GNUCXX)\r\n    add_definitions(-std=c++0x)\r\nendif()\r\n```\r\n\r\nIf you'll get it running please let me know so I can fix it.\r\n\r\nBtw don't get too excited about the application, it doesn't do much at the moment :).","id":3096836,"url":"https://api.github.com/repos/omartinak/blob/issues/comments/3096836"}}