sketch, sdl2, c2ffi on M1 Mac?

This page summarizes the projects mentioned and recommended in the original post on /r/Common_Lisp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • cl-sdl2

    Common Lisp bindings for SDL2 using C2FFI.

  • First thing, I followed the instructions here: https://github.com/lispgames/cl-sdl2/issues/154

  • c2ffi

    Clang-based FFI wrapper generator

  • Quickloading :sketch or :sdl2 wants the c2ffi library which seems to be available on neither Quicklisp nor Homebrew. Downloading that library from source and following the build instructions (and several alternative variants found by Googling ) leads to errors like:

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • processing

    Source code for the Processing Core and Development Environment (PDE)

  • I'd really like to try my hand with 2d/3d graphics in Common Lisp in the way of Quil (Clojure) / Processing (Java) but have had no luck on this platform. Before I bang my head on it too much more I'd love to hear if anyone has gotten it working on M1 / Apple Silicon.

  • cl-sdl2-image

    SDL_image 2.0 wrapper

  • In that same thread, someone mentioned adding some OSX specific paths to :sysincludes in the autowrap.lisp file, so basically I downloaded the git repos for https://github.com/lispgames/cl-sdl2-image and https://github.com/Failproofshark/cl-sdl2-ttf into quicklisp/local-projects as well as the repos referenced in the cl-sdl2 thread above.

  • cl-sdl2-ttf

    A common lisp wrapper for SDL2_TTF used for loading fonts and creating text assets

  • In that same thread, someone mentioned adding some OSX specific paths to :sysincludes in the autowrap.lisp file, so basically I downloaded the git repos for https://github.com/lispgames/cl-sdl2-image and https://github.com/Failproofshark/cl-sdl2-ttf into quicklisp/local-projects as well as the repos referenced in the cl-sdl2 thread above.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts