GoSFML Setup Tutorial (C-SFML & GoLang) PART #1

Опубликовано: 26 Июнь 2026
на канале: John Madison
1,039
4

You might already have go installed, but:
DON'T SKIP AHEAD UNTIL YOU READ THIS!
The tutorial uses 64bit go, version 1.7.4.
If you mismatch versions of CSFML & GO, you will run into
errors when compiling. Something about casting of SIZE_T typedefs. Which makes sense. Since those typedefs will be different numbers of bits depending on if you download CSFML 64BIT or 32BIT source.

In Summary: Make sure everything you setup is either 32 or 64 bit. Don't mix and match.

Another thing:
Through trial and error I realized that Krepa098's GoSFML2 implementation is for the version 2.3 CSFML bindings. If you use version 2.0 or 2.1 you will get errors about referencing functions that don't exist in the header files.

Version 2.2 might work. I honestly can't remember.

GoSFML Setup Tutorial (C-SFML & GoLang) PART #1
This covers getting golang to work on the windows command line.