cbaggers / cepl.examples

Some examples for the CEPL library
GNU General Public License v3.0
44 stars 14 forks source link

System "cepl.examples" not found #20

Closed hww closed 1 year ago

hww commented 1 year ago

Can't load cepl.examples

CL-USER> (ql:quickload "cepl.examples")
; Debugger entered on #<QUICKLISP-CLIENT:SYSTEM-NOT-FOUND {1003F3C2B3}>
[1] CL-USER> 
System "cepl.examples" not found
   [Condition of type QUICKLISP-CLIENT:SYSTEM-NOT-FOUND]

Restarts:
 0: [CONTINUE] Try again
 1: [ABORT] Give up on "cepl.examples"
 2: [REGISTER-LOCAL-PROJECTS] Register local projects and try again.
 3: [RETRY] Retry SLY mREPL evaluation request.
 4: [*ABORT] Return to SLY's top level.
 5: [ABORT] abort thread (#<THREAD "sly-channel-1-mrepl-remote-1" RUNNING {1003EA4BE3}>)

Backtrace:
 0: ((LABELS QUICKLISP-CLIENT::RECURSE :IN QUICKLISP-CLIENT::COMPUTE-LOAD-STRATEGY) "cepl.examples")
 1: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<FUNCTION (LAMBDA NIL :IN QUICKLISP-CLIENT::COMPUTE-LOAD-STRATEGY) {1003F2749B}>)
 2: (QUICKLISP-CLIENT::COMPUTE-LOAD-STRATEGY "cepl.examples")
 3: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "cepl.examples" :PROMPT NIL)
 4: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T)) #<unused argument> #<FUNCTION (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {1003F2729B}>) [fast-method]
 5: ((:METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND (QL-IMPL:SBCL T)) #<QL-IMPL:SBCL {1001A9DC53}> #<FUNCTION (FLET QUICKLISP-CLIENT::QL :IN QUICKLISP-CLIENT:QUICKLOAD) {1003F2729B}>) [fast-m..
 6: ((:METHOD QUICKLISP-CLIENT:QUICKLOAD (T)) "cepl.examples" :PROMPT NIL :SILENT NIL :VERBOSE NIL) [fast-method]
 7: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<FUNCTION (LAMBDA NIL :IN QUICKLISP-CLIENT:QUICKLOAD) {1003F22FCB}>)
 8: (SB-INT:SIMPLE-EVAL-IN-LEXENV (QUICKLISP-CLIENT:QUICKLOAD "cepl.examples") #<NULL-LEXENV>)
 9: (EVAL (QUICKLISP-CLIENT:QUICKLOAD "cepl.examples"))
10: ((LAMBDA NIL :IN SLYNK-MREPL::MREPL-EVAL-1))
11: (SLYNK::CALL-WITH-RETRY-RESTART "Retry SLY mREPL evaluation request." #<FUNCTION (LAMBDA NIL :IN SLYNK-MREPL::MREPL-EVAL-1) {1003F2252B}>)
12: ((LAMBDA NIL :IN SLYNK-MREPL::MREPL-EVAL-1))
13: ((LAMBDA NIL :IN SLYNK::CALL-WITH-LISTENER))
14: (SLYNK::CALL-WITH-BINDINGS ((*PACKAGE* . #<PACKAGE "COMMON-LISP-USER">) (*DEFAULT-PATHNAME-DEFAULTS* . #P"/home/valery/") (*) (**) (***) (/) ...) #<FUNCTION (LAMBDA NIL :IN SLYNK::CALL-WITH-LISTENER) ..
15: (SLYNK-MREPL::MREPL-EVAL-1 #<SLYNK-MREPL::MREPL mrepl-1-1> "(ql:quickload \"cepl.examples\")")
16: (SLYNK-MREPL::MREPL-EVAL #<SLYNK-MREPL::MREPL mrepl-1-1> "(ql:quickload \"cepl.examples\")")
17: (SLYNK:PROCESS-REQUESTS NIL)
18: ((LAMBDA NIL :IN SLYNK::SPAWN-CHANNEL-THREAD))
19: ((LAMBDA NIL :IN SLYNK::SPAWN-CHANNEL-THREAD))
20: (SLYNK-SBCL::CALL-WITH-BREAK-HOOK #<FUNCTION SLYNK:SLYNK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA NIL :IN SLYNK::SPAWN-CHANNEL-THREAD) {1003D6FFCB}>)
21: ((FLET SLYNK-BACKEND:CALL-WITH-DEBUGGER-HOOK :IN "/home/valery/.emacs.d/.local/straight/repos/sly/slynk/backend/sbcl.lisp") #<FUNCTION SLYNK:SLYNK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA NIL :IN SLYNK::SPAW..
22: ((LAMBDA NIL :IN SLYNK::CALL-WITH-LISTENER))
23: (SLYNK::CALL-WITH-BINDINGS ((*PACKAGE* . #<PACKAGE "COMMON-LISP-USER">) (*DEFAULT-PATHNAME-DEFAULTS* . #P"/home/valery/") (*) (**) (***) (/) ...) #<FUNCTION (LAMBDA NIL :IN SLYNK::CALL-WITH-LISTENER) ..
24: ((LAMBDA NIL :IN SLYNK::SPAWN-CHANNEL-THREAD))
25: ((FLET SB-UNIX::BODY :IN SB-THREAD::RUN))
26: ((FLET "WITHOUT-INTERRUPTS-BODY-132" :IN SB-THREAD::RUN))
27: ((FLET SB-UNIX::BODY :IN SB-THREAD::RUN))
28: ((FLET "WITHOUT-INTERRUPTS-BODY-125" :IN SB-THREAD::RUN))
29: (SB-THREAD::RUN)
30: ("foreign function: call_into_lisp_")
hww commented 1 year ago

Oh. I see. I have to clone in to ~/quicklisp/local_projects/

Would be nice to update readme.md

hww commented 1 year ago

Found other issue, modern Arch Linux has Assimp 5.2 it is incompatible with this library

[package %open-asset-import-library].
; Debugger entered on #<SIMPLE-ERROR "trying to link against unsupported version of assimp. 3.0-5.0.x supported, got version ~a.~a" {1006CE6B03}>
metayan commented 1 year ago

Found some local tweaks that are now in https://github.com/metayan/classimp/tree/assimp5.2 Crude - haven't checked if there were any changes to assimp, and only increased the versions accepted by classimp - but it has worked for me.

hww commented 1 year ago

It works. Thanks!

cd ~/quicklisp/local_projects
git clone https://github.com/metayan/classimp.git
cd classimp 
git checkout assimp5.2
git pull
# delete old
rm -rf  ~/quicklisp/dists/quicklisp/software/classimp*