Skip to content

Working on macOS 13.1 using Clozure CL #67

Open
@kresdjan

Description

@kresdjan

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions