[lisp-game-dev] Compiling and saving a binary

Schell Scivally efsubenovex at gmail.com
Sun Jul 25 20:29:48 UTC 2010


Hi guys - my expo game is coming along nicely, but I'd like to compile a
binary. In my main.lisp file the code that starts everything looks like
this:

; above is a bunch of opengl functions for the game


(defun main ()
 (glut:display-window (make-instance 'my-window)))


Then, in another file, build.lisp I have:

(load "main.lisp");

(sb-ext:save-lisp-and-die "bourtange" :executable t :toplevel 'main)


When I run my build script the error I get is this:

[undoing binding stack and other enclosing state... done]
[saving current Lisp image into bourtange:
scanning space for lutexes...
writing 6416 bytes from the read-only space at 0x20000000
scanning space for lutexes...
writing 8032 bytes from the static space at 0x20100000
scanning space for lutexes...
fatal error encountered in SBCL pid 19099(tid 140735077362720):
no size function for object at 0x003f1be0 (widetag 0xe0)


It's a little cryptic (since I don't know what's at 0x003f1be0) and there
aren't a lot of leads on google. Does anyone have a quick idea of what I
might need to do to compile this binary? Thanks guys.

-- 
Schell Scivally
schell at efnx.com (efsubenovex at gmail.com)
http://blog.efnx.com
http://github.com/efnx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/lisp-game-dev/attachments/20100725/7781cac1/attachment.html>


More information about the Lisp-game-dev mailing list