-
LeeMai27Likes 0Problem Description
following the video: https://www.youtube.com/watch?v=Cc26qCIQNAs&index=4&list=PLRtjMdoYXLf6zUMDJVRZYV-6g6n62vet8
on the line where it has:
glfwGetFramebufferSize(window, &screenWidth, &screenHight);
gives me a:
Thread 1: EXC_BAD_ACCESS (code=1, address=0x300)
also in the all output I’m getting:
2017-09-08 13:20:35.402547 GLFW_OpenGL[58184:1336481] [General] ERROR: Setting <GLFWContentView: 0x1016467a0> as the first responder for window <GLFWWindow: 0x101426560>, 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.
I’m not sure where I’m doing something wrong
Though instead of saving the project to my desktop I have it saved to a flash drive.
If it matters I’m running macOS Sierra Version 10.12.3 and Xcode Version 8.3.3
-
Sonar Systems adminLikes 0
Saving it to a flash drive shouldn’t matter, neither should the OS and Xcode version. What version of everything else are you using?
This reply has been verified.
-
LeeMai27Likes 0
glew 2.1.0
glfw 3.2.1
Let me know if you need more versions of stuff and what specifically.
-
Sonar Systems adminLikes 0
How are you downloading GLFW?
-
LeeMai27Likes 0
I did it from the terminal as well as from the website, when I was following instructions from the OpenGL tutorial site https://learnopengl.com/#!Getting-started/Creating-a-window
-
Sonar Systems adminLikes 0
Did you try the exact method from the video?
This reply has been verified.
-
LeeMai27Likes 0
What method, I’m not quite sure what method you’re talking about.
I can post my code if you want to compare it.
-
LeeMai27Likes 0
When I emailed my professor he said, “That looks like one of the arguments is pointing to bad memory.” not sure if that helped and sorry if you already knew that was an issue.
-
Sonar Systems adminLikes 0
I meant the exact process, all the steps from the video?
Login to reply