digitalmars.D.dwt - Building dwt2 (DMD2 + Windows)
- Andrej Mitrovic (38/38) Aug 31 2010 Hi,
- torhu (3/41) Sep 01 2010 It's not possible to build the whole thing yet, I just use xfbuild to
- Sam Hu (2/4) Oct 21 2010 Is anybody here getting the dwt for D2 workable already?
- Jacob Carlborg (4/8) Oct 21 2010 I haven't managed to build DWT with D2.
- Jeremy Powers (5/16) Oct 21 2010 I had it mostly working, but haven't had a chance to work on it for a
- Jacob Carlborg (7/24) Oct 22 2010 The DWT2 repository: http://hg.dsource.org/projects/dwt2
- Jacob Carlborg (6/44) Sep 01 2010 I'm currently updating DWT2 (the official repository) to the latest D1
Hi, I'm trying to build the dwt2 bitbucket fork. As I understand it, the non-fork version doesn't compile with D2. (at least that's what I've read on this NG). I can't build dwt2 though. The readme says I can use `rake base swt`, so I've tried that: C:\dwt2>rake base swt (in C:/dwt2) Building dwt-base workdir=>C:/dwt2/base/src cat C:/dwt2/rsp | xargs dmd java\text\Collator.d(4): Error: module Comparator is in file 'java\util\Comparator.d' which cannot be read import path[0] = C:/dwt2/base/src import path[1] = C:/dwt2/imp import path[2] = C:\DMD\dmd2\windows\bin\..\..\src\phobos import path[3] = C:\DMD\dmd2\windows\bin\..\..\src\druntime\import import path[4] = C:\dwt2\base\src ar C:/dwt2/rsp > C:/dwt2/olog.txt Building org.eclipse.swt.gtk.linux.x86 workdir=>C:/dwt2/org.eclipse.swt.gtk.linux.x86/src cat C:/dwt2/rsp | xargs dmd org\eclipse\swt\custom\DefaultContent.d(913): 192 is 128 must be parenthesized when nex t to operator & org\eclipse\swt\custom\DefaultContent.d(922): 192 is 128 must be parenthesized when nex t to operator & org\eclipse\swt\graphics\GC.d(537): data.image is null must be parenthesized when next to operator & org\eclipse\swt\internal\c\gtk_unix_print_2_0.d(33): no identifier for declarator inout (s) org\eclipse\swt\internal\image\JPEGDecoder.d(2356): no identifier for declarator inout( el) ar C:/dwt2/rsp > C:/dwt2/olog.txt There doesn't seem to be any Comparator.d file anywhere, although there's a ViewerComparator.d in C:\dwt2\org.eclipse.jface\src\org\eclipse\jface\viewers . Also, I've no idea why I see this line in the output: "Building org.eclipse.swt.gtk.linux.x86". I'm not on Linux. I've added the C:\dwt2\base\src dir as an include in the sc.ini file. This is my sc.ini: [Version] version=7.51 Build 020 [Environment] LIB="% P%\..\lib";\dm\lib DFLAGS="-I% P%\..\..\src\phobos" "-I% P%\..\..\src\druntime\import" -IC:\dwt2\base\src LINKCMD=% P%\link.exe The rakefile dates back 10 months, so maybe I shouldn't even be using it. Anyone managed to make a build on Windows?
Aug 31 2010
On 31.08.2010 23:42, Andrej Mitrovic wrote:Hi, I'm trying to build the dwt2 bitbucket fork. As I understand it, the non-fork version doesn't compile with D2. (at least that's what I've read on this NG). I can't build dwt2 though. The readme says I can use `rake base swt`, so I've tried that: C:\dwt2>rake base swt (in C:/dwt2) Building dwt-base workdir=>C:/dwt2/base/src cat C:/dwt2/rsp | xargs dmd java\text\Collator.d(4): Error: module Comparator is in file 'java\util\Comparator.d' which cannot be read import path[0] = C:/dwt2/base/src import path[1] = C:/dwt2/imp import path[2] = C:\DMD\dmd2\windows\bin\..\..\src\phobos import path[3] = C:\DMD\dmd2\windows\bin\..\..\src\druntime\import import path[4] = C:\dwt2\base\src ar C:/dwt2/rsp> C:/dwt2/olog.txt Building org.eclipse.swt.gtk.linux.x86 workdir=>C:/dwt2/org.eclipse.swt.gtk.linux.x86/src cat C:/dwt2/rsp | xargs dmd org\eclipse\swt\custom\DefaultContent.d(913): 192 is 128 must be parenthesized when nex t to operator& org\eclipse\swt\custom\DefaultContent.d(922): 192 is 128 must be parenthesized when nex t to operator& org\eclipse\swt\graphics\GC.d(537): data.image is null must be parenthesized when next to operator& org\eclipse\swt\internal\c\gtk_unix_print_2_0.d(33): no identifier for declarator inout (s) org\eclipse\swt\internal\image\JPEGDecoder.d(2356): no identifier for declarator inout( el) ar C:/dwt2/rsp> C:/dwt2/olog.txt There doesn't seem to be any Comparator.d file anywhere, although there's a ViewerComparator.d in C:\dwt2\org.eclipse.jface\src\org\eclipse\jface\viewers . Also, I've no idea why I see this line in the output: "Building org.eclipse.swt.gtk.linux.x86". I'm not on Linux. I've added the C:\dwt2\base\src dir as an include in the sc.ini file. This is my sc.ini: [Version] version=7.51 Build 020 [Environment] LIB="% P%\..\lib";\dm\lib DFLAGS="-I% P%\..\..\src\phobos" "-I% P%\..\..\src\druntime\import" -IC:\dwt2\base\src LINKCMD=% P%\link.exe The rakefile dates back 10 months, so maybe I shouldn't even be using it. Anyone managed to make a build on Windows?It's not possible to build the whole thing yet, I just use xfbuild to build instead of the rakefile. Only the Windows code is updated for D2.
Sep 01 2010
torhu Wrote:It's not possible to build the whole thing yet, I just use xfbuild to build instead of the rakefile. Only the Windows code is updated for D2.Is anybody here getting the dwt for D2 workable already?
Oct 21 2010
On 2010-10-21 11:54, Sam Hu wrote:torhu Wrote:I haven't managed to build DWT with D2. -- /Jacob CarlborgIt's not possible to build the whole thing yet, I just use xfbuild to build instead of the rakefile. Only the Windows code is updated for D2.Is anybody here getting the dwt for D2 workable already?
Oct 21 2010
I had it mostly working, but haven't had a chance to work on it for a long time. Will see if I can steal some time to look at it again. What is the current recommended repository to use? On Thu, Oct 21, 2010 at 1:11 PM, Jacob Carlborg <doob me.com> wrote:On 2010-10-21 11:54, Sam Hu wrote:or D2.torhu Wrote:It's not possible to build the whole thing yet, I just use xfbuild to build instead of the rakefile. =C2=A0Only the Windows code is updated f=Is anybody here getting the dwt for D2 workable already?I haven't managed to build DWT with D2. -- /Jacob Carlborg
Oct 21 2010
On 2010-10-21 23:12, Jeremy Powers wrote:I had it mostly working, but haven't had a chance to work on it for a long time. Will see if I can steal some time to look at it again. What is the current recommended repository to use? On Thu, Oct 21, 2010 at 1:11 PM, Jacob Carlborg<doob me.com> wrote:The DWT2 repository: http://hg.dsource.org/projects/dwt2 As you can see on the DWT page the other repositories are deprecated. Actually I haven't tried to build the DWT library yet, I tried to build the Base library which is needed for DWT to work. -- /Jacob CarlborgOn 2010-10-21 11:54, Sam Hu wrote:torhu Wrote:I haven't managed to build DWT with D2. -- /Jacob CarlborgIt's not possible to build the whole thing yet, I just use xfbuild to build instead of the rakefile. Only the Windows code is updated for D2.Is anybody here getting the dwt for D2 workable already?
Oct 22 2010
On 2010-08-31 23:42, Andrej Mitrovic wrote:Hi, I'm trying to build the dwt2 bitbucket fork. As I understand it, the non-fork version doesn't compile with D2. (at least that's what I've read on this NG). I can't build dwt2 though. The readme says I can use `rake base swt`, so I've tried that: C:\dwt2>rake base swt (in C:/dwt2) Building dwt-base workdir=>C:/dwt2/base/src cat C:/dwt2/rsp | xargs dmd java\text\Collator.d(4): Error: module Comparator is in file 'java\util\Comparator.d' which cannot be read import path[0] = C:/dwt2/base/src import path[1] = C:/dwt2/imp import path[2] = C:\DMD\dmd2\windows\bin\..\..\src\phobos import path[3] = C:\DMD\dmd2\windows\bin\..\..\src\druntime\import import path[4] = C:\dwt2\base\src ar C:/dwt2/rsp> C:/dwt2/olog.txt Building org.eclipse.swt.gtk.linux.x86 workdir=>C:/dwt2/org.eclipse.swt.gtk.linux.x86/src cat C:/dwt2/rsp | xargs dmd org\eclipse\swt\custom\DefaultContent.d(913): 192 is 128 must be parenthesized when nex t to operator& org\eclipse\swt\custom\DefaultContent.d(922): 192 is 128 must be parenthesized when nex t to operator& org\eclipse\swt\graphics\GC.d(537): data.image is null must be parenthesized when next to operator& org\eclipse\swt\internal\c\gtk_unix_print_2_0.d(33): no identifier for declarator inout (s) org\eclipse\swt\internal\image\JPEGDecoder.d(2356): no identifier for declarator inout( el) ar C:/dwt2/rsp> C:/dwt2/olog.txt There doesn't seem to be any Comparator.d file anywhere, although there's a ViewerComparator.d in C:\dwt2\org.eclipse.jface\src\org\eclipse\jface\viewers . Also, I've no idea why I see this line in the output: "Building org.eclipse.swt.gtk.linux.x86". I'm not on Linux. I've added the C:\dwt2\base\src dir as an include in the sc.ini file. This is my sc.ini: [Version] version=7.51 Build 020 [Environment] LIB="% P%\..\lib";\dm\lib DFLAGS="-I% P%\..\..\src\phobos" "-I% P%\..\..\src\druntime\import" -IC:\dwt2\base\src LINKCMD=% P%\link.exe The rakefile dates back 10 months, so maybe I shouldn't even be using it. Anyone managed to make a build on Windows?I'm currently updating DWT2 (the official repository) to the latest D1 (linux is currently done). Then I'll update the windows port as well and then I'm going to try to build with D2. -- /Jacob Carlborg
Sep 01 2010