Derelict / SDL error
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Dec 8 06:35:07 PST 2014
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.
-------------- 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/1948fa18/attachment.sig>
More information about the Digitalmars-d-learn
mailing list