Hello,
I'm working on a game to learn lisp, and i just tried installing listbuilder-sdl, following the instructions from:
http://code.google.com/p/lispbuilder/wiki/WindowsSBCL
However, when I start SBCL and it starts scanning and running the sdl stuff, I get the following error:
(CFFI::FL-ERROR
"Unable to load foreign library (~A).~% ~A"
SDL
"Error opening shared object \"C:\\\\Program Files\\\\Steel Bank Common Lisp\\\\1.0.53.0.mswinmt.1028-0bfe91b\\\\site\\\\lispbuilder-sdl\\\\bin\\\\SDL.dll\": 193.")
and when I choose the option to recompile, I get the same error.
I'm on windows 7, using SBCL v1.0.533.0.
Does anyone have an idea?
Thank you in advance,
Gwenael.
On Fri, Jun 22, 2012 at 2:22 AM, Gwenael Tranvouez <gtran...@gmail.com> wrote:Hello,
I'm working on a game to learn lisp, and i just tried installing listbuilder-sdl, following the instructions from:
http://code.google.com/p/lispbuilder/wiki/WindowsSBCL
If you got your copy of lispbuilder-sdl from the download page like this guide suggests (http://code.google.com/p/lispbuilder/downloads/list), I would *highly* recommend using Quicklisp instead (http://www.quicklisp.org/). The version on the downloads page is old and could quite possibly have bugs.
However, when I start SBCL and it starts scanning and running the sdl stuff, I get the following error:
(CFFI::FL-ERROR
"Unable to load foreign library (~A).~% ~A"
SDL
"Error opening shared object \"C:\\\\Program Files\\\\Steel Bank Common Lisp\\\\1.0.53.0.mswinmt.1028-0bfe91b\\\\site\\\\lispbuilder-sdl\\\\bin\\\\SDL.dll\": 193.")
and when I choose the option to recompile, I get the same error.
I'm on windows 7, using SBCL v1.0.533.0.
Where did you get your copies of SBCL and SDL from? I'm assuming this is the vanilla SBCL, in which case you'll need to make sure you have a 32-bit copy of SDL. You can check that SBCL is 32-bit by opening the REPL and typing
*features*
which usually produces a list like the following (on a 32-bit Linux)
(:X86 :UNIX :ELF :LINUX ....)
If you're sure SBCL and SDL are both 32-bit, then you could ask the CFFI list what error 193 means, because I don't honestly have a clue. You could also check your downloads to make sure they weren't corrupted, if you haven't already done that.
Does anyone have an idea?
Thank you in advance,
Gwenael.
--
Elliott Slaughter
"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay
And here's a link to the CFFI mailing list, in case you need it:
http://www.common-lisp.net/mailman/listinfo/cffi-devel