Re: smpeg source for SDL
- Original Message - From: em...@froggs.de To: My thakore.kar...@gmail.com Cc: Sisyphus sisyph...@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
Re: smpeg source for SDL
It is. To be exact it is searching for an sdl-config script. If that is missing, and the libs or headers are not found... well, you got the idea. But as I said in the other mail, Alien::SDL dont build libs on native windows. There is a perbuilt binary pack. Zitat von Chris Marshall devel.chm...@gmail.com: On Thu, Jul 21, 2011 at 5:45 AM, Sisyphus sisyph...@optusnet.com.au wrote: ... 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 :-) I thought Alien::SDL was supposed to check for an existing SDL install first before installing its own version? --Chris
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 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 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 Cheers, FROGGS Zitat von My thakore.kar...@gmail.com: On 2011-07-20, at 6:11 PM, Sisyphus sisyph...@optusnet.com.au wrote: Hi Kartik, From where should I get the smpeg source ? (A tarball or a direct link would be handy :-) Hmm I had a url for this but I think we had trouble getting smpeg working on vista. kmx can best help you here. I first tried freshmeat, but couldn't find a download link anywhere there ... then I googled up a page of ftp links which didn't seem to work. Finally I did an 'svn co' of the trunk at icculus, but 'autoreconf -i' gave some warnings and an error about the missing macro AM_PATH_SDL. It created a configure script anyway, so I did a './configure ...' just to see what would happen and it terminated with: ./configure: AC_TYPE_SOCKLEN_T: command not found ./configure: line 15446: syntax error near unexpected token `AM_PATH_SDL($SDL_VERSION,' ./configure: line 15446: `AM_PATH_SDL($SDL_VERSION,' I'm on MS Windows Vista64. I am sure Alien::SDL should compile this stuff for you. Did you try to cpan it an use the interactive menu to choose for smpeg? Are you using cygwin, or dmake/strawberry perl, or activestate? The SDL_mixer library builds ok without smpeg, but I'd rather include smpeg support if that's possible. For smpeg on windows, again kmx is your best bet. i will cc his email. FROGGS may also be able to help. Also (unrelated to smpeg), do you know of any patched IMG_png.c (from the SDL_image library) that caters for libpng15 ? Not sure have you seen the CHANGELOG that comes with SDL_image or gentoo/debian patches? (No urgency with any of this, btw feel free to ignore.) np Cheers, Rob. kthakore