Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
February 11, 2008 build dwt-win pb | ||||
---|---|---|---|---|
| ||||
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 ); } |
February 11, 2008 Re: build dwt-win pb | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bjoern | 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.
|
February 12, 2008 Re: build dwt-win pb | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit | 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
|
February 12, 2008 Re: build dwt-win pb | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit | 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.
Okay solved, incl. examples . old object.di, modified sc.ini
Last problem :
ControlExample can't find resource file... So do I;
|
February 12, 2008 Re: build dwt-win pb | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bjoern | > Okay solved, incl. examples . old object.di, modified sc.ini
> Last problem :
> ControlExample can't find resource file... So do I;
Meanwhile we do not need the resource file anymore.
I fixed the dsss.conf of dwt-samples.
Thx for report.
|
February 12, 2008 Re: build dwt-win pb | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bjoern | 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"
|
Copyright © 1999-2021 by the D Language Foundation