Skip to content
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

Working on macOS 13.1 using Clozure CL #67

Open
kresdjan opened this issue Jan 21, 2023 · 1 comment
Open

Working on macOS 13.1 using Clozure CL #67

kresdjan opened this issue Jan 21, 2023 · 1 comment

Comments

@kresdjan
Copy link

kresdjan commented Jan 21, 2023

Using MacPorts and ccl64

Not a bug, but and update too anyone interested Sketch seems run fine on macOS 13.1 using Clozure CL.

Steps I took, to the best of my recollection. Install Clozure CL 1.12.1 from MacPorts. (I haven't tested with SBCL, yet).

sudi port install ccl

Install Quicklisp, enter the ccl64 REPL run the setup.

curl -O https://beta.quicklisp.org/quicklisp.lisp

ccl64 --load quicklisp.lisp

(quicklisp-quickstart:install)

# If you are using Emacs and SLIME
(ql:quickload "quicklisp-slime-helper")

# Add this to your init.el
(load (expand-file-name "~/quicklisp/slime-helper.el"))
(setq inferior-lisp-program "ccl64")

Open a REPL in Emacs M-x slime and load Sketch.

CL-USER> (ql:quickload :sketch)

Now install the SDL2 external/foreign dependencies.

sudo port install libsdl2
sudo port install libsdl2_image
sudo port install libsdl2_ttfd

Now it should be possible to load the examples.

CL-USER> (ql:quickload :sketch-examples)
CL-USER> (make-instance 'sketch-examples:hello-world)
CL-USER> (make-instance 'sketch-examples:sinewave)
CL-USER> (make-instance 'sketch-examples:brownian)
CL-USER> (make-instance 'sketch-examples:life)

Versions

| macOS | 13.1 (Intel 64) |
| GNU Emacs | 30.0.50 |
| SLIME | 2.27 |
| Sketch | 20221106 |
| ccl | 1.12.1 |
| libsdl2 | 2.26.2 |
| libsdl2image | 2.6.2 |
| libsdl2ttf | 2.20.1 |

Screenshots

sketch-macOS

@vydd
Copy link
Owner

vydd commented Nov 9, 2023

Thanks! Could you maybe add this to the project's wiki?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants