Menu

trouble with sdl sample

Help
count0
2006-12-20
2013-04-17
  • count0

    count0 - 2006-12-20

    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

     
    • Luke Crook

      Luke Crook - 2007-01-04

      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.

       

Log in to post a comment.