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

Converting to execution character set: Illegal byte sequence #376

Open
Albertchamberlain opened this issue Apr 1, 2023 · 0 comments
Open

Comments

@Albertchamberlain
Copy link

This is a great project, but when I use it, there are some errors that happen.

Running environment: Win11, Go1.19

# github.com/go-gl/glfw/v3.3/glfw
In file included from C:\Users\houboxue\go\pkg\mod\github.com\go-gl\glfw\v3.3\[email protected]\c_glfw.go:4:
C:\Users\houboxue\go\pkg\mod\github.com\go-gl\glfw\v3.3\[email protected]/glfw/src/context.c: In function 'glfwSwapBuffers':
C:\Users\houboxue\go\pkg\mod\github.com\go-gl\glfw\v3.3\[email protected]/glfw/src/context.c:644:1: error: converting to execution character set: Illegal byte sequence
  644 |     assert(window != NULL);
      | ^   ~~~~~~~~~~~~~~~~~~~~~~~                                                                                                  
C:\Users\houboxue\go\pkg\mod\github.com\go-gl\glfw\v3.3\[email protected]/glfw/src/context.c: In function 'glfwExtensionSupported':
C:\Users\houboxue\go\pkg\mod\github.com\go-gl\glfw\v3.3\[email protected]/glfw/src/context.c:678:1: error: converting to execution character set: Illegal byte sequence
  678 |     assert(extension != NULL);
      | ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~    
       

By the way,Running on WSL2.0 is ok
Thanks

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