Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
October 21, 2007 Something like derelict but for D 2.x and Phobos? | ||||
---|---|---|---|---|
| ||||
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? |
October 21, 2007 Re: Something like derelict but for D 2.x and Phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to dominik | 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 |
October 21, 2007 Re: Something like derelict but for D 2.x and Phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to dominik | 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.
|
October 22, 2007 Re: Something like derelict but for D 2.x and Phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to dominik | 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.
|
October 22, 2007 Re: Something like derelict but for D 2.x and Phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Parker | "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! |
October 27, 2007 Re: Something like derelict but for D 2.x and Phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | Anders F Björklund wrote: > 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 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#D |
October 29, 2007 Re: Something like derelict but for D 2.x and Phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bruno Medeiros | 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
|
October 29, 2007 Re: Something like derelict but for D 2.x and Phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bruno Medeiros | 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
|
November 03, 2007 Re: Something like derelict but for D 2.x and Phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | Anders F Björklund wrote: > 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 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#D |
Copyright © 1999-2021 by the D Language Foundation