Thread overview
How to set up Derelict?
Apr 03, 2012
DFGH
Apr 03, 2012
David
Apr 03, 2012
Trass3r
April 03, 2012
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?
April 03, 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.
April 03, 2012
> You should at least grab Derelict2 or Derelict3 (https://github.com/aldacron/Derelict3) - both work with dmd2.

Exactly. And then just build your app with rdmd.