There prebuilt binaries for windows that you can choose when installing
Alien::SDL. There is no choice to build libsdl yourself on that platform.
And I never heard of that error before.

On what type of windows are you exactly? WinXP 32bit?


Am 26.09.2012 18:42, schrieb Chris Marshall:
> This was for Strawberry Perl on windows so the
> device should be whatever the default is for windows.
> If it needs X11, then the build probably did not
> configure correctly for the platform.  It looks like
> libSDL does support windows and MinGW and
> the docs do not indicate that X11 is a prerequisite
> for that.
>
> --Chris
>
> On Mon, Sep 24, 2012 at 7:03 PM, Kartik Thakore
> <thakore.kar...@gmail.com> wrote:
>> Can you select a videodriver for SDL by exporting SDL_VIDEODRIVER
>> either fbcon or x11 may fix this. If not then your SDL were not compiled
>> with X11 libs. Install those.
>>
>>
>> On Mon, Sep 24, 2012 at 6:36 PM, Sisyphus <sisyph...@optusnet.com.au> wrote:
>>>
>>> ----- Original Message ----- From: "Chris Marshall"
>>> <devel.chm...@gmail.com>
>>> To: "Kartik Thakore" <thakore.kar...@gmail.com>
>>> Cc: "Tobias Leich" <em...@froggs.de>; "sdl-devel" <sdl-devel@perl.org>
>>> Sent: Tuesday, September 25, 2012 2:46 AM
>>> Subject: Re: [Perldl] PDL image to SDL::Surface
>>>
>>>
>>>
>>>> Hi Kartik-
>>>>
>>>> I don't have a working SDL module install that I could
>>>> check things out on.
>>>
>>> Hi guys,
>>>
>>> Chris, 'cpan -fi SDL' should install SDL-2.54 on your SPP. (You need force
>>> because a couple of the SDL tests fail.)
>>> During the 'perl build.pl' stage of Alien::SDL you'll be prompted to
>>> select which library package to install. I took option 1 because it was
>>> "RECOMMENDED", though option 2 is probably more recent.
>>>
>>> I've run the demo at https://gist.github.com/3772701 but that just
>>> produces:
>>>
>>> C:\_32\pscrpt\pdl>perl pdl2surface.pl
>>> No available video device at
>>> C:/_32/strawberry516/perl/site/lib/SDLx/App.pm line 123, <DATA> line 206.
>>> SDLx::App::new('SDLx::App', 'title', 'PDL and SDL aplication', 'width',
>>> 640, 'height', 640, 'eoq', 1, ...) called at pdl2surface.pl line 12
>>>
>>> And same error for
>>> https://github.com/PerlGameDev/SDL_Manual/blob/master/code_listings/pdl.pl
>>>
>>> I don't know what needs to be done in order that a "video device" becomes
>>> available. (I'm probably not the sharpest tool in the shed to be using for
>>> this ;-)
>>>
>>> Cheers,
>>> Rob
>>>
>>>

Reply via email to