Cool guys - thanks, I'll try sdl at some point soon here, and if that doesn't work I'll try Patricks save-and-die.<br><br><div class="gmail_quote">On Tue, Jul 27, 2010 at 4:42 AM, Patrick Stein <span dir="ltr"><<a href="mailto:pat@nklein.com">pat@nklein.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div><br></div>With glut, I've had to (in the past) do this:<div><br></div><div>
<div>(defun save-and-die ()</div><div> (setf cl-glut::*glut-initialized-p* nil)</div><div> (sb-ext:save-lisp-and-die #P"roto-mortar"</div><div> :toplevel #'main</div><div> :executable t</div>
<div> :save-runtime-options t</div><div> :purify t))</div><div><br></div><div>unset *glut-initialized-p* before saving. I believe I still need to do this to get the resulting binary to run, but I have never had to do it to get the binary to save.</div>
<div><br></div><div>ttyl,</div><div>Patrick</div><div><div></div><div class="h5"><div><br></div><div><br></div><div><div>On Jul 27, 2010, at 12:45 AM, Elliott Slaughter wrote:</div><br><blockquote type="cite">Hi,<div><br>
</div><div>I've been building binaries on Mac OS X using sbcl for quite a while now, and I've never seen that error. I've been using the standard cl-opengl bindings from <a href="http://common-lisp.net/project/cl-opengl/" target="_blank">http://common-lisp.net/project/cl-opengl/</a> and many different sbcl versions (most recently 1.0.34 32-bit). I just upgraded from OS X 10.5 to 10.6 and it had no effect on my builds. I've been using lispbuilder-sdl rather than glut, and it's been working fine.</div>
<div><br></div><div>The only things that I can think of that might be causing this (1) using a modifed version of cl-opengl, (2) glut rather than sdl, (3) 64-bit rather than 32-bit sbcl, (4) a different version of sbcl.</div>
<div><br></div><div>I suppose you could try to build a binary for one of the lispbuilder-sdl examples. If that fails the same way, then sbcl or your build script might be at fault. Otherwise, it's probably cl-opengl or glut.</div>
<div><br></div><div>Hope that helps.<br><br><div class="gmail_quote">On Mon, Jul 26, 2010 at 1:18 PM, Schell Scivally <span dir="ltr"><<a href="mailto:efsubenovex@gmail.com" target="_blank">efsubenovex@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">You got it right, I'm on a Macbook 2.16 GHz Intel Core 2 Duo, OS X 10.6 - I'm using cl-opengl, and more specifically, I'm using these native bindings: <a href="http://www.esden.net/blog/2007/12/31/cl-opengl-thomas-mac-os-x-bindings-with-native-glutframework/" target="_blank">http://www.esden.net/blog/2007/12/31/cl-opengl-thomas-mac-os-x-bindings-with-native-glutframework/</a> and I load opengl with the following:<div>
<br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>(require 'asdf)</div></div><div><div>(require 'asdf-install)</div></div><div><div>(asdf:load-system :cl-opengl) ; load OpenGL bindings</div>
</div><div><div>(asdf:load-system :cl-glu) ; load GLU bindings</div></div><div><div>(asdf:load-system :cl-glut)<span style="white-space:pre-wrap"> </span>; load GLUT bindings</div></div></blockquote>
<div><div><br></div><div>On another (possibly unrelated note) I'm having a lot of trouble running the code from one of my friends games. I'm using sbcl and he's using clisp. My repl and compiler complain about undefined functions (not opengl funcs, just userland ones). I'd like to get the process of compiling binary deliverables to avoid some of this confusion, but the documentation is a little scarce, or I'm just clicking on the wrong search results. Thanks for your help guys.<div>
<div></div><div><br>
<br><div class="gmail_quote">On Mon, Jul 26, 2010 at 7:08 AM, Alastair Bridgewater <span dir="ltr"><<a href="mailto:alastair.bridgewater@gmail.com" target="_blank">alastair.bridgewater@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
<div>On Mon, Jul 26, 2010 at 4:28 AM, Shawn Betts <<a href="mailto:sabetts@gmail.com" target="_blank">sabetts@gmail.com</a>> wrote:<br>
>> It's a little cryptic (since I don't know what's at 0x003f1be0) and there<br>
>> aren't a lot of leads on google. Does anyone have a quick idea of what I<br>
>> might need to do to compile this binary? Thanks guys.<br>
><br>
> Seems like you're doing things correctly. What OS and cpu are you doing this on?<br>
<br>
</div>Judging by the actual messages, that would be either darwin or solaris<br>
x86-64 or solaris x86.<br>
<br>
(Only darwin and solaris use lutexes, only x86oids have released<br>
threading support, and from there it was a matter of matching up the<br>
read-only-space and static-space assignments.)<br>
<br>
Unfortunately, while I remember having heard about or seeing this sort<br>
of bug before, the where, why, and fix escape me.<br>
<font color="#888888"><br>
-- Alastair Bridgewater<br>
</font><div><div></div><div><br>
_______________________________________________<br>
lisp-game-dev mailing list<br>
<a href="mailto:lisp-game-dev@common-lisp.net" target="_blank">lisp-game-dev@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/lisp-game-dev" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/lisp-game-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><div>-- <br>Schell Scivally<br><a href="mailto:schell@efnx.com" target="_blank">schell@efnx.com</a> (<a href="mailto:efsubenovex@gmail.com" target="_blank">efsubenovex@gmail.com</a>)<br>
<a href="http://blog.efnx.com/" target="_blank">http://blog.efnx.com</a><br>
<a href="http://github.com/efnx" target="_blank">http://github.com/efnx</a><br>
</div></div></div>
<br>_______________________________________________<br>
lisp-game-dev mailing list<br>
<a href="mailto:lisp-game-dev@common-lisp.net" target="_blank">lisp-game-dev@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/lisp-game-dev" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/lisp-game-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Elliott Slaughter<br><br>"Don't worry about what anybody else is going to do. The best way to predict the future is to invent it." - Alan Kay<br>
</div>
_______________________________________________<br>lisp-game-dev mailing list<br><a href="mailto:lisp-game-dev@common-lisp.net" target="_blank">lisp-game-dev@common-lisp.net</a><br><a href="http://common-lisp.net/cgi-bin/mailman/listinfo/lisp-game-dev" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/lisp-game-dev</a><br>
</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
lisp-game-dev mailing list<br>
<a href="mailto:lisp-game-dev@common-lisp.net">lisp-game-dev@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/lisp-game-dev" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/lisp-game-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Schell Scivally<br><a href="mailto:schell@efnx.com">schell@efnx.com</a> (<a href="mailto:efsubenovex@gmail.com">efsubenovex@gmail.com</a>)<br><a href="http://blog.efnx.com">http://blog.efnx.com</a><br>
<a href="http://github.com/efnx">http://github.com/efnx</a><br>