I am trying the sdl sample, using clisp-2.38 on windows xp, following the help.
After (asdf:operate 'asdf:load-op :lispbuilder-sdl-examples)
I got many warnings like this:
WARNING: EVAL: too few arguments given to FFI::FOREIGN-LIBRARY-FUNCTION:
(FFI::FOREIGN-LIBRARY-FUNCTION "SDL_getenv" (FFI::FOREIGN-LIBRARY :DEFAULT) NIL
(FFI:PARSE-C-TYPE
'(FFI:C-FUNCTION (:ARGUMENTS (#:G11186 FFI:C-POINTER)) (:RETURN-TYPE FFI:C-POINTER) (:LANGUAGE :STDC))))
after compiling, and the test shows:
[3]> (sdl-examples:recursive-rects)
*** - 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
How can I solve this problem?
I am a newbie lisper.
thanks
cg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What version of lispbuilder-sdl did you try? Version 0.8.0? If you synced from SVN then please try again. The API's have been in a state of flux for the past couple of weeks but have started to settle down now.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am trying the sdl sample, using clisp-2.38 on windows xp, following the help.
After (asdf:operate 'asdf:load-op :lispbuilder-sdl-examples)
I got many warnings like this:
WARNING: EVAL: too few arguments given to FFI::FOREIGN-LIBRARY-FUNCTION:
(FFI::FOREIGN-LIBRARY-FUNCTION "SDL_getenv" (FFI::FOREIGN-LIBRARY :DEFAULT) NIL
(FFI:PARSE-C-TYPE
'(FFI:C-FUNCTION (:ARGUMENTS (#:G11186 FFI:C-POINTER)) (:RETURN-TYPE FFI:C-POINTER) (:LANGUAGE :STDC))))
after compiling, and the test shows:
[3]> (sdl-examples:recursive-rects)
*** - 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
How can I solve this problem?
I am a newbie lisper.
thanks
cg
What version of lispbuilder-sdl did you try? Version 0.8.0? If you synced from SVN then please try again. The API's have been in a state of flux for the past couple of weeks but have started to settle down now.
Thanks.