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

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

Open
tiperiu opened this issue Dec 16, 2023 · 0 comments
Open

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

tiperiu opened this issue Dec 16, 2023 · 0 comments

Comments

@tiperiu
Copy link

tiperiu commented Dec 16, 2023

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

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