|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.dwt - DWT2 getting started problems
I need some help on getting started with dwt2 on windows. I have the DMD/Tango bundle from Tango and have installed the Ruby one click installer to use rake. 1. Do I need to install the "dwt-win-importlibs.zip" for DWT2? 2. What about the "-L+tango-user-dmd.lib" in sc.ini under DFLAGS? 3. Can I use DSSS to build apps or is rake the only one supported? 4. Do I need a rake file to make a program? 5. I have successfully built "rake base swt", but "rake all" fails in the "org.eclipse.text" module. org\eclipse\jface\text\templates\GlobalTemplateVariables.d(172): module java.util.Date is used as a type org\eclipse\jface\text\templates\GlobalTemplateVariables.d(172): Error: new can only create structs, dynamic arrays or class objects, not void's org\eclipse\jface\text\templates\GlobalTemplateVariables.d(172): function com.ibm.icu.text.DateFormat.DateFormat.format (Date) does not match parameter types (void*) org\eclipse\jface\text\templates\GlobalTemplateVariables.d(172): Error: cannot implicitly convert expression (new void) of type void* to java.lang.Long.Long 6. The "rake swtsnippets" gives the following warning on all the snippets: org.eclipse.swt.win32.win32.x86 Warning 2: File Not Found org.eclipse.swt.win32.win32.x86 7. Building snippet [Snippet130a] gives following error: org\eclipse\swt\snippets\Snippet130a.d(64): Error: java.lang.Thread.Thread at C:\dwt2\imp\java\lang\Thread.di(14) conflicts with tango.core.Thread.Thread at c:\dmdny\bin\..\import\tango\core\Thread.di(117) org\eclipse\swt\snippets\Snippet130a.d(64): constructor java.lang.Thread.Thread.this () does not match parameter types (int delegate()) org\eclipse\swt\snippets\Snippet130a.d(64): Error: cannot implicitly convert expression (__dgliteral1) of type int delegate() to char[] Thanks for any help! May 08 2009
Kristoffer schrieb:1. Do I need to install the "dwt-win-importlibs.zip" for DWT2? May 08 2009
|