Derelict / SDL error
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Dec 8 05:23:02 PST 2014
On Mon, 08 Dec 2014 13:16:37 +0000
Paul via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com> wrote:
> On Monday, 8 December 2014 at 13:08:58 UTC, ketmar via
> Digitalmars-d-learn wrote:
> > On Mon, 08 Dec 2014 12:53:10 +0000
> > Paul via Digitalmars-d-learn
> > <digitalmars-d-learn at puremagic.com> wrote:
> >
> >> Sorry this is a bit off topic but as there doesn't seem to be
> >> an active forum for Derelict atm....
> >>
> >> This simple test code is giving me an error 'Error executing
> >> command run: Program exited with code -11' (or a seg fault if
> >> executed from a terminal). The problem line is:
> >>
> >> SDL_RenderCopy(renderer, texture, &sourceRect, &destRect);
> >>
> >> I've tried this call with the 'null' options as well as
> >> passing the address of the rects but neither works (I've also
> >> tried manually assigning the various struct components rather
> >> than using the c style initialisation in case that was the
> >> problem).
> >>
> >> Any ideas please?
>
> > this exact code is working for me. i just copypasted it and
> > gave it
> > test.bmp to work with.
>
> Thanks for testing, must be something on my system then... I've
> no idea where to start looking for the problem though :(
i must admit that i'm on 32-bit GNU/Linux, so i can't say anything
about 64-bit and/or non-GNU/Linux OSes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20141208/3475def2/attachment-0001.sig>
More information about the Digitalmars-d-learn
mailing list