Closed abramsba closed 5 years ago
Hi, thanks for reporting this. Which version of OSX is it? Also, could you try running it with CCL?
I'll try looking at this in next few days (OSX is not my primary system anymore).
Sierra 10.12.6
@abramsba Hi again :)
The problem is described in https://github.com/lispgames/cl-sdl2/issues/29 . The workaround with SDL2:MAKE-THIS-THREAD-MAIN
works alright, and you can try it as:
(ql:quickload :sketch-examples)
(sdl2:make-this-thread-main
(lambda () (make-instance 'sketch-examples:hello-world)))
However, you won't be able to use the REPL, which sucks. This is why SBCL + MacOS X is listed as unsupported in Sketch README (yup. totally forgot about this).
A much better solution would be to use CCL. I used it back when OS X was my primary system and developed most of Sketch with it.
I downloaded CCL, registered quicklisp and grabbed the examples. I'm able to run the example directly with (make-instance 'sketch-examples:hello-world)
. Thanks, I'll be using CCL instead.
I've just installed sbcl via brew and installed quicklisp package manager. I load the library and load the example, but when the window is drawn the program crashes.
SDL2 ttf is version 2.0.14, image is 2.0.3, and SDL2 is 2.0.8.