{"action":"created","issue":{"url":"https://api.github.com/repos/stan-dev/rstan/issues/271","repository_url":"https://api.github.com/repos/stan-dev/rstan","labels_url":"https://api.github.com/repos/stan-dev/rstan/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/stan-dev/rstan/issues/271/comments","events_url":"https://api.github.com/repos/stan-dev/rstan/issues/271/events","html_url":"https://github.com/stan-dev/rstan/issues/271","id":137472379,"number":271,"title":"Issue with running RStan with Windows","user":{"login":"Lichen2016","id":17560828,"avatar_url":"https://avatars.githubusercontent.com/u/17560828?v=3","gravatar_id":"","url":"https://api.github.com/users/Lichen2016","html_url":"https://github.com/Lichen2016","followers_url":"https://api.github.com/users/Lichen2016/followers","following_url":"https://api.github.com/users/Lichen2016/following{/other_user}","gists_url":"https://api.github.com/users/Lichen2016/gists{/gist_id}","starred_url":"https://api.github.com/users/Lichen2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lichen2016/subscriptions","organizations_url":"https://api.github.com/users/Lichen2016/orgs","repos_url":"https://api.github.com/users/Lichen2016/repos","events_url":"https://api.github.com/users/Lichen2016/events{/privacy}","received_events_url":"https://api.github.com/users/Lichen2016/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-01T05:07:35Z","updated_at":"2016-03-02T05:14:27Z","closed_at":null,"body":"#### Summary:\r\nI installed RTools and RStan and I am trying to run the 8schools example. But I am not able to obtain results but the following error message. Have tried all I can found on the web but still no clue.\r\n\r\n\r\n#### Description:\r\nDescribe the issue as clearly as possible.\r\n\r\n\r\n#### Reproducible Steps:\r\nPlease report steps to reproduce the issue. If it's not possible to reproduce, please include a description of how you discovered the issue.\r\n\r\nIf you have a reproducible example, please include it.\r\n\r\n\r\n#### Current Output:\r\nError in compileCode(f, code, language = language, verbose = verbose) : \r\n  Compilation ERROR, function(s)/method(s) not created! clang++.exe: error: unknown argument: '-ffat-lto-objects'\r\nmake: *** [file2d8c30375702.o] Error 1\r\nWarning message:\r\nrunning command 'make -f \"C:/PROGRA~1/R/R-32~1.3/etc/x64/Makeconf\" -f \"C:/PROGRA~1/R/R-32~1.3/share/make/winshlib.mk\" -f \"C:/Users/Lichen/Documents/.R/Makevars\" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB=\"file2d8c30375702.dll\" WIN=64 TCLBIN=64 OBJECTS=\"file2d8c30375702.o\"' had status 2 \r\nIn addition: Warning message:\r\nrunning command 'C:/PROGRA~1/R/R-32~1.3/bin/x64/R CMD SHLIB file2d8c30375702.cpp 2> file2d8c30375702.cpp.err.txt' had status 1 \r\n\r\n#### Expected Output:\r\nIf applicable, the output you expected from RStan.\r\n\r\n\r\n#### RStan Version:\r\nThe version of RStan you are running (e.g., from `packageVersion(\"rstan\")`)\r\n\r\n#### R Version:\r\nR 3.2.3\r\n\r\n#### Operating System\r\nWindows10\r\n"},"comment":{"url":"https://api.github.com/repos/stan-dev/rstan/issues/comments/191066253","html_url":"https://github.com/stan-dev/rstan/issues/271#issuecomment-191066253","issue_url":"https://api.github.com/repos/stan-dev/rstan/issues/271","id":191066253,"user":{"login":"Lichen2016","id":17560828,"avatar_url":"https://avatars.githubusercontent.com/u/17560828?v=3","gravatar_id":"","url":"https://api.github.com/users/Lichen2016","html_url":"https://github.com/Lichen2016","followers_url":"https://api.github.com/users/Lichen2016/followers","following_url":"https://api.github.com/users/Lichen2016/following{/other_user}","gists_url":"https://api.github.com/users/Lichen2016/gists{/gist_id}","starred_url":"https://api.github.com/users/Lichen2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lichen2016/subscriptions","organizations_url":"https://api.github.com/users/Lichen2016/orgs","repos_url":"https://api.github.com/users/Lichen2016/repos","events_url":"https://api.github.com/users/Lichen2016/events{/privacy}","received_events_url":"https://api.github.com/users/Lichen2016/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T05:14:27Z","updated_at":"2016-03-02T05:14:27Z","body":"Hi bgoodri,\r\n\r\nThank you for you reply ! Could you please let me know what should I do to fix the problem?\r\n\r\nThank you very much !"}}