News for hackers. Stuff that matters.
Re:The Embeddable Common Lisp [pdf] by BaculumMeumEst on Saturday June 10, 2023 @04:31PM (#36274781)
I can build projects using sdl2 in C with sdl2-config, or using cl-sdl2 with SBCL by following some steps I found online to fix macbook m1 quirks (see below).

Right now I’m trying and failing to load cl-sdl2 it from an ECL repl- I’m not sure how sdl2-config would be used in that situation. ECL is installed via homebrew but I’m not really sure how it’s configured to look for C libraries for cffi or how I should tell it where to look.

https://github.com/lispgames/cl-sdl2/issues/154#issuecomment...

Re:The Embeddable Common Lisp [pdf] by i_don_t_know on Saturday June 10, 2023 @04:52PM (#36274990)
Try pointing one of the environment variables mentioned here to your installation of SDL2 before launching ECL:

https://developer.apple.com/library/archive/documentation/De...

    LD_LIBRARY_PATH
    DYLD_LIBRARY_PATH
    DYLD_FALLBACK_LIBRARY_PATH
I don’t know if there’s a way to do that from within ECL.
Re:The Embeddable Common Lisp [pdf] by BaculumMeumEst on Saturday June 10, 2023 @06:57PM (#36276133)
Thank you! That got me past the error and on to the next one. :)