Skip to content

v3.3/glfw: converting to execution character set: Illegal byte sequence #376

Description

@Albertchamberlain

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\glfw@v0.0.0-20221017161538-93cebf72946b\c_glfw.go:4:
C:\Users\houboxue\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20221017161538-93cebf72946b/glfw/src/context.c: In function 'glfwSwapBuffers':
C:\Users\houboxue\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20221017161538-93cebf72946b/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\glfw@v0.0.0-20221017161538-93cebf72946b/glfw/src/context.c: In function 'glfwExtensionSupported':
C:\Users\houboxue\go\pkg\mod\github.com\go-gl\glfw\v3.3\glfw@v0.0.0-20221017161538-93cebf72946b/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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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