0

我正在尝试使用 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上它工作正常。

4

0 回答 0