Re: Couldn't install LISPBUILDER-SDL

37 views
Skip to first unread message

Elliott Slaughter

unread,
Dec 31, 2013, 1:26:15 PM12/31/13
to moogle, lispb...@googlegroups.com
[cc: list]

I would use Quicklisp, which is now the defacto way of downloading Lisp libraries. So delete (or rename) your .sbclrc (you wouldn't want to keep using the old version by accident), and follow the instructions at:

http://www.quicklisp.org/beta/

Once you finish installing Quicklisp, then you can try:

(ql:quickload :lispbuilder-sdl-examples)
(sdl-examples:mandelbrot)

You'll still need to install the C libraries for SDL (SDL.dll, etc.). Those files are available from:

http://code.google.com/p/lispbuilder/downloads/detail?name=win32-lispbuilder-sdl-binaries-1.2.14.tgz
or
http://www.libsdl.org/

And you can put them either in the working directory where you're trying to run SBCL or in some sort of central place where the dll loader can find them.

Hope that helps.




On Fri, Dec 27, 2013 at 11:44 PM, moogle <willar...@gmail.com> wrote:
Hi, Elliotts:
      
      Thanks for your projest about lispbuilder-sdl.
       
      I am a newbie about emacs and SBCL. Follow your instructions, I download  the necessary files (CFFI, ALEXANDRIA, BABEL, TRIVIAL-FEATURES, and lispbuilder-sdl-0.9.8.1.tgz),
   This is my sbclrc file:
***************************************************************************
(require :asdf)
(dolist (dir (directory "c:/emacs/sbcl/"))
(pushnew dir asdf:*central-registry* :test #'equal))
***************************************************************************
After loading slime, I load LISPBUILDER-SDL,((asdf:operate 'asdf:load-op :lispbuilder-sdl))

Something error happened: 
***************************************************************************
 caught ERROR:
;   (during macroexpansion of (DEFINE-UCS :UCS-2LE ...))
;   #:~A-CODE-POINT-COUNTER fell through ETYPECASE expression.
;   Wanted one of (STRING SIMPLE-STRING).

; compiling (DEFINE-CHARACTER-ENCODING :UCS-2BE ...)
; compiling (DEFINE-UCS :UCS-2BE ...)

; file: C:/emacs/sbcl/site/babel/src/enc-unicode.lisp
; in: DEFINE-UCS :UCS-2BE
;     (BABEL-ENCODINGS::DEFINE-UCS :UCS-2BE 2 :BE 65536)
; caught ERROR:
;   (during macroexpansion of (DEFINE-UCS :UCS-2BE ...))
;   #:~A-CODE-POINT-COUNTER fell through ETYPECASE expression.
;   Wanted one of (STRING SIMPLE-STRING).

; C:/emacs/sbcl/site/babel/src/enc-unicode-ASDF-TMP.fasl written
; compilation finished in 0:00:00.328 
***************************************************************************
   I don't know why. Waiting for your help.
  Thanks!


                Moolge



--
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
Reply all
Reply to author
Forward
0 new messages