Closed judy-zz closed 12 years ago
GLFW dependency shouldn't be there. The error you get should be the following:
$ brew remove glfw
Uninstalling /usr/local/Cellar/glfw/2.7.6...
$ ./bin/zajal examples/hello-world.zj
An exception occurred running ./bin/zajal
Could not open library lib/frontends/glfw/lib/GlfwFrontend.so - dlopen(lib/frontends/glfw/lib/GlfwFrontend.so, 9): Library not loaded: /usr/local/lib/libglfw.dylib (LoadError)
I compiled GlfwFrontend.so
with -'lglfw
which linked it to the system's glfw install. Fixing that now.
Everything else is peaches!
Yup, that was exactly the error I was getting. Thanks for handling it!
On Saturday, September 15, 2012 at 11:33 AM, Ramsey Nasser wrote:
GLFW dependency shouldn't be there. The error you get should be the following: $ brew remove glfw Uninstalling /usr/local/Cellar/glfw/2.7.6... $ ./bin/zajal examples/hello-world.zj An exception occurred running ./bin/zajal Could not open library lib/frontends/glfw/lib/GlfwFrontend.so - dlopen(lib/frontends/glfw/lib/GlfwFrontend.so, 9): Library not loaded: /usr/local/lib/libglfw.dylib (LoadError)
I compiled GlfwFrontend.so with -'lglfw which linked it to the system's glfw install. Fixing that now. Everything else is peaches!— Reply to this email directly or view it on GitHub (https://github.com/nasser/zajal/pull/59#issuecomment-8585758).
More graphics additions! Please check out what I did with the circle syntax, so it's backwards compatible.