Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Alien::SDL installation on win8

by timewarps1 (Initiate)
on Jun 28, 2019 at 10:10 UTC ( [id://11102075]=perlquestion: print w/replies, xml ) Need Help??

timewarps1 has asked for the wisdom of the Perl Monks concerning the following question:

I've been writing a game using Tk. The concept is complete. Now I wish to remake it using SDL for better graphics handling.

But I couldn't get Alien::SDL 1.446 installed for Strawberry Perl v5.28.1 on my Win8 64 bit computer.

I did a bit of searches, but no solution worked.

The log is provided below.

################ log #####################

checking operating system... MSWin32

checking for gcc... yes

checking build system type... MSWin32-x64-multi-thread

checking platform specific module... using 'My::Builder::Windows'

checking SDL_INST_DIR env var... no

checking for config script... no

checking for prebuilt binaries... no

You have the following options:

1 Quit installation

Replies are listed 'Best First'.
Re: Alien::SDL installation on win8
by Discipulus (Canon) on Jun 28, 2019 at 10:44 UTC
    Hello timewarps1 and welcome to the monastery,

    did you tried to install SDL on your own and set the env. variable SDL_INST_DIR ?

    i read in the doc that the Alien module should try thing in order and maybe is not able to find something to downolad and build for windows.

    I'm very interested: please share your progresses (which game? I'm interested in this too ;)

    PS in a positive installation test I see:

    # Build option used: # Binaries Win/32bit SDL-1.2.14 (extended, 20100704) RECOMMENDED # (gfx, image, mixer, net, smpeg, ttf, sound, svg, rtf, Pango) # URL: # http://strawberryperl.com/package/kmx/sdl/Win32_SDL-1.2.14-exten +ded-bin_20100704.zip

    perhaps a good choice to have it installed correctly

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

      Thanks. The game is a remake of uncharted waters2.

      The site libsdl.org offers a few options (SDL1 or SDL2, Runtime Binaries or DEV Libraries ). How should I choose?

      I downloaded SDL1's DEV Libraries to 'E:\A Downloads\SDL DEV\SDL-1.2.15' and modified Build.PL in Alien-SDL-1.446 as shown in the following code.

      Line 160 was added because SDL_config.h appears under 'E:\A Downloads\SDL DEV\SDL-1.2.15\include' instead of 'bin\sdl-config'.

      Result: SDL_INST_DIR could be recognized but SDL_config.h couldn't.

      ###### code change in Build.pl ########

      148 $ENV{SDL_INST_DIR} = 'E:\A Downloads\SDL SOURCE\SDL-1.2.15'; 160 elsif($rv = check_config_script(File::Spec->catdir(@sdlinst, 'inc +lude'))) { push @candidates, $rv; }

      ###### log ########

      checking SDL_INST_DIR env var... yes, E:\A Downloads\SDL DEV\SDL-1.2.15

      checking for config script... no

      checking for config script... no

      checking for config script... no

      checking for config script... no

      checking for prebuilt binaries... no

      You have the following options

      :

      1 Quit installation

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11102075]
Approved by marto
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found