Thread overview |
---|
April 03, 2012 How to set up Derelict? | ||||
---|---|---|---|---|
| ||||
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 Re: How to set up Derelict? | ||||
---|---|---|---|---|
| ||||
Posted in reply to DFGH | 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 Re: How to set up Derelict? | ||||
---|---|---|---|---|
| ||||
Posted in reply to David | > 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.
|
Copyright © 1999-2021 by the D Language Foundation