While i tried to compile example ( im getting

exec: "gcc": executable file not found in %PATH%
exec: "gcc": executable file not found in %PATH%


I’m going to assume again that you’re using Windows. You actually need to follow the “additional steps for Windows users” before compiling that Go program as per the project’s README:

Also dealing with cgo is a huge pain in itself, if you don’t understand the build chain of C game development I would recommend against attempting trying to write a game in Go. If you’re stuck on this error (which is a very basic error) then you’ll likely get stuck on many errors down the road, and this community may not help you through all of your errors. Consider learning the basics of OpenGL on a beginner’s tutorial first:



Still have same problem, yes i use windows

Have you even checked to see if ‘gcc’ is in your %PATH%?

Open up a command prompt and type ‘gcc’ to see if it works.