gedumer
Joined: 08 Jun 2007 Posts: 1
|
Posted: Fri Jun 08, 2007 4:48 pm Post subject: Compiling Hello.d |
|
|
I downloaded the latest Windows version of dwt. I copied dwt into c:\dmd as directed in dwt-readme.txt. Modified sc.ini appropriately. I then executed run-build in the misc directory. What I got were thousands of errors. Most related to data types not being defined. For example:
C:\dmd\packages\dwt\examples\misc>c:\dmd\bin\build hello.d -gui -release -O -clean -w -Xdwt -version=OLE_COM
c:\dmd\import\dwt\internal\ole\win32\OBJIDL.d(39): Error: identifier 'DWORD' is not defined
c:\dmd\import\dwt\internal\ole\win32\OBJIDL.d(39): Error: DWORD is used as a type
c:\dmd\import\dwt\internal\ole\win32\OBJIDL.d(39): variable dwt.internal.ole.win32.OBJIDL.COSERVERINFO.dwReserved1 voids have no value
c:\dmd\import\dwt\internal\ole\win32\OBJIDL.d(40): Error: identifier 'LPWSTR' is not defined
c:\dmd\import\dwt\internal\ole\win32\OBJIDL.d(40): Error: LPWSTR is used as a type
Plus, thousands more just like it.
What am I doing wrong? |
|