about dwt-samples\jface\Librarian.d

Frank Benoit keinfarbton at googlemail.com
Thu Aug 14 05:03:42 PDT 2008


davidl schrieb:
> 在 Thu, 14 Aug 2008 19:24:53 +0800,dolive <dolive89 at 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.


More information about the Digitalmars-d-dwt mailing list