我正在尝试使用sbcl amd64为windows加载库cl-glfw3。但我得到的只是一条缺少dll的消息。 libffi-6.dll和glfw3.dll与lisp程序位于同一文件夹中。
* (ql:quickload "cl-glfw3")
To load "cl-glfw3":
Load 1 ASDF system:
cl-glfw3
; Loading "cl-glfw3"
...........
debugger invoked on a LOAD-FOREIGN-LIBRARY-ERROR in thread
#<THREAD "main thread" RUNNING {10030E7443}>:
Unable to load any of the alternatives:
("libffi-6.dll" "libffi-5.dll" "libffi.dll")
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY ] Try loading the foreign library again.
1: [USE-VALUE ] Use another library instead.
2: [TRY-RECOMPILING ] Recompile init and try loading it again
3: [RETRY ] Retry
loading FASL for #<CL-SOURCE-FILE "cffi-libffi" "libffi" "init">.
4: [ACCEPT ] Continue, treating
loading FASL for #<CL-SOURCE-FILE "cffi-libffi" "libffi" "init">
as having been successful.
5: Retry ASDF operation.
6: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
configuration.
7: [ABORT ] Give up on "cl-glfw3"
8: Exit debugger, returning to top level.
(FL-ERROR "Unable to load any of the alternatives:~% ~S" ("libffi-6.dll" "libffi-5.dll" "libffi.dll"))
将文件复制到Windows文件夹无效。
在linux上它运行正常。