www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - HelloWorld5 test

reply dolive <dolive89 sian.com> writes:
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 !
Jul 31 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
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).
Jul 31 2008
parent dolive <dolive89 sian.com> writes:
Frank Benoit Š“µ½:

 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).
is ok now£¬thanks £”
Jul 31 2008