{"action":"opened","issue":{"url":"https://api.github.com/repos/veandco/go-sdl2/issues/89","labels_url":"https://api.github.com/repos/veandco/go-sdl2/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/veandco/go-sdl2/issues/89/comments","events_url":"https://api.github.com/repos/veandco/go-sdl2/issues/89/events","html_url":"https://github.com/veandco/go-sdl2/issues/89","id":57663601,"number":89,"title":"Compiling for windows []","user":{"login":"HaCk3Dq","id":6451130,"avatar_url":"https://avatars.githubusercontent.com/u/6451130?v=3","gravatar_id":"","url":"https://api.github.com/users/HaCk3Dq","html_url":"https://github.com/HaCk3Dq","followers_url":"https://api.github.com/users/HaCk3Dq/followers","following_url":"https://api.github.com/users/HaCk3Dq/following{/other_user}","gists_url":"https://api.github.com/users/HaCk3Dq/gists{/gist_id}","starred_url":"https://api.github.com/users/HaCk3Dq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HaCk3Dq/subscriptions","organizations_url":"https://api.github.com/users/HaCk3Dq/orgs","repos_url":"https://api.github.com/users/HaCk3Dq/repos","events_url":"https://api.github.com/users/HaCk3Dq/events{/privacy}","received_events_url":"https://api.github.com/users/HaCk3Dq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-13T22:37:38Z","updated_at":"2015-02-13T22:37:38Z","closed_at":null,"body":"I am trying to compile a game for windows, it works great on linux.\r\nI have installed all needed stuff such as 32 bit Golang, SDL2, MinGW and so on.\r\nAfter trying to build it i get this error:\r\n\r\nC:\\Users\\HaCk3D\\Desktop\\Game>go build main.go\r\n# github.com/veandco/go-sdl2/sdl\r\ncould not determine kind of name for C.free\r\n\r\nI've googled it, found that I should add an include for stdio \"// #include <stdlib.h>\"\r\nBut i dont know where to do it, added in almost any file but it does not help"}}