Thread overview | |||||
---|---|---|---|---|---|
|
July 31, 2008 HelloWorld5 test | ||||
---|---|---|---|---|
| ||||
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 ! |
July 31, 2008 Re: HelloWorld5 test | ||||
---|---|---|---|---|
| ||||
Posted in reply to dolive | 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).
|
August 01, 2008 Re: HelloWorld5 test | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit | 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 £¡
|
Copyright © 1999-2021 by the D Language Foundation