www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - dwt-sample draw2d/umlexample.d

reply davidl <davidl 126.com> writes:
windows. tango trunk

dsss build

D:\Digitalmars\dmd\lib\\DD-dwt.lib(InflaterInputStream)
  Error 42: Symbol Undefined  
_D5tango2io7Conduit7Conduit4loadFC5tango2io5model8IConduit11InputStreamAvZAv
--- errorlevel 1
Command D:\Digitalmars\dmd\bin\rebuild.exe returned with code -1, aborting.


dsss build -version=TANGOSVN
D:/Digitalmars/dmd/bin\..\include\d\dwt\internal\win32\WINTYPES.di(7):  
Error: identifier 'LRESULT' is not defined
D:/Digitalmars/dmd/bin\..\include\d\dwt\internal\win32\WINTYPES.di(7):  
Error: LRESULT is used as a type
D:/Digitalmars/dmd/bin\..\include\d\dwt\internal\win32\WINTYPES.di(7):  
Error: identifier 'HWND' is not defined
D:/Digitalmars/dmd/bin\..\include\d\dwt\internal\win32\WINTYPES.di(7):  
Error: HWND is used as a type
D:/Digitalmars/dmd/bin\..\include\d\dwt\internal\win32\WINTYPES.di(7):  
Error: cannot have parameter of type void
Command D:\Digitalmars\dmd\bin\rebuild.exe returned with code 1, aborting.

-- 
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
Aug 06 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
Seems like a not proper rebuild after update to me.
Can you try the -full option and delete the dsss_objs folders and delete 
all dwt related things from dsss/include/d and dsss/lib.

Have you updated tango from svn the last days? There is some change 
going on with the Conduit stuff at the moment.
Aug 06 2008
next sibling parent davidl <davidl 126.com> writes:
在 Wed, 06 Aug 2008 21:07:28 +0800,Frank Benoit  
<keinfarbton googlemail.com> 写道:

 Seems like a not proper rebuild after update to me.
 Can you try the -full option and delete the dsss_objs folders and delete  
 all dwt related things from dsss/include/d and dsss/lib.

 Have you updated tango from svn the last days? There is some change  
 going on with the Conduit stuff at the moment.
Yep, I updated tango. and the culprit is the conduit stuff not removed by dsss install /include/d/tango/io/Conduit.di the di file is the culprit to make the dwt compile without any problem, which is actually not there any longer. -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
Aug 06 2008
prev sibling parent reply davidl <davidl 126.com> writes:
在 Wed, 06 Aug 2008 21:07:28 +0800,Frank Benoit  
<keinfarbton googlemail.com> 写道:

 Seems like a not proper rebuild after update to me.
 Can you try the -full option and delete the dsss_objs folders and delete  
 all dwt related things from dsss/include/d and dsss/lib.

 Have you updated tango from svn the last days? There is some change  
 going on with the Conduit stuff at the moment.
The problem now is(after tweaking all Conduit to .device. prefixed): tango.core.Exception.IllegalElementException: Attempt to include invalid key _in Collection So collection patch still required? -- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
Aug 06 2008
parent Frank Benoit <keinfarbton googlemail.com> writes:
davidl schrieb:
 在 Wed, 06 Aug 2008 21:07:28 +0800,Frank Benoit 
 <keinfarbton googlemail.com> 写道:
 
 Seems like a not proper rebuild after update to me.
 Can you try the -full option and delete the dsss_objs folders and 
 delete all dwt related things from dsss/include/d and dsss/lib.

 Have you updated tango from svn the last days? There is some change 
 going on with the Conduit stuff at the moment.
The problem now is(after tweaking all Conduit to .device. prefixed): tango.core.Exception.IllegalElementException: Attempt to include invalid key _in Collection So collection patch still required?
Actually i am reworking all collection use in dwtx. I am implementing a wrapper for the java.util. collections that use the new tango.util.ocntainers. This will hopefully fix those problems and make dwtx more independant from the tango container impl. And it will probably introduce new bugs :)
Aug 06 2008