www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - about dwt-samples\jface\Librarian.d

reply dolive <dolive89 sian.com> writes:
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
Aug 14 2008
parent reply davidl <davidl 126.com> writes:
在 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/
Aug 14 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
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.
Aug 14 2008
parent dolive <dolive89 sian.com> writes:
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 !
Aug 14 2008