>
> Ok, using your new binaries the images work fine, including PNGs. There was a bug
> in the
> example code I posted, in that I was trying to copy from an offset in the source
> image. If you
> change the -x and -y options of the Rect, it should display.
>
> However, the fullscreen() still
in current, src/OpenGL.xs
Around line 735, in void LightModel ( name, ...),
float v[4]; int i;
needs to be the first thing after CODE:,
that way compilers like msvs6 don't complain
__
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 di
> Simplest is, basically, does fullscreen() work on Win32? When I call fullscreen()
> on my
> SDL::App object (see code below), it seems to do nothing. I'm not sure if this is a
> limitation
> of SDL_perl, just on Win32, or if I'm doing something wrong.
Works for me (with new binaries, my repo
--- John Beppu <[EMAIL PROTECTED]> wrote:
> [ date ] 2004/03/14 | Sunday | 10:37 PM
> [ author ] David J. Goehrig <[EMAIL PROTECTED]>
>
> > Would those people interested in cpan
> > commit access for SDL_perl please send me
> > your cpan credentials. I'll add you to the
> > comaintainers.
>
>
> (I will likely use Audiere for audio, but that will probably require Perl
> bindings, too. Sound::Audiere?)
Tough luck on that one.
I was gonna port audiere, but
it looks like it's not gonna happen because
on win32 (my primary platform)
perl XS does not play well with cpp streams
--- [EMAIL PROTECTED] wrote:
> I got all the way to the compile/link part (cl). Then realized I only have MinGW.
> I'm guessing
> this requires Micro$oft Visual C? I managed to build SDL fine
> with MinGW, but am rather stuck here. I'll keep trying to muddle through, but could
> use some
> p
--- [EMAIL PROTECTED] wrote:
> I got all the way to the compile/link part (cl). Then realized I only have MinGW.
> I'm guessing
> this requires Micro$oft Visual C? I managed to build SDL fine
> with MinGW, but am rather stuck here. I'll keep trying to muddle through, but could
> use some
> p
> now edit src\SDL_perl.lds,
> and add "SDL.lib" on a line by itself after msvcrt.lib
> then execute
>
> link @"src\SDL_perl.lds" -out:"blib\arch\auto\SDL_perl\SDL_perl.dll"
>
You can skip this part if you edit Build.PL before you start
and add
my $build = SDL::Build->new(
ex
how-to compile SDL_Perl-2.1.0 on win32
(much thanks to randy simms of the Module-Build general mailing list)
First extract the package and change to right directory
G:\SDL> tar -zxvf SDL_Perl-2.1.0.tar.gz && cd SDL_Perl-2.1.0
apply my patch somehow (it's attached as SDL_Perl-2.1.0.patch)
set
> > and things are getting better a lot better.
> > Now i'm geting some errors related to perl -V:libpth being wrong,
> > which reveals that Module::Build doesn't pickup extra values for libpth from
> > $ENV{LIB}, which it should
>
> I didn't add it because Microsoft C automatically looks at LIB
--- "Randy W. Sims" <[EMAIL PROTECTED]> wrote:
> On 02/25/04 02:12, DH wrote:
> > *snip*
> >
> >>>LINK : fatal error LNK1141: failure during build of exports file
> >>>...
> >>
> >>Looks like the filename is not be
>
> Also the DLL on win32 must be named SDL_perl
> or you can't load SDL (this is why it is called
> SDL_perl)
>
> A stupid question is the .def file even in existence?
No. No file named ".def" exist, however, "src/SDL_perl.def" is there,
as are src/SDL/OpenGL.def and src/SDL/SFont.def
...
>
*snip*
> > LINK : fatal error LNK1141: failure during build of exports file
> > ...
>
> Looks like the filename is not being passed in. Check
> 'make\lib\SDL\Build.pm' in your override of the 'process_xs' method that
> $file is set correctly.
What is correct?
src\SDL\SFont.xs and src\SDL_pe
Hi.
http://search.cpan.org/dist/SDL_Perl/
Once you get past the SDL specific bugs
http://www.nntp.perl.org/group/perl.sdl.devel/1019
http://www.nntp.perl.org/group/perl.sdl.devel/969
you can see errors described in
http://www.nntp.perl.org/group/perl.sdl.devel/969
Now the compiler
I also forgot to mention
http://www.nntp.perl.org/group/perl.sdl.devel/958
nntp.perl.org changes "@" into "[at]" fyi
Otherwise you'd get
Can't use an undefined value as an ARRAY reference at make/lib/SDL/Build.pm line
154.
--- DH <[EMAIL PROTECTED]> wro
Why haven't any of the missing Win32 bits been added?
http://www.nntp.perl.org/group/perl.sdl.devel/969
Win32 support has to start somewhere
__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
--- [EMAIL PROTECTED] wrote:
> I looked into SDL the latter half of 2003 (Tels may remember me contacting him at
> that time) and
> was not able to locate a package that would work. I see things
> have started rolling again and would like to get involved if possible at whatever
> level I'm able
> PPS:
> A general Perl testing question -- Does anybody know how to run
> individual tests in the t/ directory? There have been times when
> I'm working on modules where I just want to run one set of tests
> instead of the whole test suite, but I don't know of any standard
> m
At least Module::Build 0.21 is required
Then I add (required) make/lib/SDL/Build/MSWin32.pm
package SDL::Build::MSWin32;
use base 'SDL::Build';
sub fetch_includes
{
return (
);
}
1;
the modify Build.PL to not test for sdl-config on win32
unless( $^O =~ /win32/i ){
if ($?
--- chromatic <[EMAIL PROTECTED]> wrote:
> On Fri, 2004-01-30 at 16:12, DH wrote:
>
> > build is Build on case insensitive filesystems, so perl Build.PL will delete build,
> > and this is a problem since build has all your Module::Build subclass...
>
> Good point
build is Build on case insensitive filesystems, so perl Build.PL will delete build,
and this is a problem since build has all your Module::Build subclass...
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb
21 matches
Mail list logo