{"action":"created","issue":{"url":"https://api.github.com/repos/BIC-MNI/minc-toolkit-v2/issues/25","repository_url":"https://api.github.com/repos/BIC-MNI/minc-toolkit-v2","labels_url":"https://api.github.com/repos/BIC-MNI/minc-toolkit-v2/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/BIC-MNI/minc-toolkit-v2/issues/25/comments","events_url":"https://api.github.com/repos/BIC-MNI/minc-toolkit-v2/issues/25/events","html_url":"https://github.com/BIC-MNI/minc-toolkit-v2/issues/25","id":151221476,"number":25,"title":"Build failure mac osx with MT_USE_OPENMP=OFF","user":{"login":"cfhammill","id":7467038,"avatar_url":"https://avatars.githubusercontent.com/u/7467038?v=3","gravatar_id":"","url":"https://api.github.com/users/cfhammill","html_url":"https://github.com/cfhammill","followers_url":"https://api.github.com/users/cfhammill/followers","following_url":"https://api.github.com/users/cfhammill/following{/other_user}","gists_url":"https://api.github.com/users/cfhammill/gists{/gist_id}","starred_url":"https://api.github.com/users/cfhammill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfhammill/subscriptions","organizations_url":"https://api.github.com/users/cfhammill/orgs","repos_url":"https://api.github.com/users/cfhammill/repos","events_url":"https://api.github.com/users/cfhammill/events{/privacy}","received_events_url":"https://api.github.com/users/cfhammill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-26T19:40:16Z","updated_at":"2016-04-26T20:10:37Z","closed_at":null,"body":"Hi,\r\n\r\nI've trying to get an automatic build going for mac osx, I can get everything to compile properly using clang-omp which supports openmp, but I can't get it to work with stock clang. Setting MT_USEOPENMP=OFF triggers a build failure when building EBTKS:\r\n```\r\n/Users/developers/src/minc-toolkit-v2/EBTKS/src/Polynomial.cc:353:41: error:\r\n      reference to 'array' is ambiguous\r\n      powers[coord][power] = asDblArray(array(X.col(coord))) ^ power;\r\n                                        ^\r\n/Users/developers/src/minc-toolkit-v2/EBTKS/templates/EBTKS/Matrix.h:4934:19: note:\r\n      candidate found by name lookup is 'array'\r\nSimpleArray<Type> array(const Mat<Type>& A, Type minVal, Type maxVal)\r\n                  ^\r\n/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tuple:116:65: note:\r\n      candidate found by name lookup is 'std::__1::array'\r\ntemplate <class _Tp, size_t _Size> struct _LIBCPP_TYPE_VIS_ONLY array;\r\n                                                                ^\r\n1 warning and 1 error generated.\r\nmake[2]: *** [EBTKS/CMakeFiles/EBTKS.dir/src/Polynomial.cc.o] Error 1\r\nmake[1]: *** [EBTKS/CMakeFiles/EBTKS.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```"},"comment":{"url":"https://api.github.com/repos/BIC-MNI/minc-toolkit-v2/issues/comments/214871194","html_url":"https://github.com/BIC-MNI/minc-toolkit-v2/issues/25#issuecomment-214871194","issue_url":"https://api.github.com/repos/BIC-MNI/minc-toolkit-v2/issues/25","id":214871194,"user":{"login":"gdevenyi","id":3001850,"avatar_url":"https://avatars.githubusercontent.com/u/3001850?v=3","gravatar_id":"","url":"https://api.github.com/users/gdevenyi","html_url":"https://github.com/gdevenyi","followers_url":"https://api.github.com/users/gdevenyi/followers","following_url":"https://api.github.com/users/gdevenyi/following{/other_user}","gists_url":"https://api.github.com/users/gdevenyi/gists{/gist_id}","starred_url":"https://api.github.com/users/gdevenyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdevenyi/subscriptions","organizations_url":"https://api.github.com/users/gdevenyi/orgs","repos_url":"https://api.github.com/users/gdevenyi/repos","events_url":"https://api.github.com/users/gdevenyi/events{/privacy}","received_events_url":"https://api.github.com/users/gdevenyi/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T20:10:37Z","updated_at":"2016-04-26T20:10:37Z","body":"Fix is only on develop branch of metapackage, be sure to recursively update submodules if you switch."}}