How to set up Derelict?
David
d at dav1d.de
Tue Apr 3 05:21:12 PDT 2012
Am 03.04.2012 13:52, schrieb DFGH:
> I used this link: http://h3.gd/dmedia/?n=Tutorials.SdlGlTutorial1,
> but when i execute the build command i'm receiving the following errors:
>
> c:\d\dmd2\src\ext\derelict\opengl\gl.d(114): use of typedef is
> deprecated; use a
> lias instead
> c:\d\dmd2\src\ext\derelict\opengl\gl.d(114): use of typedef is
> deprecated; use a
> lias instead
> c:\d\dmd2\src\ext\derelict\util\wintypes.d(57): C-style function pointer
> and poi
> nter to array syntax is deprecated. Use 'function' to declare function
> pointers
>
> So, what should i do in order to run my program succesfuly?
This is really really old, the tutorial e.g. mentions dmd 1 and you're
using dmd 2. You should at least grab Derelict2 or Derelict3
(https://github.com/aldacron/Derelict3) - both work with dmd2.
More information about the Digitalmars-d
mailing list