digitalmars.D.learn - Install DWT2 using DMD and Tango
- Fabian (9/9) Jun 08 2011 Hi
- Andrew Wiley (21/29) Jun 08 2011 It's called DWT2 because it's a port of the existing DWT code to D2. Tan...
- Fabian (4/4) Jun 08 2011 But I try to install DWT2. Do you understand?
- Nick Sabalausky (8/22) Jun 08 2011 Are you sure about that? I'm not really experienced with DWT, but the DW...
- Jesse Phillips (11/30) Jun 08 2011 No, DWT2 is a strategy change to how DWT is structured. The change was t...
- Andrew Wiley (6/34) Jun 08 2011 Ah, apparently I am a font of misinformation. Now that I think about it,...
- Fabian (9/39) Jun 09 2011 My sc.ini looks like this:
- Jacob Carlborg (6/37) Jun 16 2011 DWT2 is supposed to work with D2/Phobos and D1/Tango, anything other is
- Fabian (2/2) Jun 09 2011 I decided to use gtkD but I would be very glad if anybody is able to
- Jacob Carlborg (5/14) Jun 16 2011 I haven't tested to compile DWT with D1/Tango for a while so it might
Hi I'm trying to install DWT2 to create GUI applications with D. I have downloaded DWT2 with TortoiseHg already and I've installed Ruby and Rake. But when I try to build the packages I get the following error message: http://imageshack.us/photo/my-images/62/dwt2error.png/ Is there anybody who can help me? I believe it's possible to use DWT2 and Tango - isn't it? Greetings Fabian
Jun 08 2011
On Wed, Jun 8, 2011 at 11:54 AM, Fabian <contact-fab freenet.de> wrote:Hi I'm trying to install DWT2 to create GUI applications with D. I have downloaded DWT2 with TortoiseHg already and I've installed Ruby and Rake. But when I try to build the packages I get the following error message: http://imageshack.us/photo/my-images/62/dwt2error.png/ Is there anybody who can help me? I believe it's possible to use DWT2 and Tango - isn't it?It's called DWT2 because it's a port of the existing DWT code to D2. Tango is a replacement standard library for D1, so no, they can't really be used together. I'm not sure about the state of DWT1, but it should be fairly stable, even if it hasn't been worked on recently. As an overview, D1 originally had Phobos as the standard library, but it wasn't that great, so an independent team built Tango as a replacement. Tango hasn't ever officially shipped with DMD, the reference compiler, but it's pretty much become the standard for D1 (with a few exceptions and attempts to reconcile it with Phobos). Nowadays, we have D2 and Phobos2 (which is generally just called Phobos). There's an ongoing project to port Tango to D2 as well, and Druntime, the runtime library, has been separated from Phobos2 to hopefully make Tango and Phobos2 coexist if/when that D2 port is completed (back in D1, Phobos and Tango both included their own runtimes, so you couldn't use both at the same time). In the meantime, Phobos2 far better than Phobos1, and Andrei has been leading its development. "Learn to Tango with D" obviously refers to D1/Tango "The D Programming Language" refers to D2/Phobos2 Hopefully that makes everything a bit clearer.
Jun 08 2011
But I try to install DWT2. Do you understand? I've got the Tango book but it's pretty difficult to install DWT2. So I can't build GUI apps. Greetings Fabian
Jun 08 2011
"Andrew Wiley" <wiley.andrew.j gmail.com> wrote in message news:mailman.718.1307566795.14074.digitalmars-d-learn puremagic.com...On Wed, Jun 8, 2011 at 11:54 AM, Fabian <contact-fab freenet.de> wrote:Are you sure about that? I'm not really experienced with DWT, but the DWT2 repo has a bunch of commits that refer to D1 and Tango: http://hg.dsource.org/projects/dwt2 And the readme at the bottom of this page seems to indicate it's both D2/Phobos2 and D1/Tango: https://bitbucket.org/torhus/dwt2Hi I'm trying to install DWT2 to create GUI applications with D. I have downloaded DWT2 with TortoiseHg already and I've installed Ruby and Rake. But when I try to build the packages I get the following error message: http://imageshack.us/photo/my-images/62/dwt2error.png/ Is there anybody who can help me? I believe it's possible to use DWT2 and Tango - isn't it?It's called DWT2 because it's a port of the existing DWT code to D2.
Jun 08 2011
Andrew Wiley Wrote:On Wed, Jun 8, 2011 at 11:54 AM, Fabian <contact-fab freenet.de> wrote:No, DWT2 is a strategy change to how DWT is structured. The change was to use the structure of SWT instead of renaming and moving everything. This was to make porting easier. It also combined dwt-linux, dwt-windows dwt-mac under one repository. Fabian, I think you should check that Tango is properly installed. From the repo: The sc.ini/dmd.conf of the DMD in the PATH needs to have all necessary parameters to build a application with the std lib. E.g. for Tango it can look like this: [Environment] LINKCMD=% P%\link.exe LIB="% P%\..\..\..\..\tango\lib" DFLAGS="-I% P%\..\..\..\..\tango" -version=Tango -defaultlib=tango-base-dmd.lib -debuglib=tango-base-dmd.libHi I'm trying to install DWT2 to create GUI applications with D. I have downloaded DWT2 with TortoiseHg already and I've installed Ruby and Rake. But when I try to build the packages I get the following error message: http://imageshack.us/photo/my-images/62/dwt2error.png/ Is there anybody who can help me? I believe it's possible to use DWT2 and Tango - isn't it?It's called DWT2 because it's a port of the existing DWT code to D2. Tango is a replacement standard library for D1, so no, they can't really be used together. I'm not sure about the state of DWT1, but it should be fairly stable, even if it hasn't been worked on recently.
Jun 08 2011
On Wed, Jun 8, 2011 at 2:57 PM, Jesse Phillips <jessekphillips+D gmail.com>wrote:Andrew Wiley Wrote:Ah, apparently I am a font of misinformation. Now that I think about it, I do remember a discussion a while back about issues making D2 code remain compatible with D1 where DWT2 was brought up. Or at least I think I do. Sorry for the noise.On Wed, Jun 8, 2011 at 11:54 AM, Fabian <contact-fab freenet.de> wrote:andHi I'm trying to install DWT2 to create GUI applications with D. I have downloaded DWT2 with TortoiseHg already and I've installed RubyTangoRake. But when I try to build the packages I get the following error message: http://imageshack.us/photo/my-images/62/dwt2error.png/ Is there anybody who can help me? I believe it's possible to use DWT2 and Tango - isn't it?It's called DWT2 because it's a port of the existing DWT code to D2.is a replacement standard library for D1, so no, they can't really beusedtogether. I'm not sure about the state of DWT1, but it should be fairly stable,evenif it hasn't been worked on recently.No, DWT2 is a strategy change to how DWT is structured. The change was to use the structure of SWT instead of renaming and moving everything. This was to make porting easier. It also combined dwt-linux, dwt-windows dwt-mac under one repository.
Jun 08 2011
On 08.06.2011 23:57, Jesse Phillips wrote:Andrew Wiley Wrote:My sc.ini looks like this: [Version] version=7.51 Build 020 [Environment] LIB="% P%\..\lib"; LINKCMD=% P%\link.exe DFLAGS="-I% P%\..\import" "-I% P%\..\import\tango\core\vendor" -version=Tango -defaultlib=tango.lib -debuglib=tango.lib -L+tango.libOn Wed, Jun 8, 2011 at 11:54 AM, Fabian<contact-fab freenet.de> wrote:No, DWT2 is a strategy change to how DWT is structured. The change was to use the structure of SWT instead of renaming and moving everything. This was to make porting easier. It also combined dwt-linux, dwt-windows dwt-mac under one repository. Fabian, I think you should check that Tango is properly installed. From the repo: The sc.ini/dmd.conf of the DMD in the PATH needs to have all necessary parameters to build a application with the std lib. E.g. for Tango it can look like this: [Environment] LINKCMD=% P%\link.exe LIB="% P%\..\..\..\..\tango\lib" DFLAGS="-I% P%\..\..\..\..\tango" -version=Tango -defaultlib=tango-base-dmd.lib -debuglib=tango-base-dmd.libHi I'm trying to install DWT2 to create GUI applications with D. I have downloaded DWT2 with TortoiseHg already and I've installed Ruby and Rake. But when I try to build the packages I get the following error message: http://imageshack.us/photo/my-images/62/dwt2error.png/ Is there anybody who can help me? I believe it's possible to use DWT2 and Tango - isn't it?It's called DWT2 because it's a port of the existing DWT code to D2. Tango is a replacement standard library for D1, so no, they can't really be used together. I'm not sure about the state of DWT1, but it should be fairly stable, even if it hasn't been worked on recently.
Jun 09 2011
On 2011-06-08 22:59, Andrew Wiley wrote:On Wed, Jun 8, 2011 at 11:54 AM, Fabian <contact-fab freenet.de <mailto:contact-fab freenet.de>> wrote: Hi I'm trying to install DWT2 to create GUI applications with D. I have downloaded DWT2 with TortoiseHg already and I've installed Ruby and Rake. But when I try to build the packages I get the following error message: http://imageshack.us/photo/my-images/62/dwt2error.png/ Is there anybody who can help me? I believe it's possible to use DWT2 and Tango - isn't it? It's called DWT2 because it's a port of the existing DWT code to D2. Tango is a replacement standard library for D1, so no, they can't really be used together. I'm not sure about the state of DWT1, but it should be fairly stable, even if it hasn't been worked on recently. As an overview, D1 originally had Phobos as the standard library, but it wasn't that great, so an independent team built Tango as a replacement. Tango hasn't ever officially shipped with DMD, the reference compiler, but it's pretty much become the standard for D1 (with a few exceptions and attempts to reconcile it with Phobos). Nowadays, we have D2 and Phobos2 (which is generally just called Phobos). There's an ongoing project to port Tango to D2 as well, and Druntime, the runtime library, has been separated from Phobos2 to hopefully make Tango and Phobos2 coexist if/when that D2 port is completed (back in D1, Phobos and Tango both included their own runtimes, so you couldn't use both at the same time). In the meantime, Phobos2 far better than Phobos1, and Andrei has been leading its development. "Learn to Tango with D" obviously refers to D1/Tango "The D Programming Language" refers to D2/Phobos2 Hopefully that makes everything a bit clearer.DWT2 is supposed to work with D2/Phobos and D1/Tango, anything other is a bug. I haven't compiled DWT with D1/Tango for a while now so it might not compile. -- /Jacob Carlborg
Jun 16 2011
I decided to use gtkD but I would be very glad if anybody is able to solve my problem.
Jun 09 2011
On 2011-06-08 20:54, Fabian wrote:Hi I'm trying to install DWT2 to create GUI applications with D. I have downloaded DWT2 with TortoiseHg already and I've installed Ruby and Rake. But when I try to build the packages I get the following error message: http://imageshack.us/photo/my-images/62/dwt2error.png/ Is there anybody who can help me? I believe it's possible to use DWT2 and Tango - isn't it? Greetings FabianI haven't tested to compile DWT with D1/Tango for a while so it might not be compiling, I'll look in to it. -- /Jacob Carlborg
Jun 16 2011