-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I'm really excited to try this library, but I'm having trouble compiling the dependencies. (Windows 10 x64 - Powershell, also have an OS X and an Arch Linux machine available, but game development happens on the Windows box.)
go get github.com/runningwild/glop/
package github.com/go-gl/glow/procaddr: cannot find package "github.com/go-gl/glow/procaddr" in any of:
C:\Applications\Go\src\github.com\go-gl\glow\procaddr (from $GOROOT)
C:\Users\{OMITTED}\src\github.com\go-gl\glow\procaddr (from $GOPATH)
package github.com/go-gl/glow/procaddr/auto: cannot find package "github.com/go-gl/glow/procaddr/auto" in any of:
C:\Applications\Go\src\github.com\go-gl\glow\procaddr\auto (from $GOROOT)
C:\Users\{OMITTED}\src\github.com\go-gl\glow\procaddr\auto (from $GOPATH)
Okay, so I'll go grab that.
go get github.com/go-gl/glow/procaddr
package github.com/go-gl/glow/procaddr: cannot find package "github.com/go-gl/glow/procaddr" in any of:
C:\Applications\Go\src\github.com\go-gl\glow\procaddr (from $GOROOT)
C:\Users\{OMITTED}\src\github.com\go-gl\glow\procaddr (from $GOPATH)
Okay, I know at least glow is a package because I've been looking through the go-gl repository as I play with OpenGL in Go. So let's go get that and follow its readme.
go get github.com/go-gl/glow
cd {path}/glow
go build
./glow download
Various failures in downloading, every time I try a different file fails, but usually in documentation, so that's fine. Let's try to build anyway. Uh.... not sure what version of OpenGL I'll need.... I'll just use the version mentioned in the readme for glow.
./glow generate -api=gl -version=3.3 -profile=core -remext=GL_ARB_cl_event
error parsing version: invalid version string: 3
Okay, that's what the readme said, but fine, let's try quotes. Powershell usually uses double quotes, so that's where we'll start.
./glow generate -api=gl -version="3.3" -profile=core -remext=GL_ARB_cl_event
generated package in gl
Great, so now there's a subfolder called gl, and inside I see procaddr.go, but its package is gl and it doesn't seem to be in the procaddr/auto directory that some earlier output aluded to....
Where do I go from here?