Skip to content

Makefile does not work on windows #7

@Gerhardt-Hilts

Description

@Gerhardt-Hilts

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions