{"action":"created","issue":{"url":"https://api.github.com/repos/ICRAR/pyprofit/issues/1","repository_url":"https://api.github.com/repos/ICRAR/pyprofit","labels_url":"https://api.github.com/repos/ICRAR/pyprofit/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ICRAR/pyprofit/issues/1/comments","events_url":"https://api.github.com/repos/ICRAR/pyprofit/issues/1/events","html_url":"https://github.com/ICRAR/pyprofit/issues/1","id":185138322,"number":1,"title":"Python package","user":{"login":"raphaelshirley","id":128172,"avatar_url":"https://avatars.githubusercontent.com/u/128172?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaelshirley","html_url":"https://github.com/raphaelshirley","followers_url":"https://api.github.com/users/raphaelshirley/followers","following_url":"https://api.github.com/users/raphaelshirley/following{/other_user}","gists_url":"https://api.github.com/users/raphaelshirley/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelshirley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelshirley/subscriptions","organizations_url":"https://api.github.com/users/raphaelshirley/orgs","repos_url":"https://api.github.com/users/raphaelshirley/repos","events_url":"https://api.github.com/users/raphaelshirley/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelshirley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-25T14:42:48Z","updated_at":"2016-10-26T13:44:18Z","closed_at":"2016-10-26T12:38:50Z","body":"Hello,\r\n\r\nThank you very much for making this software available. I am trying to use the software with a view to applying it to galaxy deblending problems we are working on at the University of Sussex Astronomy Centre.\r\n\r\nI am struggling to install the python package using 'python setup.py install' which throws the following error:\r\n\r\n/var/folders/zx/nzb1wy_d0yj1g8wznhz1ns68000930/T/tmplanbqx8y.cpp:4:21: error: cannot deduce type of initializer list because\r\n      std::initializer_list was not found; include <initializer_list>\r\n        for(auto i: {0,1,2}) {\r\n                    ^\r\n1 error generated.\r\n/var/folders/zx/nzb1wy_d0yj1g8wznhz1ns68000930/T/tmplanbqx8y.cpp:4:21: error: cannot deduce type of initializer list because\r\n      std::initializer_list was not found; include <initializer_list>\r\n        for(auto i: {0,1,2}) {\r\n                    ^\r\n1 error generated.\r\n/var/folders/zx/nzb1wy_d0yj1g8wznhz1ns68000930/T/tmplanbqx8y.cpp:4:13: warning: 'auto' type specifier is a C++11 extension\r\n      [-Wc++11-extensions]\r\n        for(auto i: {0,1,2}) {\r\n            ^\r\n/var/folders/zx/nzb1wy_d0yj1g8wznhz1ns68000930/T/tmplanbqx8y.cpp:4:19: warning: range-based for loop is a C++11 extension\r\n      [-Wc++11-extensions]\r\n        for(auto i: {0,1,2}) {\r\n                  ^\r\n/var/folders/zx/nzb1wy_d0yj1g8wznhz1ns68000930/T/tmplanbqx8y.cpp:4:21: error: cannot deduce type of initializer list because\r\n      std::initializer_list was not found; include <initializer_list>\r\n        for(auto i: {0,1,2}) {\r\n                    ^\r\n2 warnings and 1 error generated.\r\nNo C/C++ compiler with C++11 support found. Use the CC environment variable to specify a different compiler if you have one\r\nUsing None to enable C++11 support\r\n\r\nIt is clearly a c++ compiler problem. I seem to be able to compile the test code in the setup.py file using g++ on a mac with 'g++ -std=c++ main.cpp' but when that is run in setup.py it throws the error after setting the CC envirnoment variable to g++.\r\n\r\nDo you have any suggestions for fixing this problem. I get the same errors when I try to use pip.\r\n\r\nSorry if I'm doing something stupid.\r\n\r\nBest regards,\r\n\r\nDr Raphael Shirley\r\nUniversity of Sussex\r\nraphael.shirley@sussex.ac.uk"},"comment":{"url":"https://api.github.com/repos/ICRAR/pyprofit/issues/comments/256351509","html_url":"https://github.com/ICRAR/pyprofit/issues/1#issuecomment-256351509","issue_url":"https://api.github.com/repos/ICRAR/pyprofit/issues/1","id":256351509,"user":{"login":"raphaelshirley","id":128172,"avatar_url":"https://avatars.githubusercontent.com/u/128172?v=3","gravatar_id":"","url":"https://api.github.com/users/raphaelshirley","html_url":"https://github.com/raphaelshirley","followers_url":"https://api.github.com/users/raphaelshirley/followers","following_url":"https://api.github.com/users/raphaelshirley/following{/other_user}","gists_url":"https://api.github.com/users/raphaelshirley/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelshirley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelshirley/subscriptions","organizations_url":"https://api.github.com/users/raphaelshirley/orgs","repos_url":"https://api.github.com/users/raphaelshirley/repos","events_url":"https://api.github.com/users/raphaelshirley/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelshirley/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T13:44:17Z","updated_at":"2016-10-26T13:44:17Z","body":"Great, thanks. I wondered if there might be python 3 issue. We may decide to use c++ but plan on possibly using some old python code and python is our preferred code here for development. Thanks again for your help.\r\n\r\nBest,\r\n\r\nRaphael."}}
{"actor":{"display_login":"raphaelshirley"}}