Hi Tomi,<br><br>Thanks for hints. After I loaded cocoahelper I was able to run all pal examples on mac os x (SBCL). Sound and graphics work just fine. But there are some issues: the input from mouse and keyboard don't work at all. I will try to fix it if I can.
<br><br>screenshots:<br><br><a href="http://img141.imageshack.us/img141/4471/harespalsl1.png">http://img141.imageshack.us/img141/4471/harespalsl1.png</a><br><a href="http://img402.imageshack.us/img402/9707/teddypalkz3.png">
http://img402.imageshack.us/img402/9707/teddypalkz3.png</a><br><br><div class="gmail_quote">On Nov 6, 2007 8:23 PM, Tomi Neste <<a href="mailto:flatlander@yellow-hut.com" target="_blank">flatlander@yellow-hut.com</a>> wrote:
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Tomi Neste <<a href="mailto:flatlander@yellow-hut.com" target="_blank">flatlander@yellow-hut.com</a>> kirjoitti Tue, 06 Nov 2007 14:46:13<br>+0200:<br><div><div></div><div><br>> Kamil Shakirov <<a href="mailto:kamils80@gmail.com" target="_blank">

kamils80@gmail.com</a>> kirjoitti Tue, 06 Nov 2007 13:55:56<br>> +0200:<br>><br>>> Hi Tomi,<br>>><br>>> Recently I moved to MBP3 and Mac OS X (upgraded to Leopard). First I<br>>> wanted to port all my lisp libs/tools to the new OS. So far I can run
<br>>> cl-opengl (thomas branch) using lispbuilder-sdl backend for window<br>>> management. Now I am trying to run PAL, still no success. After<br>>> applying a small patch (attached) that loads SDL (from SDL offsite)
<br>>> and OpenGL libraries I was able to compile and load PAL library<br>>> without any errors but constantly get the same errors and SBCL crashes<br>>> when trying to run examples. Here is my log:<br>
>
<br>> Hmm, this one is a bit tricky since I don't (yet) have an OSX myself.<br>>  From what I have a read the issues about SDL & CL are caused by OSX<br>> driving the SDL window in different thread than Lisp and I think
<br>> Lispbuilder-SDL has some magic to overcome the problems.<br>> A quick fix would be using LB-SDL for setting up the gl context and<br>> possibly handling the ui events. Naturally that would need some<br>> knowledge of the pal internals. If you are interested in trying that,
<br>> replacing the PAL:OPEN-PAL and possibly PAL:UPDATE and PAL:HANDLE-EVENT<br>> with equivalent SB-SDL code might work.<br>> In the long run it would of course be best to have some real fix for<br>> this. I'll do some searching and probably the least I can do is come up
<br>> with an easy way to use PAL on top of LB-SDL.<br>><br>> Anyway, thanks for reporting. I'm very interested in getting PAL working<br>> on Mac.<br>><br>><br><br></div></div>One thing that might work is loading the cocoa helper library from
<br>lispbuilder-sdl, see <a href="http://lispbuilder.sourceforge.net/#macosx" target="_blank">http://lispbuilder.sourceforge.net/#macosx</a>, before<br>opening any pal windows.<br><font color="#888888"><br><br><br>--<br>
tomppa
<br></font></blockquote></div><br><br clear="all"><br>-- <br>Cheers,<br>  Kamil.