{"action":"created","issue":{"url":"https://api.github.com/repos/teemupitkanen/mrpt/issues/6","repository_url":"https://api.github.com/repos/teemupitkanen/mrpt","labels_url":"https://api.github.com/repos/teemupitkanen/mrpt/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/teemupitkanen/mrpt/issues/6/comments","events_url":"https://api.github.com/repos/teemupitkanen/mrpt/issues/6/events","html_url":"https://github.com/teemupitkanen/mrpt/issues/6","id":218406098,"number":6,"title":"compiling on clang / osx","user":{"login":"kylemcdonald","id":157106,"avatar_url":"https://avatars0.githubusercontent.com/u/157106?v=3","gravatar_id":"","url":"https://api.github.com/users/kylemcdonald","html_url":"https://github.com/kylemcdonald","followers_url":"https://api.github.com/users/kylemcdonald/followers","following_url":"https://api.github.com/users/kylemcdonald/following{/other_user}","gists_url":"https://api.github.com/users/kylemcdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/kylemcdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylemcdonald/subscriptions","organizations_url":"https://api.github.com/users/kylemcdonald/orgs","repos_url":"https://api.github.com/users/kylemcdonald/repos","events_url":"https://api.github.com/users/kylemcdonald/events{/privacy}","received_events_url":"https://api.github.com/users/kylemcdonald/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-31T06:02:28Z","updated_at":"2017-07-12T15:43:26Z","closed_at":null,"body":"to compile on osx i had to:\r\n\r\n```\r\n$ brew install gcc\r\n$ CC=/usr/local/bin/gcc-6 CXX=/usr/local/bin/g++-6 pip install git+https://github.com/teemupitkanen/mrpt/\r\n```\r\n\r\nwhen i tried to install without gcc, first i had the problem of: `WARNING: '.' not a valid package name; please use only .-separated package names in setup.py` (strange).\r\n\r\ni changed the setup.py import to add `from setuptools import setup, find_packages` and changed packages value to `packages=find_packages(),`. \r\n\r\nnext `clang: error: unsupported option '-fopenmp'` so i removed the `-fopenmp` flag.\r\n\r\nnext:\r\n\r\n```\r\ncpp/Mrpt.h:139:27: error: variable length array of non-POD element type 'Gap'\r\n            Gap found_branches[n_trees * depth];\r\n```\r\n\r\nthat's when i switched to gcc."},"comment":{"url":"https://api.github.com/repos/teemupitkanen/mrpt/issues/comments/314810555","html_url":"https://github.com/teemupitkanen/mrpt/issues/6#issuecomment-314810555","issue_url":"https://api.github.com/repos/teemupitkanen/mrpt/issues/6","id":314810555,"user":{"login":"ejaasaari","id":10322602,"avatar_url":"https://avatars2.githubusercontent.com/u/10322602?v=3","gravatar_id":"","url":"https://api.github.com/users/ejaasaari","html_url":"https://github.com/ejaasaari","followers_url":"https://api.github.com/users/ejaasaari/followers","following_url":"https://api.github.com/users/ejaasaari/following{/other_user}","gists_url":"https://api.github.com/users/ejaasaari/gists{/gist_id}","starred_url":"https://api.github.com/users/ejaasaari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejaasaari/subscriptions","organizations_url":"https://api.github.com/users/ejaasaari/orgs","repos_url":"https://api.github.com/users/ejaasaari/repos","events_url":"https://api.github.com/users/ejaasaari/events{/privacy}","received_events_url":"https://api.github.com/users/ejaasaari/received_events","type":"User","site_admin":false},"created_at":"2017-07-12T15:43:26Z","updated_at":"2017-07-12T15:43:26Z","body":"Thanks, I pushed a commit that adds the extra_links_args and mentions LLVM installation in the README. This seemed to be all that I needed to get it working on MacOS (didn't have to modify LD_LIBRARY_PATH)."}}
{"actor":{"display_login":"ejaasaari"}}