On Wednesday, 7 August 2013 at 15:42:32 UTC, Jacob Carlborg wrote:
On 2013-08-07 16:04, JohnnyK wrote:

Well now I get these errors

C:\Users\<myusername>\Documents\My
Projects\Programming\DStuff\dwthelloworld>rdmd -I
C:\GITClones\dwt\org.eclipse.swt.win32.win32.x86\src
-IC:\GITClones\dwt\base\src
 hello.d
C:\GITClones\dwt\base\src\java\lang\util.d(595): Error: need -Jpath
switch to im
port text file org.eclipse.swt.internal.SWTMessages.properties
C:\GITClones\dwt\org.eclipse.swt.win32.win32.x86\src\org\eclipse\swt\internal\Co

Forgot about the -J flag. Add:

-JC:\GITClones\dwt\org.eclipse.swt.win32.win32.x86\res

To the result of the flags (before hello.d).


Still no love for me from DWT :(

C:\Users\<myusername>\Documents\My Projects\Programming\DStuff\dwthelloworld>rdmd -I C:\GITClones\dwt\org.eclipse.swt.win32.win32.x86\src -IC:\GITClones\dwt\base\src
 -JC:\GITClones\dwt\org.eclipse.swt.win32.win32.x86\res hello.d
OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
olepro32.lib
 Warning 2: File Not Found olepro32.lib
oleacc.lib
 Warning 2: File Not Found oleacc.lib
usp10.lib
 Warning 2: File Not Found usp10.lib
msimg32.lib
 Warning 2: File Not Found msimg32.lib
opengl32.lib
 Warning 2: File Not Found opengl32.lib
shlwapi.lib
 Warning 2: File Not Found shlwapi.lib
dwt-base.lib
 Warning 2: File Not Found dwt-base.lib
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _CreateStdAccessibleObject@16
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _LresultFromObject@12
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _TransparentBlt@44
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _AlphaBlend@44
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptFreeCache@4
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptCPtoX@36
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptTextOut@56
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptJustify@24
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptLayout@16
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptGetLogicalWidths@28
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptBreak@16
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptShape@40
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptGetFontProperties@12
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptGetCMap@24
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptPlace@36
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptStringFree@4
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptStringOut@32
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptStringAnalyse@52
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptApplyDigitSubstitution@12
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptRecordDigitSubstitution@8
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptItemize@28
C:\Users\<myusername>\AppData\Local\Temp\.rdmd\rdmd-hello.d-096034CD5310F89CCCDCE879
E0E32294\objs\hello.obj(hello)
 Error 42: Symbol Undefined _ScriptGetProperties@8
--- errorlevel 22

C:\Users\<myusername>\Documents\My Projects\Programming\DStuff\dwthelloworld>

It looks to be unable to find the static libs now. How do people use this library? Do they work in the dwt folder and just use that build.d file to compile with? Again I would like to know the layout of a typical programmers workstation that uses DWT for the GUI parts of their application? Is anyone using DWT today? I appreciate all your help Jacob but I didn't think it would be this hard or take this long just to build and compile a program that just shows a window. Has anyone ever tried to install D and DWT on a virgin machine then start a clean project to build a simple application like this before? Maybe there is something I need to add to my PATH environment variable or something like that which would make this easier? The command line is longer than the code I am trying to compile at this point.

Reply via email to