digitalmars.D.learn - Something like derelict but for D 2.x and Phobos?
- dominik (6/6) Oct 21 2007 well, title says it all - is there something like it out there?
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (4/7) Oct 21 2007 I have some stuff for D 1.x and (GNU) Make, maybe it would work ?
- Bruno Medeiros (13/25) Oct 27 2007 I've tried your bindings a few weeks ago, and they're not working.
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (3/12) Oct 29 2007 Thanks, I'll take a look at updating them some day.
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (6/14) Oct 29 2007 I updated the code to use "ref_" and removed all extern(Windows) legacy.
- Bruno Medeiros (6/24) Nov 03 2007 There must be some issue with GDC then, because that simply does not
- Clay Smith (4/13) Oct 21 2007 Derelict works with both Tango and Phobos. Additionally, while 2.0 for
- Mike Parker (9/18) Oct 21 2007 Derelict works with Phobos just fine. As for D2.0, there are enough
- dominik (11/14) Oct 22 2007 I found it! But in the meanwhile I have isntalled 1.x along with 2.x, ju...
well, title says it all - is there something like it out there? I have tried to install Tango, but about half an hour later in path+linkage hell with two different versions of D, I just quit and won't do it anymore, ever. So basically, I am on latest D 2.x and would like to utilize OpenGL, OpenAL, SDL and other goodies, along with Bud. Is there a hope?
Oct 21 2007
dominik wrote:well, title says it all - is there something like it out there?So basically, I am on latest D 2.x and would like to utilize OpenGL, OpenAL, SDL and other goodies, along with Bud. Is there a hope?I have some stuff for D 1.x and (GNU) Make, maybe it would work ? http://www.algonet.se/~afb/d/ (OpenGL 1.2, OpenAL 1.0, SDL 1.2 etc) --anders
Oct 21 2007
Anders F Björklund wrote:dominik wrote:I've tried your bindings a few weeks ago, and they're not working. First, you have some variables named "ref" in OpenGL which doesn't work in D 1.x (unless you use the -v1 switch). Second, and more importantly, you're still using the idiom: version (Windows) extern (Windows): else extern (C): Which no longer works in D1.x. -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#Dwell, title says it all - is there something like it out there?So basically, I am on latest D 2.x and would like to utilize OpenGL, OpenAL, SDL and other goodies, along with Bud. Is there a hope?I have some stuff for D 1.x and (GNU) Make, maybe it would work ? http://www.algonet.se/~afb/d/ (OpenGL 1.2, OpenAL 1.0, SDL 1.2 etc) --anders
Oct 27 2007
Bruno Medeiros wrote:I've tried your bindings a few weeks ago, and they're not working. First, you have some variables named "ref" in OpenGL which doesn't work in D 1.x (unless you use the -v1 switch). Second, and more importantly, you're still using the idiom: version (Windows) extern (Windows): else extern (C): Which no longer works in D1.x.Thanks, I'll take a look at updating them some day. --anders
Oct 29 2007
Bruno Medeiros wrote:First, you have some variables named "ref" in OpenGL which doesn't work in D 1.x (unless you use the -v1 switch). Second, and more importantly, you're still using the idiom: version (Windows) extern (Windows): else extern (C): Which no longer works in D1.x.I updated the code to use "ref_" and removed all extern(Windows) legacy. (Probably requires MinGW to build, but it could be considered a feature) "Still using" is relative, the code was from 2005 and used to work then. Tested OK now on Mac OS X 10.4 with GDC 0.24 (~ DMD 1.020), at least... --anders
Oct 29 2007
Anders F Björklund wrote:Bruno Medeiros wrote:There must be some issue with GDC then, because that simply does not compile with, for example, either DMD 1.018 or DMD 1.023. -- Bruno Medeiros - MSc in CS/E student http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#DFirst, you have some variables named "ref" in OpenGL which doesn't work in D 1.x (unless you use the -v1 switch). Second, and more importantly, you're still using the idiom: version (Windows) extern (Windows): else extern (C): Which no longer works in D1.x.I updated the code to use "ref_" and removed all extern(Windows) legacy. (Probably requires MinGW to build, but it could be considered a feature) "Still using" is relative, the code was from 2005 and used to work then. Tested OK now on Mac OS X 10.4 with GDC 0.24 (~ DMD 1.020), at least... --anders
Nov 03 2007
dominik wrote:well, title says it all - is there something like it out there? I have tried to install Tango, but about half an hour later in path+linkage hell with two different versions of D, I just quit and won't do it anymore, ever. So basically, I am on latest D 2.x and would like to utilize OpenGL, OpenAL, SDL and other goodies, along with Bud. Is there a hope?Derelict works with both Tango and Phobos. Additionally, while 2.0 for derelict is not supported, some folks have made a 2.0 port in the Derelict forums.
Oct 21 2007
dominik wrote:well, title says it all - is there something like it out there? I have tried to install Tango, but about half an hour later in path+linkage hell with two different versions of D, I just quit and won't do it anymore, ever. So basically, I am on latest D 2.x and would like to utilize OpenGL, OpenAL, SDL and other goodies, along with Bud. Is there a hope?Derelict works with Phobos just fine. As for D2.0, there are enough people asking about that now that I've recently decided to add a Derelict2 branch supporting D2.0 to the subversion repository. It's going to be a few days before I can take the time to get it done, but you can expect to see it later this week. In the meantime, there's a port someone did that is linked in the Derelict forums (and probably on the project wiki as well). I don't know if it works with the latest D2.x, since the string changes were made.
Oct 21 2007
"Mike Parker" <aldacron71 yahoo.com> wrote in message news:ffgvor$1fsa$1 digitalmars.com...In the meantime, there's a port someone did that is linked in the Derelict forums (and probably on the project wiki as well). I don't know if it works with the latest D2.x, since the string changes were made.I found it! But in the meanwhile I have isntalled 1.x along with 2.x, just to be safe to eliminate any possible weird problems while I'm learning :) I really look forward to 2.x release, since I really like 2.x. Also, I'm really into Phobos - Tango reminds me too much of Java style, which I don't like - but there are some features of it (Tango) that I like.. maybe there will be a way to use both Phobos and Tango one day. Actually, I don't understand why did Tango developers chose to "replace" Phobos, while it (Tango) could be as it is as a 3rd party library. anyways, thanks for the help guys - looking forward to 2.x release!
Oct 22 2007