{"action":"created","issue":{"url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/208","labels_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/208/comments","events_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/208/events","html_url":"https://github.com/CausalityLtd/ponyc/issues/208","id":77397998,"number":208,"title":"Linker error on Windows - probably related to VS2015","user":{"login":"Matthias247","id":6330334,"avatar_url":"https://avatars.githubusercontent.com/u/6330334?v=3","gravatar_id":"","url":"https://api.github.com/users/Matthias247","html_url":"https://github.com/Matthias247","followers_url":"https://api.github.com/users/Matthias247/followers","following_url":"https://api.github.com/users/Matthias247/following{/other_user}","gists_url":"https://api.github.com/users/Matthias247/gists{/gist_id}","starred_url":"https://api.github.com/users/Matthias247/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Matthias247/subscriptions","organizations_url":"https://api.github.com/users/Matthias247/orgs","repos_url":"https://api.github.com/users/Matthias247/repos","events_url":"https://api.github.com/users/Matthias247/events{/privacy}","received_events_url":"https://api.github.com/users/Matthias247/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-17T21:04:33Z","updated_at":"2015-05-19T22:38:14Z","closed_at":null,"body":"My self-built ponyc compiler worked on windows for some time, but now compiling things fails with a linker error: https://gist.github.com/Matthias247/132f7fba7b3f5127cf59\r\n\r\nI'm not sure of the root cause, I updated to the most recent ponyc version but I guess the problem could be also that I installed Visual Studio 2015 RC Community Edition in parallel to VS2013 this week.\r\n\r\n@sylvanc gave me the hint that I can include a debug output inside ponyc that tells me what kind of linker command it invokes. Here is the output:\r\n\r\n~~~~\r\n(cmd /C \"\"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\link.exe\" /\r\nDEBUG /NOLOGO /NODEFAULTLIB /MACHINE:X64 /OUT:./counter.exe ./counter.obj /LIBPA\r\nTH:\"C:\\Program Files (x86)\\Windows Kits\\8.1\\Lib\\winv6.3\\um\\x64\" /LIBPATH:\"C:\\Pro\r\ngram Files (x86)\\Microsoft Visual Studio 14.0\\VC\\lib\\amd64\"  /LIBPATH:\"C:\\Code\\p\r\nonyc\\build\\release\" /LIBPATH:\"C:\\Code\\ponyc\\build\\release\\..\\..\\packages\"  ponyr\r\nt.lib kernel32.lib msvcrt.lib Ws2_32.lib \")\r\n~~~~~\r\n\r\nI guess that means that ponyc now tries to use the VS2015 linker and libraries.\r\nponyc and LLVM were built with VS2013.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/comments/103687156","html_url":"https://github.com/CausalityLtd/ponyc/issues/208#issuecomment-103687156","issue_url":"https://api.github.com/repos/CausalityLtd/ponyc/issues/208","id":103687156,"user":{"login":"Matthias247","id":6330334,"avatar_url":"https://avatars.githubusercontent.com/u/6330334?v=3","gravatar_id":"","url":"https://api.github.com/users/Matthias247","html_url":"https://github.com/Matthias247","followers_url":"https://api.github.com/users/Matthias247/followers","following_url":"https://api.github.com/users/Matthias247/following{/other_user}","gists_url":"https://api.github.com/users/Matthias247/gists{/gist_id}","starred_url":"https://api.github.com/users/Matthias247/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Matthias247/subscriptions","organizations_url":"https://api.github.com/users/Matthias247/orgs","repos_url":"https://api.github.com/users/Matthias247/repos","events_url":"https://api.github.com/users/Matthias247/events{/privacy}","received_events_url":"https://api.github.com/users/Matthias247/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T22:38:14Z","updated_at":"2015-05-19T22:38:14Z","body":"Seems to work for me now with VS2013. Haven't tested building everything with 2015 (that would probably also need building LLVM with VS2015?)"}}