Code translated into go from the great tutorial by Joey de Vries. The original repo is here.
For model loading
sudo apt-get install assimp-utils
For sound
sudo apt-get install libasound2-dev
For model go to this page and download assimp.3.1.1 assimp-3.1.1-win-binaries.zip
.
Unzip this file and find bin64/assimp.dll
and move this into the C:/Windows/System32
folder. In the repo I included dlls/assimp.dll
for ease.
For model loading
brew install assimp
Download deps
go mod download
Then it is as easy as going to the folder of the example you would to to run then
go run hello_triangle.go
Open up an issue if you are having trouble with getting the code to build.
https://github.com/cstegel/opengl-samples-golang