Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re^8: Help With Perl SDL

by syphilis (Chancellor)
on Sep 23, 2012 at 11:09 UTC ( #995201=note: print w/replies, xml ) Need Help??

in reply to Re^7: Help With Perl SDL
in thread Help With Perl SDL

This is all rather mysterious.

What version of Alien::SDL did you end up with ? (I have version 1.438.)
You'll get your version number by running:
perl -MAlien::SDL -e "print $Alien::SDL::VERSION"
Does the following also fail for you:
perl -MAlien::SDL -e "print Alien::SDL->config('libs')"
For me, that produces:
-L"C:\_32\strawberry516\perl\site\lib\auto\share\dist\Alien-SDL\1.438_ +a1ddf79e\bin\..\lib" -lmingw32 -lSDLmain -lSDL -mwindows

Replies are listed 'Best First'.
Re^9: Help With Perl SDL
by azonicrider (Initiate) on Sep 23, 2012 at 12:16 UTC
    Anonymous Monk, no not that file. I'm running a simple Perl script file, that tells me if SDL is working correctly or not.
    The version stated is 1.438, from doing that query.
    I get pretty much the same output, from doing your second query:
    -L"C:\strawberry\perl\site\lib\auto\share\dist\Alien-SDL\1.438_a1ddf79 +e\bin\..\l ib" -lmingw32 -lSDLmain -lSDL -mwindows
      I've been thinking, I may just reinstall Strawberry Perl, and try SDL after that.
      Strange enough, that actually worked. I think maybe installing Dwinperl in the same directory, is what messed it up.
      However, I can only start up SDL using the Command Prompt. Doesn't seem to work when I run it through Padre.
      So yes, I'm not completely satisfied with Command Prompting it everytime I wanna use an SDL program. But for the time being, it will do.

        Well, why don't you install padre using the same perl that you installed SDL, that way they're one and the same perl, not two different installs, and you can run sdl programs from padre without extra padre configuration

        having multiple perl installed is fine, but you have to know which is which

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995201]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2018-07-23 10:07 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (462 votes). Check out past polls.