On 11/21/06, Anthony Fairchild <[EMAIL PROTECTED]> wrote:
> Here's the promised HOWTO. Questions/comments welcome. Please let me
> know if you have success or problems getting these steps to work.
>
> Anthony
I'm going to try it on my machine. I started off wasting some time
trying to get the cygwin build clisp to work ;-) oops. I've downloaded
the latest windows clisp with readline, and the latest cffi you
recommended.
I have a problem running the examples... when loaded lispbuilder I
get a bunch of warnings like
WARNING: EVAL: too few arguments given to FFI::FOREIGN-LIBRARY-FUNCTION:
(FFI::FOREIGN-LIBRARY-FUNCTION "SDL_VideoDriverName"
(FFI::FOREIGN-LIBRARY :DEFAULT) NIL
(FFI:PARSE-C-TYPE
'(FFI:C-FUNCTION (:ARGUMENTS (#:G10016 FFI:C-POINTER) (#:G10017
FFI:INT))
(:RETURN-TYPE FFI:C-POINTER) (:LANGUAGE :STDC))))
WARNING: EVAL: too few arguments given to FFI::FOREIGN-LIBRARY-FUNCTION:
(FFI::FOREIGN-LIBRARY-FUNCTION "SDL_SetClipRect"
(FFI::FOREIGN-LIBRARY :DEFAULT) NIL
(FFI:PARSE-C-TYPE
'(FFI:C-FUNCTION
(:ARGUMENTS (#:G10032 FFI:C-POINTER) (#:G10033 FFI:C-POINTER))
(:RETURN-TYPE NIL) (:LANGUAGE :STDC))))
WARNING: EVAL: too few arguments given to FFI::FOREIGN-LIBRARY-FUNCTION:
(FFI::FOREIGN-LIBRARY-FUNCTION "SDL_GetClipRect"
(FFI::FOREIGN-LIBRARY :DEFAULT) NIL
(FFI:PARSE-C-TYPE
'(FFI:C-FUNCTION
(:ARGUMENTS (#:G10048 FFI:C-POINTER) (#:G10049 FFI:C-POINTER))
(:RETURN-TYPE NIL) (:LANGUAGE :STDC))))
and when I run I get
sdl\examples\squashed\squashed.fas ...
;; Loaded file C:\Documents and Settings\jheyes\lispbuilder\trunk\lispbuilder-s
dl\examples\squashed\squashed.fas
0 errors, 0 warnings
;; Loaded file cffisdl\setup.lisp
T
[2]> (lispbuilder-sdl-examples:mandelbrot )
*** - FUNCALL: undefined function NIL
The following restarts are available:
USE-VALUE :R1 You may input a value to be used instead of (FDEFINITION
'NIL).
RETRY :R2 Retry
STORE-VALUE :R3 You may input a new value for (FDEFINITION 'NIL).
ABORT :R4 ABORT
Break 1 [3]>
Not sure what's going on there. The same setup is working with
lispworks right now.
Justin
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder