-
Notifications
You must be signed in to change notification settings - Fork 32
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
Window just hangs when I close it #32
Comments
I'm having the same problem with the vanilla I'm suspecting it's an incompatibility between macOS Catalina and the native SBCL version:
To reproduce:
Stack trace:
GLFW version: So it seems to fail in code triggered by the
Startup: I've also seen it crash with the same exception at start-up, triggered by a different code path:
|
I also have the same issue.
|
I did a bit of searching and testing and found this reddit thread: The following code works for me:
|
I'm on a Mac OS X
So here's a script that I'm runnning:
It is practically a clone of the basic window example (https://github.com/AlexCharlton/cl-glfw3/blob/master/examples/basic-window.lisp) but I've namespaced functions (trying to help myself learn 😄)
When I run it in the REPL, a window loads with a white rectangle, which is great. The only problem is that when I click the close button on the window, it doesn't close. The loop ends, but the window remains open.
I've tried addingafter the loop terminates but still no luck.Edit: I see now that
with-init-window
automatically destroys the window and terminates GLFW so there's no point adding more callsDo you have any ideas?
This seems reminiscent of this problem: https://stackoverflow.com/q/22312630
But as far as I can tell the proposed solutions have already been done in the example
🤔
Thanks,
Luke
PS I'm finding this project greatly helpfulp in learning Common Lisp and feeling the power of setting up graphics on the fly in a REPL. Thanks!
The text was updated successfully, but these errors were encountered: