Derelict / SDL error
Paul via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Dec 8 07:02:04 PST 2014
On Monday, 8 December 2014 at 14:35:17 UTC, ketmar via
Digitalmars-d-learn wrote:
> On Mon, 08 Dec 2014 14:13:54 +0000
> Paul via Digitalmars-d-learn
> <digitalmars-d-learn at puremagic.com> wrote:
>
>> On Monday, 8 December 2014 at 13:48:27 UTC, Mike Parker wrote:
>>
>> > import std.conv : to;
>> > writeln( "Error: ", to!string( SDL_GetError() ));
>>
>> Cleaner!
> ah, sure. i just wanted to use libc's fprintf() to avoid
> importing
> std.stdio, so copy-pasted that code. but you get the idea
> anyway. ;-)
>
>> Any ideas where to look for the source of the problem?
> sorry, no. you can try to update SDL2 to the latest version and
> Derelict
> bindings to git head though. i don't think that this will help,
> but you
> at least be sure that the problem is not in some obsolete
> version of
> the code.
I've only just installed SDL/Derelict on this machine so it
should be up to date. I'll keep digging...
More information about the Digitalmars-d-learn
mailing list