Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Alien::SDL installation on win8

by Discipulus (Canon)
on Jun 28, 2019 at 10:44 UTC ( [id://11102077]=note: print w/replies, xml ) Need Help??


in reply to Alien::SDL installation on win8

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.

Replies are listed 'Best First'.
Re^2: Alien::SDL installation on win8
by timewarps1 (Initiate) on Jul 02, 2019 at 10:36 UTC

    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

        My Strawberry Perl is 64 bit. I downloaded 64bit SDL1 from the site you provided (SDL2 couldn't be recognized). After runnning 'perl Build.pl', I got the following response:
        ########### log 1 ############ E:\A_Downloads\alien\Alien-SDL-1.446>perl Build.PL Welcome to Alien::SDL module installation ----------------------------------------- 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... yes, E:\A_Downloads\SDL1_STRAWBERRY checking for config script... yes, E:\A_Downloads\SDL1_STRAWBERRY\bin\ +sdl-config no checking for config script... no checking for pthread... no checking for SDL... no checking for z... no checking for jpeg... no checking for tiff... no checking for png... no checking for SDL_image... no checking for ogg... no checking for vorbis... no checking for vorbisfile... no checking for SDL_mixer... no checking for freetype... no checking for SDL_ttf... no checking for SDL_gfx... no checking for pangoft2... no checking for pango... no checking for gobject... no checking for gmodule... no checking for glib... no checking for fontconfig... no checking for expat... no checking for SDL_Pango... no checking for prebuilt binaries... no You have the following options: [1] Already installed SDL ver=1.2.14 path=E:\A_Downloads\SDL1_STRAWBER +RY\bin\..\ [2] Quit installation What way do you wanna go? [1 ]1 Using already installed SDL ver=1.2.14 path=E:\A_Downloads\SDL1_STRAWB +ERRY\bin\. .\ Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Alien-SDL' version '1.446' E:\A_Downloads\alien\Alien-SDL-1.446> ##############################

        There was a new file created called Build.bat. I ran it and got the following:

        ############ log 2 ############## E:\A_Downloads\alien\Alien-SDL-1.446>Build.bat Build option used: Already installed SDL ver=1.2.14 path=E:\A_Downloads\SDL1_STRA +WBERRY\bin \..\ Building Alien-SDL E:\A_Downloads\alien\Alien-SDL-1.446> ##############################

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11102077]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-03-29 05:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found