FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Building dwt

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> DWT
View previous topic :: View next topic  
Author Message
kenshiro55



Joined: 21 Mar 2007
Posts: 3

PostPosted: Sat Apr 07, 2007 1:09 pm    Post subject: Building dwt Reply with quote

I'm trying to build dwt with dmd 1.010 and bud_win_3.04.

I extracted the files in my dmd folder.
I modified DFLAGS in the sc.ini:
Code:

DFLAGS="-I%@P%\..\src\phobos;%@P%\..\import"


When I run make-dwt-lib.bat, I get this error:

Code:

E:\d\dmd\import>make-dwt-lib.bat
deleting old intermediate files ...

E:\d\dmd\import>del *.obj *.map *.rsp *.lsp *.ksp *.def /s /q
Could Not Find E:\d\dmd\import\*.obj
Build release version ...

E:\d\dmd\import>bud_win_3.04 -release -O -clean -inline  -lib -full -allobj dwt\all.d -T..\lib\dwt.lib -version=OLE_COM -version=DRAG_DROP
dwt\accessibility\accessible.d(507): Error: cannot implicitly convert expression (cast(IUnknown)(this.objIAccessible)) of type std.c.windows.com.IUnknown to void*
dwt\accessibility\accessible.d(513): Error: cannot implicitly convert expression (cast(IDispatch)(this.objIAccessible)) of type dwt.internal.ole.win32.OAIDL.IDispatch to void*
dwt\accessibility\accessible.d(519): Error: cannot implicitly convert expression (cast(IAccessible)(this.objIAccessible)) of type dwt.internal.ole.win32.ifs.IAccessible to void*
dwt\accessibility\accessible.d(525): Error: cannot implicitly convert expression (cast(IEnumVARIANT)(this.objIEnumVARIANT)) of type dwt.internal.ole.win32.ifs.IEnumVARIANT to void*
dwt\accessibility\accessible.d(1164): Error: cannot implicitly convert expression ((cast(Accessible)nextItem).objIAccessible) of type dwt.accessibility.accessible._IAccessibleImpl to void*
-----------------------------------------
Build debug version ...

E:\d\dmd\import>bud_win_3.04 -debug -g -unittest -clean  -lib -full -allobj dwt\all.d -T..\lib\dwtd.lib  -version=OLE_COM -version=DRAG_DROP
dwt\accessibility\accessible.d(507): Error: cannot implicitly convert expression (cast(IUnknown)(this.objIAccessible)) of type std.c.windows.com.IUnknown to void*
dwt\accessibility\accessible.d(513): Error: cannot implicitly convert expression (cast(IDispatch)(this.objIAccessible)) of type dwt.internal.ole.win32.OAIDL.IDispatch to void*
dwt\accessibility\accessible.d(519): Error: cannot implicitly convert expression (cast(IAccessible)(this.objIAccessible)) of type dwt.internal.ole.win32.ifs.IAccessible to void*
dwt\accessibility\accessible.d(525): Error: cannot implicitly convert expression (cast(IEnumVARIANT)(this.objIEnumVARIANT)) of type dwt.internal.ole.win32.ifs.IEnumVARIANT to void*
dwt\accessibility\accessible.d(1164): Error: cannot implicitly convert expression ((cast(Accessible)nextItem).objIAccessible) of type dwt.accessibility.accessible._IAccessibleImpl to void*
-----------------------------------------
you may need to copy "dwt.lib" "dwtd.lib" to \dmd\lib


Can someone tell me what I did wrong?
Back to top
View user's profile Send private message
un_guru



Joined: 14 Sep 2005
Posts: 32

PostPosted: Sat Apr 07, 2007 2:21 pm    Post subject: Reply with quote

use the -v1 switch

Code:
build -release -O -clean -inline  -d -lib -full -allobj dwt\all.d -T..\lib\dwt.lib -version=OLE_COM -version=DRAG_DROP -v1
Back to top
View user's profile Send private message
bobef



Joined: 05 Jun 2005
Posts: 269

PostPosted: Tue Apr 17, 2007 12:19 pm    Post subject: Reply with quote

I've modified dwt to compile with dmd 1.012. If someone needs it contact me at bobef *at* abv *dot* bg
Back to top
View user's profile Send private message
torhu



Joined: 30 Mar 2006
Posts: 56

PostPosted: Sat May 05, 2007 5:33 am    Post subject: Reply with quote

Does your modified version allow you to build the ANSI version? In that case, I'd be interested.
Back to top
View user's profile Send private message
bobef



Joined: 05 Jun 2005
Posts: 269

PostPosted: Sat May 05, 2007 1:26 pm    Post subject: Reply with quote

I don't know really, I don't need ANSI. It is this: http://myweb.hinet.net/home5/kyovbdx/DWT_for_D1.rar but modified to compile with the latest DMD and have the tables bug fixed (see the DWT forum).
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> DWT All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group