sucle
sucle copied to clipboard
Error "Symbol "DEFCALLBACK" not found in the CLAW package"
Unable to load Sucle with the latest quicklisp dists:
…
[package claw-utils]..............................
[package glfw]....................................
[package window]..
;
; caught ERROR:
; READ error during COMPILE-FILE:
;
; Symbol "DEFCALLBACK" not found in the CLAW package.
;
; Line: 377, Column: 20, File-Position: 9755
;
; Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /Users/art/projects/lisp/sucle/src/window/glfw3.lisp" {100548B903}>
; Debugger entered on #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {1002AC3463}>
;
; compilation unit aborted
; caught 2 fatal ERROR conditions
; caught 1 ERROR condition
[1] CL-USER>
; Evaluation aborted on #<UIOP/LISP-BUILD:COMPILE-FILE-ERROR {1002AC3463}>
CL-USER> (ql:where-is-system :claw)
#P"/Users/art/.roswell/lisp/quicklisp/dists/org.borodust.bodge/software/claw-20191116131925/"
CL-USER> (ql-dist:all-dists)
(#<QL-DIST:DIST org.borodust.bodge 20191116132028>
#<QL-DIST:DIST quicklisp 2019-12-27> #<QL-DIST:DIST ultralisp 20200129120504>)
Yeah, same happens to me.
same here
Whoops, I was using a different version of quicklisp, org.borodust.bodge, and ultralisp.
CL-USER> (ql:where-is-system :claw)
#P"/home/imac/quicklisp/dists/ultralisp/software/borodust-claw-20190319094617/"
CL-USER> (ql-dist:all-dists)
(#<QL-DIST:DIST org.borodust.bodge 20180808145520>
#<QL-DIST:DIST quicklisp 2019-12-27> #<QL-DIST:DIST ultralisp 20190417075502>)
CL-USER>
Upon loading the new libraries there was a conflict between the new cl-json
and an old version of cl-json
found here: https://github.com/kennytilton/qooxlisp/tree/master/cl-json_0.4.0 , so I had to remove ultralisp.
Now I can reproduce the error:
; caught ERROR:
; READ error during COMPILE-FILE:
;
; Symbol "DEFCALLBACK" not found in the CLAW package.
;
; Line: 393, Column: 20, File-Position: 10436
;
; Stream: #<SB-INT:FORM-TRACKING-STREAM for "file /home/imac/quicklisp/local-projects/symmetrical-umbrella/src/window/glfw3.lisp" {1005A307C3}>
; compilation aborted after 0:00:00.143
Now there is a collision between base64 from claw/wrapper and cl-base64
After switching libraries from cl-base64 -> base64
, changing claw:defcallback
to cffi:defcallback
, updating all dists with (ql:update-all-dists)
, and removing ultralisp in order to use cl-json
, it seems to run.