Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile does not work on windows #7

Open
Gerhardt-Hilts opened this issue Mar 14, 2018 · 0 comments
Open

Makefile does not work on windows #7

Gerhardt-Hilts opened this issue Mar 14, 2018 · 0 comments

Comments

@Gerhardt-Hilts
Copy link

running the makefile does not successfully build when it runs the go install or go build commands
even after setting
GLFW_INCLUDE_DIR
GLFW_LIB_DIR

I think this has something to do with how the make environment works on windows

'manual' builds are still possible, by setting the environment variables yourself

set CGO_CFLAGS=-I"dependencies/include" # set to location of your include folder
set CGO_LDFLAGS=-L"dependencies/libs" # set to location of your libs folder
go install # or `go build`

when the variables are no longer needed, you can set them to nothing

CGO_CFLAGS=
CGO_LDFLAGS=

or if you are done, just close the terminal in use, they won't be permanently saved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant