[ab] Help with standalone exe with Clisp + lispbuilder-SDL
Luke Crook
luke at balooga.com
Mon Nov 20 14:13:27 CST 2006
Luke J Crook <luke at ...> writes:
>
> The .exe can't find the SDL library. I'll try to create an executable
> later today and see if I can get it to work. Are you using XP or Vista?
>
> - Luke
>
I think the problem is similar to the previous 'socket open' issue. The state
of the Lisp image that is dumped and converted to an executable expects that
the SDL library is already loaded. When the executable is run the Lisp image in
the executable expects that the SDL library is already loaded.
Try putting the following just prior to calling SDL:WITH-INIT ()
E.g.
(defun squashed ()
"Squashed: main entry function"
(cffi:use-foreign-library sdl)
(sdl:with-init ()
...))
More information about the application-builder
mailing list