Setting error for OpenGL

OpenGL C++ Beginners
  • InexistentMe
    Likes 0

    Problem Description

    When I built the first tutorial on the youtube, I got this error message:

    2016-10-28 15:36:07.005564 OpenGL[8943:833214] [General] ERROR: Setting <GLFWContentView: 0x100b444c0> as the first responder for window <GLFWWindow: 0x100915340>, but it is in a different window ((null))! This would eventually crash when the view is freed. The first responder will be set to nil.

    (

        0   AppKit                              0x00007fffcdae89a4 -[NSWindow _validateFirstResponder:] + 566

        1   AppKit                              0x00007fffcd2d99eb -[NSWindow _setFirstResponder:] + 31

        2   AppKit                              0x00007fffcd38166a -[NSWindow _realMakeFirstResponder:] + 406

        3   AppKit                              0x00007fffcd381480 -[NSWindow makeFirstResponder:] + 123

        4   libglfw3.3.dylib                    0x00000001000ad8c0 _glfwPlatformCreateWindow + 631

        5   libglfw3.3.dylib                    0x00000001000a9474 glfwCreateWindow + 487

        6   OpenGL                              0x00000001000018ce main + 158

        7   libdyld.dylib                       0x00007fffe470a255 start + 1

        8   ???                                 0x0000000000000001 0x0 + 1

    )

    I used glfw 3.2.1, glew2.0.0, and Xcode 8.1. How can I fix it?

     

     

  • Sonar Systems admin
    Likes 0

    Can you show me a screenshot of the libs that have been included.

  • KimRegina
    Likes 0

    I met with the same issue. Is this problem already solved now? If you solved it,please tell me how to solve it. thank you very much!

  • KimRegina
    Likes 0

    I ran the Example code of glfw3 on xcode 8.1 in my project just now and i met with the same issue. And i do not know how to upload the screenshots.I just include the lastest glew and glfw3 on xcode8.1 in my project.

  • InexistentMe
    Likes 0

  • Sonar Systems admin
    Likes 0

    Which setup did you follow?

  • InexistentMe
    Likes 0

    Alought I used the code from learnopengl.com. But I used the exact same setup as yours.

  • Sonar Systems admin
    Likes 0

    Try using our setup and our code, see if that works if it doesn’t then we will determine that is something else and we will sort it out.

Login to reply