[ab] Help with standalone exe with Clisp + lispbuilder-SDL
Anthony Fairchild
anthonyf at blarg.net
Sun Nov 19 21:02:28 CST 2006
I'm trying to build one of the SDL samples as a standalone exe using
Clisp on Windows. I can get a standalone "Hello World" app to work
fine and I can also get the SDL samples to run.
I'm using Clisp 2.41, CFFI 061116, lispbuilder-SDL 0.8.0.
Here are my steps:
Run Clisp -K full (I'm actually doing this from within SLIME)
CL-USER> (asdf:operate 'asdf:load-op :lispbuilder-sdl-examples)
0 errors, 0 warnings
NIL
CL-USER> (sdl-examples:squashed)
NIL
;;; Note that squashed runs fine here. I exit the example app and go
back to the REPL
CL-USER> (ext:saveinitmem "C:\\appz\\squashed\\squashed.exe"
:init-function #'(lambda ()
(sdl-examples:squashed)(quit))
:NORC t
:script t
:executable t
:quiet t)
3583888
895972
Then I copy C:\clisp-2.41\full\*.dll into my C:\appz\squashed\
directory. I also copied the sdl.dll to the same location.
When I execute squashed.exe I get this error:
*** - WRITE-CHAR on
#<CLOSED IO UNBUFFERED SOCKET-STREAM |CHARACTER| 0.0.0.0:D09>
is illegal
Break 1 [1]>
So what am I missing? Any ideas?
Thanks in advance,
AnthonyF
More information about the application-builder
mailing list