build dwt-win pb

Bjoern nanali at nospam-wanadoo.fr
Tue Feb 12 03:27:12 PST 2008


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





More information about the Digitalmars-d-dwt mailing list