build dwt-win pb

Frank Benoit keinfarbton at googlemail.com
Tue Feb 12 13:38:59 PST 2008


Bjoern schrieb:
> Frank Benoit schrieb:
>> Bjoern schrieb:
>>> have pb to build dwt win. use tango rev 3152, dmd 1025, dwt-win 
>>> snapshot / error in dwterror. Ideas ?
>>> dsss 0.75
>>> WTError line : 146 undefined identifier info ... and so on
>>>
>>> :* Note: printStackTrace(PrintStream) and printStackTrace(PrintWriter)
>>>  * are not provided in order to maintain compatibility with CLDC.
>>>  * </p>
>>>  */
>>> public void printStackTrace () {
>>>     Stderr.formatln( "stacktrace follows (if feature compiled in)" );
>>>  ->   foreach( msg; info ){
>>>         Stderr.formatln( "{}", msg );
>>>     }
>>
>> I believe you have an older tango version as you think. May be there 
>> is a mistake in the include path, or an old copy in dsss. Or at least 
>> you use an old version of the object.di.
>>
>> In tango rev 3145 there was an update that removed the TracedException 
>> and added the functionality in Exception. With that, the Exception has 
>> an "info" member.
> 
> object.di was too old.
> I thought dsss takes care about it.
> 
> Building the lib and simple.exe is working now.
> (Beside using tango rev. 3172)
> The resulting lib is called DD_dwt.lib
> Why ?
> 
> Building the examples however not :
> 
> Cannot read tango_sys_win32\types.d  ....
> I have recognized  that tango_sys_win32 is'nt part off dsss\include\dwt
> I guess thats the problem ...
> 
> Bjoern
> 
> 
> 

tango_sys_win32 is gone, so this should work now. It does for me :)
I added 2 new libs to the import lib zip file again (second time today).

in dwt-win
dsss build dwt
dsss install dwt

in dwt-samples
dsss build -S"path-to-import-libs"




More information about the Digitalmars-d-dwt mailing list