Thread overview
about dwt-samples\jface\Librarian.d
Aug 14, 2008
dolive
Aug 14, 2008
davidl
Aug 14, 2008
Frank Benoit
Aug 14, 2008
dolive
August 14, 2008
Librarian.d in dwt-samples\jface path build is ok,but copy to my project path build is error:

D:\D\prj\>dsss build -full -JD:\D\dwt-addons\res

Removing Librarian

Librarian.d => Librarian
+ D:\D\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -ID:\D\dsss\include\d -SD:\
D\dsss\lib\ -full -JD:\D\dwt-addons\res  -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 Librarian.d -ofLibrarian
D:\D\dwt-win\dwt\dwthelper\utils.d(1003): Error: file "jface.librarian.save.gif"
 cannot be found, check -Jpath
D:\D\dwt-win\dwt\dwthelper\utils.d(1003): Error: cannot evaluate opCall("","jfac
e.librarian.save.gif") at compile time
D:\D\dwt-win\dwt\dwthelper\utils.d(495): template instance dwt.dwthelper.utils.g
etImportData!("jface.librarian.save.gif") error instantiating
Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.

thanks !

my project path haven dwt.res file

August 14, 2008
在 Thu, 14 Aug 2008 19:24:53 +0800,dolive <dolive89@sian.com> 写道:

> Librarian.d in dwt-samples\jface path build is ok,but copy to my project path build is error:
>
> D:\D\prj\>dsss build -full -JD:\D\dwt-addons\res
>
> Removing Librarian
>
> Librarian.d => Librarian
> + D:\D\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -ID:\D\dsss\include\d -SD:\
> D\dsss\lib\ -full -JD:\D\dwt-addons\res  -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 Librarian.d -ofLibrarian
> D:\D\dwt-win\dwt\dwthelper\utils.d(1003): Error: file "jface.librarian.save.gif"
>  cannot be found, check -Jpath
> D:\D\dwt-win\dwt\dwthelper\utils.d(1003): Error: cannot evaluate opCall("","jfac
> e.librarian.save.gif") at compile time
> D:\D\dwt-win\dwt\dwthelper\utils.d(495): template instance dwt.dwthelper.utils.g
> etImportData!("jface.librarian.save.gif") error instantiating
> Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting.
> Error: Command failed, aborting.
>
> thanks !
>
> my project path haven dwt.res file
>

I think you should specify the dwt-samples\res

Error: file "jface.librarian.save.gif" cannot be found, check -Jpath <-- this is quite clear

jface.librarian.save.gif can be found in dwt-samples\res

-JD:\D\dwt-samples\res should work, if I get your dwt-samples path correctly.



-- 
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
August 14, 2008
davidl schrieb:
> 在 Thu, 14 Aug 2008 19:24:53 +0800,dolive <dolive89@sian.com> 写道:
> 
>> Librarian.d in dwt-samples\jface path build is ok,but copy to my project path build is error:
>>
>> D:\D\prj\>dsss build -full -JD:\D\dwt-addons\res
>>
>> Removing Librarian
>>
>> Librarian.d => Librarian
>> + D:\D\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -ID:\D\dsss\include\d -SD:\
>> D\dsss\lib\ -full -JD:\D\dwt-addons\res  -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 Librarian.d -ofLibrarian
>> D:\D\dwt-win\dwt\dwthelper\utils.d(1003): Error: file "jface.librarian.save.gif"
>>  cannot be found, check -Jpath
>> D:\D\dwt-win\dwt\dwthelper\utils.d(1003): Error: cannot evaluate opCall("","jfac
>> e.librarian.save.gif") at compile time
>> D:\D\dwt-win\dwt\dwthelper\utils.d(495): template instance dwt.dwthelper.utils.g
>> etImportData!("jface.librarian.save.gif") error instantiating
>> Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting.
>> Error: Command failed, aborting.
>>
>> thanks !
>>
>> my project path haven dwt.res file
>>
> 
> I think you should specify the dwt-samples\res
> 
> Error: file "jface.librarian.save.gif" cannot be found, check -Jpath <-- this is quite clear
> 
> jface.librarian.save.gif can be found in dwt-samples\res
> 
> -JD:\D\dwt-samples\res should work, if I get your dwt-samples path correctly.
> 
> 
> 

This is already specified in the dwt-samples/jface/dsss.conf
That is why it worked ok in the original build location.
August 14, 2008
Frank Benoit дµ½:

> davidl schrieb:
> > 圁 Thu, 14 Aug 2008 19:24:53 +0800,dolive <dolive89@sian.com> 写道:
> > 
> >> Librarian.d in dwt-samples\jface path build is ok,but copy to my project path build is error:
> >>
> >> D:\D\prj\>dsss build -full -JD:\D\dwt-addons\res
> >>
> >> Removing Librarian
> >>
> >> Librarian.d => Librarian
> >> + D:\D\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\
> >> -ID:\D\dsss\include\d -SD:\
> >> D\dsss\lib\ -full -JD:\D\dwt-addons\res  -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 Librarian.d -ofLibrarian
> >> D:\D\dwt-win\dwt\dwthelper\utils.d(1003): Error: file
> >> "jface.librarian.save.gif"
> >>  cannot be found, check -Jpath
> >> D:\D\dwt-win\dwt\dwthelper\utils.d(1003): Error: cannot evaluate
> >> opCall("","jfac
> >> e.librarian.save.gif") at compile time
> >> D:\D\dwt-win\dwt\dwthelper\utils.d(495): template instance
> >> dwt.dwthelper.utils.g
> >> etImportData!("jface.librarian.save.gif") error instantiating
> >> Command D:\D\dsss\bin\rebuild.exe returned with code 1, aborting.
> >> Error: Command failed, aborting.
> >>
> >> thanks !
> >>
> >> my project path haven dwt.res file
> >>
> > 
> > I think you should specify the dwt-samples\res
> > 
> > Error: file "jface.librarian.save.gif" cannot be found, check -Jpath <-- this is quite clear
> > 
> > jface.librarian.save.gif can be found in dwt-samples\res
> > 
> > -JD:\D\dwt-samples\res should work, if I get your dwt-samples path correctly.
> > 
> > 
> > 
> 
> This is already specified in the dwt-samples/jface/dsss.conf That is why it worked ok in the original build location.


I change dsss.conf file ,specifie res path to d:\d\dwt-samples\res,build is ok, thanks davidl ! thanks Frank !