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

Compiling fails on M1 with sbcl #147

Closed
paines opened this issue Feb 14, 2022 · 2 comments
Closed

Compiling fails on M1 with sbcl #147

paines opened this issue Feb 14, 2022 · 2 comments

Comments

@paines
Copy link

paines commented Feb 14, 2022

So, I was trying to pull sketch via Quicklisp, which relies on SDL2 on an M1 Mac. There was an issue regarding c2ffi which I managed to fix by compiling it manually described in rpav/c2ffi#104

Now when trying to compile sketch it fails at

To load "sketch":
  Load 1 ASDF system:
    sketch
; Loading "sketch"
; 
; caught ERROR:
;   READ error during COMPILE-FILE:
;   
;     Symbol "+SDL-PIXELFORMAT-UNKNOWN+" not found in the SDL2-FFI package.
;   
;       Line: 4, Column: 69, File-Position: 106
;   
;       Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /Users/aneslihovac/quicklisp/dists/quicklisp/software/cl-sdl2-20211230-git/src/constants.lisp" {7009C700A3}>

I am unsure if the issue really is related to cl-sdl2, autowrap or c2ffi . If I am totally wrong here, please excuse my ignorance.

@iamFIREcracker
Copy link
Contributor

@paines - take a look at: #154 (comment)

I am going to try and get relevant changes merged upstream, so it would be possible to run Sketch on newer mac without fiddling with forks and whatnot.

@fitzsim
Copy link
Contributor

fitzsim commented Aug 8, 2024

This should be fixed by #167. Please reopen if it is not.

@fitzsim fitzsim closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants