我总是收到一个sdl2.dll找不到的错误。我试图在安装lispbuilder-sdl之前安装cffi,并且cffi安装成功,但sdl总是失败,出现这样的错误,任何人都可以帮忙吗?如何在Windows 10中安装lisp sdl(无法加载外部库(LIBSDL2)。打开共享对象“SDL2.dll”时出错:)
[package json]....................................
[package json-rpc]................................
[package cl-ppcre]................................
..................................................
[package autowrap]................................
[package autowrap.minimal]........................
..................................................
[package plus-c]..................................
[package bordeaux-threads]........................
[package com.metabang.trivial-timeout]............
[package trivial-channels.queue]..................
[package trivial-channels]........................
[package sdl2-ffi]................................
[package sdl2-ffi.accessors]......................
[package sdl2-ffi.functions]......................
[package sdl2]....................................
[package sdl2-examples]
debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR in thread
#<THREAD "main thread" RUNNING {10029A49E3}>:
Unable to load foreign library (LIBSDL2).
Error opening shared object "SDL2.dll":
The specified module could not be found.
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 library and try loading it again
3: [RETRY ] Retry
loading FASL for #<CL-SOURCE-FILE "sdl2" "library">.
4: [ACCEPT ] Continue, treating
loading FASL for #<CL-SOURCE-FILE "sdl2" "library">
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 "sdl2"
8: Exit debugger, returning to top level.
相关:http://stackoverflow.com/q/22213133/124319 – coredump
我没有使用cygwin。没有它我怎么能这样做? –
你的“sdl2.dll”位于哪里?我只是总是把它放在我从中加载文件的本地目录中,而且似乎找到了。 –