<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">No joy - it exited immediately.<div><br></div><div>I did manage to get the old API version working OK, bundle and all.&nbsp;</div><div><br></div><div>--S</div><div><br><div><div>On 2010-02-22, at 9:09 PM, Kartik Thakore wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Did the game run? Where you able to play it?<br><br><div class="gmail_quote">On Mon, Feb 22, 2010 at 8:56 PM, Stuart Watt <span dir="ltr">&lt;<a href="mailto:stuart@morungos.com">stuart@morungos.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div>OK, I installed SDL (I'm still using a local user Perl) and built the bundle, ran it, and got the following:</div>
<div><br></div><div><blockquote type="cite"><div><font color="#000000">Macintosh:kthakore-SDL_perl-7d36625 stuart$ SDLPerl.app/Contents/MacOS/SDLPerl /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/<a href="http://shooter.pl/" target="_blank">shooter.pl</a>&nbsp;</font></div>
<div><font color="#000000">ARGC 2&nbsp;</font></div><div><font color="#000000">ARGV[0] SDLPerl.app/Contents/MacOS/SDLPerl</font></div><div><font color="#000000">ARGV[1] /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/<a href="http://shooter.pl/" target="_blank">shooter.pl</a></font></div>
<div><font color="#000000">[main] SCRIPT: /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/<a href="http://shooter.pl/" target="_blank">shooter.pl</a></font></div><div><font color="#000000">Application will finish launching</font></div>
<div><font color="#000000">Done with menu</font></div><div><font color="#000000">openFile /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/<a href="http://shooter.pl/" target="_blank">shooter.pl</a></font></div>
<div><font color="#000000">Setting directory: true</font></div><div><font color="#000000">Setup working directory ? TruePATH: /Users/stuart/kthakore-SDL_perl-7d36625/SDLPerl.app</font></div><div><font color="#000000">launchgin perl</font></div>
<div><font color="#000000">Launching script: /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/<a href="http://shooter.pl/" target="_blank">shooter.pl</a></font></div><div><font color="#000000">LIBPATH: /Users/stuart/kthakore-SDL_perl-7d36625/SDLPerl.app/Contents/Resources/lib/darwin-multi-2level</font></div>
<div><font color="#000000">Running perl</font></div><div><font color="#000000">Use of inherited AUTOLOAD for non-method SDL::GFX::Primitives::filled_circle_color() is deprecated at /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/<a href="http://shooter.pl/" target="_blank">shooter.pl</a> line 319.</font></div>
<div><font color="#000000">Can't locate auto/SDL/GFX/Primitives/<a href="http://filled_circ.al/" target="_blank">filled_circ.al</a> in @INC (@INC contains: /Users/stuart/kthakore-SDL_perl-7d36625/SDLPerl.app/Contents/Resources/lib/darwin-multi-2level /Users/stuart/perl/lib/5.10.1/darwin-multi-2level /Users/stuart/perl/lib/5.10.1 /Users/stuart/perl/lib/site_perl/5.10.1/darwin-multi-2level /Users/stuart/perl/lib/site_perl/5.10.1 .) at /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/<a href="http://shooter.pl/" target="_blank">shooter.pl</a> line 319</font></div>
<div><font color="#000000">Destructing &nbsp;perl</font></div><div><font color="#000000">Freeing perl</font></div><div><font color="#000000">Quiting perl script: /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/<a href="http://shooter.pl/" target="_blank">shooter.pl</a></font></div>
<div><font color="#000000">Application did &nbsp;finish launching</font></div><div><font color="#000000">Quitting Event</font></div><div><font color="#000000">Terminating NSApp</font></div><div><font color="#000000">2010-02-22 20:54:57.093 SDLPerl[71767:903] *** __NSAutoreleaseNoPool(): Object 0x10066afa0 of class SDL_QuartzWindow autoreleased with no pool in place - just leaking</font></div>
<div><font color="#000000">Macintosh:kthakore-SDL_perl-7d36625 stuart$&nbsp;</font></div></blockquote><div><br></div><div>All the best</div><div>Stuart</div></div><div><div></div><div class="h5"><br><div><div>On 2010-02-22, at 8:23 PM, Kartik Thakore wrote:</div>
<br><blockquote type="cite">Stuart,<br><br>You need to do <br><br><pre><code><span></span><span>env ARCHFLAGS</span><span>=</span><span>"-arch x86_64"</span><span> </span><span>./</span><span>Build</span><span> bundle</span></code></pre>

<pre><code><span>SDLPerl</span><span>.</span><span>app</span><span>/</span><span>Contents</span><span>/</span><span>MacOS</span><span>/</span><span>SDLPerl</span><span> </span><span>`pwd`</span><span>/</span><span><a href="http://shooter.pl/" target="_blank">shooter.pl</a><br>

<br><br>where <a href="http://shooter.pl/" target="_blank">shooter.pl</a> is <a href="http://gist.github.com/301949" target="_blank">http://gist.github.com/301949</a></span><span></span></code><br></pre>
see this <a href="http://blogs.perl.org/users/brian_d_foy/2010/02/i-almost-have-sdl-perl-working-on-snow-leopard.html" target="_blank">http://blogs.perl.org/users/brian_d_foy/2010/02/i-almost-have-sdl-perl-working-on-snow-leopard.html</a><br>

<br>SDL_perl built properly but MacOSX prevents gui access with out some xcode. So we have to use Build bundle.<br><br>Good luck!<br><br><br><br><br><br><div class="gmail_quote">On Mon, Feb 22, 2010 at 8:14 PM, Stuart Watt <span dir="ltr">&lt;<a href="mailto:stuart@morungos.com" target="_blank">stuart@morungos.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div>Many thanks for your help, Kartik. And I'm happy to test this as much as I can. I've played a little with Ogre before, but I never knew Python half as well as Perl, so if I can use this I'll be much happier.&nbsp;</div>

<div><br></div><div>Alien-SDL worked fine initially, but that was with an incomplete SDL that I'd installed. I needed to install a couple of additional modules Params::Util and Digest::SHA1. I'd selected Option 1 to use that, and then Alien::SDL installed but did show a test error or several.</div>

<div><br></div><div>SDL_perl was another matter. After I'd followed the Option 1 install the tests failed, and failed noisily. These were similar errors to those I'd seen before.</div><div><br></div><div>So I tried Option 2 for Alien-SDL, and then that wouldn't test either - report attached.</div>

<div><br></div><div>Should I switch to the Apple Perl and try again? Or I could clean out SDL and start with a manual install of that based on the stuff that Alien-SDL downloaded? Any recommendations welcome.</div><div><br>

</div><div>All the best</div><div>Stuart</div><div><div></div><div><div><br></div><div><br></div><br><div><div>On 2010-02-22, at 6:12 PM, Kartik Thakore wrote:</div><br><blockquote type="cite">Hi Stuart,<br><br>
We have updated SDL perl for 64 bit and Mac OSX building. Please try the git hub tarballs.<br><br><a href="http://github.com/kthakore/Alien_SDL/tarball/master" target="_blank">http://github.com/kthakore/Alien_SDL/tarball/master</a><br>


<br><a href="http://github.com/kthakore/SDL_perl/tarball/redesign" target="_blank">http://github.com/kthakore/SDL_perl/tarball/redesign</a><br><br>Please let me know how it went.<br><br>Kartik Thakore<br><br><br><br><div class="gmail_quote">


On Mon, Feb 22, 2010 at 10:01 AM, Mike Stok <span dir="ltr">&lt;<a href="mailto:mike@stok.ca" target="_blank">mike@stok.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div><br>
On Feb 22, 2010, at 9:38 AM, Stuart Watt wrote:<br>
<br>
&gt; Mike Stok wrote:<br>
&gt;&gt; I have successfully built the new bindings one a VirtualBox ubuntu running as a guest on Snow Leopard, and it ran some code at a respectable frame rate.<br>
&gt; Which Ubuntu? Then I'll install that and have that ready.<br>
<br>
</div>I'm using Ubuntu 9.10 on VirtualBox 3.1.4<br>
<div><br>
&gt;<br>
&gt; Incidentally, SDL did work for me, up to the point of running the "pong" demo successfully. It may have helped that I was consistently using 64-bit architectures. Unfortunately, I still get a crash every time I exit an SDL run, and got my first ever grey screen kernel panic under Snow Leopard shortly afterwards.<br>



<br>
</div>:-)<br>
<br>
Mike<br>
<br>
&gt;<br>
&gt; All the best<br>
&gt; Stuart<br>
<div><br>
--<br>
<br>
Mike Stok &lt;<a href="mailto:mike@stok.ca" target="_blank">mike@stok.ca</a>&gt;<br>
<a href="http://www.stok.ca/%7Emike/" target="_blank">http://www.stok.ca/~mike/</a><br>
<br>
The "`Stok' disclaimers" apply.<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
</div><div><div></div><div>toronto-pm mailing list<br>
<a href="mailto:toronto-pm@pm.org" target="_blank">toronto-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/toronto-pm" target="_blank">http://mail.pm.org/mailman/listinfo/toronto-pm</a><br>
</div></div></blockquote></div><br>
</blockquote></div></div></div></div><br><div></div><br><div></div><br><div></div><br><div></div><br></blockquote></div><br>
</blockquote></div><br></div></div></div></blockquote></div><br>
</blockquote></div><br></div></body></html>