HelloWorld5 test
Frank Benoit
keinfarbton at googlemail.com
Thu Jul 31 13:35:07 PDT 2008
dolive schrieb:
> I copy dwt-samples\examples HelloWorld5.d to other path, dsss build error:
>
> D:\D\prj\d_722>dsss build
> Hello.d => Hello
> + D:\D\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -ID:\D\dsss\include\d -SD:\
> D\dsss\lib\ -ID:\D\dsss\include\d -SD:\D\dsss\lib -oqdsss_objs\D -g -gc -JD:\D
> \dsss\lib/res -J../res -I.. -L/SUBSYSTEM:console:5 -L/rc:..\dwt Hello.d -ofHello
>
> OPTLINK (R) for Win32 Release 8.00.1
> Copyright (C) Digital Mars 1989-2004 All rights reserved.
> ..\dwt.res
> Warning 2: File Not Found ..\dwt.res
>
>
> but hello.exe is builded and run correct , why Warning ?
> I copy dsss.conf(edited) and dwt.res to this path.
>
> thanks !
Edit the dsss.conf and change
buildflags+= -L/rc:..\dwt
to the correct path. So if dwt.res is located in your current directory:
buildflags+= -L/rc:dwt
If the linker does not find the dwt.res, your application will not have
the typical WinXp look (for example the rounded buttons).
More information about the Digitalmars-d-dwt
mailing list