{"action":"closed","issue":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/905","labels_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/905/labels{/name}","comments_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/905/comments","events_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/905/events","html_url":"https://github.com/CorsixTH/CorsixTH/issues/905","id":109692209,"number":905,"title":"Error finding main","user":{"login":"JoshKeegan","id":1682204,"avatar_url":"https://avatars.githubusercontent.com/u/1682204?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshKeegan","html_url":"https://github.com/JoshKeegan","followers_url":"https://api.github.com/users/JoshKeegan/followers","following_url":"https://api.github.com/users/JoshKeegan/following{/other_user}","gists_url":"https://api.github.com/users/JoshKeegan/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshKeegan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshKeegan/subscriptions","organizations_url":"https://api.github.com/users/JoshKeegan/orgs","repos_url":"https://api.github.com/users/JoshKeegan/repos","events_url":"https://api.github.com/users/JoshKeegan/events{/privacy}","received_events_url":"https://api.github.com/users/JoshKeegan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-04T17:16:36Z","updated_at":"2015-11-28T14:55:08Z","closed_at":"2015-11-28T14:55:08Z","body":"Hi,\r\nI've just followed the \"Setting Up Windows Dev Software\" guide and got through it with only the minor hiccough that I'd put a space in a directory and the cmake GUI wasn't a big fan of that.\r\nOnce I'd followed the guide though, there was an error when I went to compile:\r\n```\r\nerror LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup\r\n```\r\n\r\nI've worked around this by adding #undef main before the main function as it seems to be clashing with a main from elsewhere.\r\nJust wondering if I've done something wrong to have needed this?\r\nCheers,\r\nJosh"}}