-
Notifications
You must be signed in to change notification settings - Fork 177
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
Can't build on OS X 10.9 #17
Comments
I am having the same problem, had any luck finding a solution? |
Same issue here. :( |
The problem is due to GLFW has updated to a new API, so you can't use the GLFW v3 out of the box without updating the code. I am reimplementing much of the tutorials here @ https://github.com/bradc6/OpenGLSuperBible6 |
In order to compile them, you need to go into the extern folder, followed by the glfw-2.7.6 folder, and then follow the instructions in the readme.html file to compile glfw-2.7.6. This will overwrite some glfw3 files, so you'll have to reinstall glfw3 on your system if you'd like to go back. However even afterwards you must change some of the shaders to version 410 instead of 430. Not all of the examples are fully support in OpenGL 4.1. There should be some additional insight here. |
bradc6 is right. I chang to glfw-2.7.6 and it works. |
This was failing for me. So I used brew to install the glfw2 library. However, not all of the examples work.
Here is a sample of the error and the commands I used to fix it.
|
I'm sorry, @pybai , how to change to glfw-2.7.6. I'm confused with the same question. |
@burtlo I met the same problem in macOS 10.12.6, but I found the solution, at least for me :)
brew tells me something like:
then
In the newly created and make, then wait for compiling :D. |
Even though it says 10.9 is supported, after installing CMake and generating the Makefiles, I get:
[ 6%] Built target sb6 make[2]: *** No rule to make target
/usr/local/lib/libglfw.a', needed bybin/alienrain'. Stop. make[1]: *** [CMakeFiles/alienrain.dir/all] Error 2 make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: