Skip to content

errors in compilation #7

Description

@niffnuff

i should say that im new to go, but not to other languages.
I found this little gem of yours searching for gerber files of bifilar coils, installed go and tried to do one of the examples ..
i get some errors, i wonder is this a go or gcc version issue ?

C:\Users\Mårten Sundling>cd C:\Users\Mårten Sundling\Documents\go-gerber-master\examples\bifilar-with-capacitor

C:\Users\Mårten Sundling\Documents\go-gerber-master\examples\bifilar-with-capacitor>go run main.go

github.com/go-gl/glfw/v3.3/glfw

In file included from ........\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3\c_glfw.go:4:
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/context.c: In function 'glfwSwapBuffers':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/context.c:646:1: error: converting to execution character set: Illegal byte sequence
assert(window != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/context.c: In function 'glfwExtensionSupported':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/context.c:680:1: error: converting to execution character set: Illegal byte sequence
assert(extension != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/context.c: In function 'glfwGetProcAddress':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/context.c:746:1: error: converting to execution character set: Illegal byte sequence
assert(procname != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ........\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3\c_glfw.go:6:
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwGetInputMode':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:476:1: error: converting to execution character set: Illegal byte sequence
assert(window != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwSetInputMode':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:501:1: error: converting to execution character set: Illegal byte sequence
assert(window != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwGetKey':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:632:1: error: converting to execution character set: Illegal byte sequence
assert(window != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwGetMouseButton':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:655:1: error: converting to execution character set: Illegal byte sequence
assert(window != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwGetCursorPos':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:678:1: error: converting to execution character set: Illegal byte sequence
assert(window != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwSetCursorPos':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:701:1: error: converting to execution character set: Illegal byte sequence
assert(window != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwCreateCursor':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:734:1: error: converting to execution character set: Illegal byte sequence
assert(image != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwSetCursor':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:820:1: error: converting to execution character set: Illegal byte sequence
assert(window != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwSetKeyCallback':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:832:1: error: converting to execution character set: Illegal byte sequence
assert(window != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwSetCharCallback':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:842:1: error: converting to execution character set: Illegal byte sequence
assert(window != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwSetCharModsCallback':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:852:1: error: converting to execution character set: Illegal byte sequence
assert(window != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwSetMouseButtonCallback':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:863:1: error: converting to execution character set: Illegal byte sequence
assert(window != NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c: In function 'glfwSetCursorPosCallback':
C:\Users\M�rten Sundling\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20200625191551-73d3c3675aa3/glfw/src/input.c:874:1: error: converting to execution character set: Illegal byte sequence

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions