[tpm] February Meeting

Kartik Thakore thakore.kartik at gmail.com
Mon Feb 22 18:09:17 PST 2010


Did the game run? Where you able to play it?

On Mon, Feb 22, 2010 at 8:56 PM, Stuart Watt <stuart at morungos.com> wrote:

> OK, I installed SDL (I'm still using a local user Perl) and built the
> bundle, ran it, and got the following:
>
> Macintosh:kthakore-SDL_perl-7d36625 stuart$
> SDLPerl.app/Contents/MacOS/SDLPerl
> /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/
> shooter.pl
> ARGC 2
> ARGV[0] SDLPerl.app/Contents/MacOS/SDLPerl
> ARGV[1]
> /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/
> shooter.pl
> [main] SCRIPT:
> /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/
> shooter.pl
> Application will finish launching
> Done with menu
> openFile
> /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/
> shooter.pl
> Setting directory: true
> Setup working directory ? TruePATH:
> /Users/stuart/kthakore-SDL_perl-7d36625/SDLPerl.app
> launchgin perl
> Launching script:
> /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/
> shooter.pl
> LIBPATH:
> /Users/stuart/kthakore-SDL_perl-7d36625/SDLPerl.app/Contents/Resources/lib/darwin-multi-2level
> Running perl
> Use of inherited AUTOLOAD for non-method
> SDL::GFX::Primitives::filled_circle_color() is deprecated at
> /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/
> shooter.pl line 319.
> Can't locate auto/SDL/GFX/Primitives/filled_circ.al 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/
> shooter.pl line 319
> Destructing  perl
> Freeing perl
> Quiting perl script:
> /Users/stuart/Downloads/gist301949-fecf81caf307e110536f4493c9f19a256a6c6728/
> shooter.pl
> Application did  finish launching
> Quitting Event
> Terminating NSApp
> 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
> Macintosh:kthakore-SDL_perl-7d36625 stuart$
>
>
> All the best
> Stuart
>
> On 2010-02-22, at 8:23 PM, Kartik Thakore wrote:
>
> Stuart,
>
> You need to do
>
> env ARCHFLAGS="-arch x86_64" ./Build bundle
>
> SDLPerl.app/Contents/MacOS/SDLPerl `pwd`/shooter.pl
>
>
> where shooter.pl is http://gist.github.com/301949
>
> see this
> http://blogs.perl.org/users/brian_d_foy/2010/02/i-almost-have-sdl-perl-working-on-snow-leopard.html
>
> SDL_perl built properly but MacOSX prevents gui access with out some xcode.
> So we have to use Build bundle.
>
> Good luck!
>
>
>
>
>
> On Mon, Feb 22, 2010 at 8:14 PM, Stuart Watt <stuart at morungos.com> wrote:
>
>> 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.
>>
>> 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.
>>
>> 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.
>>
>> So I tried Option 2 for Alien-SDL, and then that wouldn't test either -
>> report attached.
>>
>> 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.
>>
>> All the best
>> Stuart
>>
>>
>>
>> On 2010-02-22, at 6:12 PM, Kartik Thakore wrote:
>>
>> Hi Stuart,
>>
>> We have updated SDL perl for 64 bit and Mac OSX building. Please try the
>> git hub tarballs.
>>
>> http://github.com/kthakore/Alien_SDL/tarball/master
>>
>> http://github.com/kthakore/SDL_perl/tarball/redesign
>>
>> Please let me know how it went.
>>
>> Kartik Thakore
>>
>>
>>
>> On Mon, Feb 22, 2010 at 10:01 AM, Mike Stok <mike at stok.ca> wrote:
>>
>>>
>>> On Feb 22, 2010, at 9:38 AM, Stuart Watt wrote:
>>>
>>> > Mike Stok wrote:
>>> >> 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.
>>> > Which Ubuntu? Then I'll install that and have that ready.
>>>
>>> I'm using Ubuntu 9.10 on VirtualBox 3.1.4
>>>
>>> >
>>> > 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.
>>>
>>> :-)
>>>
>>> Mike
>>>
>>> >
>>> > All the best
>>> > Stuart
>>>
>>> --
>>>
>>> Mike Stok <mike at stok.ca>
>>> http://www.stok.ca/~mike/ <http://www.stok.ca/%7Emike/>
>>>
>>> The "`Stok' disclaimers" apply.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> toronto-pm mailing list
>>> toronto-pm at pm.org
>>> http://mail.pm.org/mailman/listinfo/toronto-pm
>>>
>>
>>
>>
>>
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20100222/c7ce7ddf/attachment-0001.html>


More information about the toronto-pm mailing list