Skip to content

Unable to run the glfw examples on mac os 13.6.3 (m1 chip) #12

Open
@tiperiu

Description

@tiperiu

Describe the bug

On my macbook pro running mac os 13.6.3 (m1 chip) I ran the first tutorial file tu_00....py

I had an error related to glfw that I fixed by adding these two limnes that apparently are common for mac os:

glfw.window_hint(glfw.OPENGL_PROFILE,glfw.OPENGL_CORE_PROFILE)
glfw.window_hint(glfw.OPENGL_FORWARD_COMPAT, GL_TRUE);

After these lines teh code ran, but no window was open and at the same time the window generated by glfw seem correct
(I did not catch any error in glfw calls)

To Reproduce
Steps to reproduce the behavior:

  1. Add these lines to the tu_00...py
    glfw.window_hint(glfw.OPENGL_PROFILE,glfw.OPENGL_CORE_PROFILE)
    glfw.window_hint(glfw.OPENGL_FORWARD_COMPAT, GL_TRUE);
  2. run on a mac running 13.6.3 (m1 chip)

Expected behavior

The glfw window is not created, but no error is reported

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macbook pro Mac OS 13.6.3 (m1 chip)

thank you
Tiberiu

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