develooper Front page | perl.sdl.devel | Postings from July 2011

Re: smpeg source for SDL

Thread Previous | Thread Next
From:
email
Date:
July 21, 2011 07:21
Subject:
Re: smpeg source for SDL
Message ID:
20110721162127.99x5zad8w8sck4g0@webmail.froggs.de
Basically all you need is Alien::SDL's ConfigData and the Alien/SDL.pm...
You should be able to write that stuff on your own (i can send you  
mine if you want).

But, we did some magic especially for windows when it comes to the  
dll's. If you try to load Version.dll (for SDL::Version module) via  
Dynaloader, you will maybe get an error because it is loading the  
version.dll from windows...
Thats why we put suffixes to our dll's.

Alien::SDL for windows (not cygwin) is installing prebuilt binaries.  
So you basically dont need all dependencies. I guess it would be good  
to only require deps like Text::Patch if we really want to bild libs  
(like on unix).

The smpeg stuff I posted is cygwin related. But there is still a link  
to its source in the README file.

What perl do you have? A strawberry? activeperl? something else?

Zitat von Sisyphus <sisyphus1@optusnet.com.au>:

>
> ----- Original Message ----- From: <email@froggs.de>
> To: "My" <thakore.kartik@gmail.com>
> Cc: "Sisyphus" <sisyphus1@optusnet.com.au>; <sdl-devel@perl.org>
> Sent: Thursday, July 21, 2011 1:53 AM
> Subject: Re: smpeg source for SDL
>
>
>> Hi guys...
>>
>> Latest Alien::SDL comes with a libpng15 patch, the patch can be seen here:
>> https://github.com/PerlGameDev/Alien-SDL/blob/master/patches/SDL_image-1.2.10-libpng15.patch
>
> Thanks - works fine.
>
>> I am currently trying to get Alien::SDL and SDL to work on cygwin.   
>> Alien::SDL builds file on my machine. But without smpeg too. As far  
>>  as i can see it is just looking for a missing smpeg-config script.
>> I commited my changes right now:
>> https://github.com/PerlGameDev/Alien-SDL/compare/77bdac5%5E...77bdac5
>
> I'll skip smpeg for now.
>
>> But for the moment, I can compile SDL but most of the test fail and  
>>  I dont see any gfx window.
>>
>> You may have a look at this too:
>> http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/smpeg;a=tree
>
> Is that Cygwin-specific ?
> I was mainly just curious to see how it all went on (32-bit and 64-bit)
> native Win32, but it seems I have to install Alien::SDL (and its
> dependency chain) anyway .... which is rather annoying.
>
> Is there some simple way to remove the Alien::SDL dependency and use
> the libs I've already built ? No matter if there's not ... I'll just
> put it on hold until I'm in a more relaxed and tolerant mood :-)
>
> Thanks for the patch and the info!
>
> Cheers,
> Rob



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About