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
Rob86TA



Joined: 15 Feb 2006
Posts: 6

PostPosted: Wed Feb 15, 2006 3:20 pm    Post subject: Building DWT Reply with quote

I've got the newest DMD 0.146, but I can't build DWT. Is it because of compiler changes? Should I downgrade the compiler, or is DWT being updated?

I get a tonne of errors:
Code:
C:\dmd\dwt\import>build -release -clean -inline -w -lib -full -allobj dwt\all.d
-T..\lib\dwt.lib -version=OLE_COM -version=DRAG_DROP
dwt\internal\win32\wintypes.d(1652): & has no effect in expression (cast(int)(th
is.BITS) & 240)
dwt\dnd\filetransfer.d(131): no property 'unionField' for type 'uSTGMEDIUM'
dwt\dnd\filetransfer.d(131): constant ((transferData).stgmedium).unionField is n
ot an lvalue
dwt\dnd\filetransfer.d(131): cannot implicitly convert expression (newPtr) of ty
pe void* to int
dwt\dnd\filetransfer.d(132): cannot implicitly convert expression (0) of type in
t to std.c.windows.com.IUnknown


And it goes on for a couple screens....
Back to top
View user's profile Send private message
DRobert



Joined: 15 Feb 2006
Posts: 1

PostPosted: Wed Feb 15, 2006 9:49 pm    Post subject: Reply with quote

I have the same problem with dwt-win32-0.35-20060203. What should I do to finish the building?

Code:
D:\DLang\dmd\dwt\import>build -debug -g -unittest -clean -w -lib -full -allobj d
wt\all.d -T..\lib\dwtd.lib  -version=OLE_COM -version=DRAG_DROP
dwt\internal\win32\wintypes.d(1673): & has no effect in expression (cast(int)(th
is.BITS) & 240)
dwt\ole\win32\olecontrolsite.d(749): undefined identifier TVector!(...).remove
dwt\ole\win32\olecontrolsite.d(749): function expected before (), not TVector!(.
..).remove of type void
dwt\ole\win32\olecontrolsite.d(750): undefined identifier TVector!(GUID*).remove

dwt\ole\win32\olecontrolsite.d(750): function expected before (), not TVector!(G
UID*).remove of type void
dwt\ole\win32\olecontrolsite.d(751): undefined identifier TVector!(IUnknown).rem
ove
dwt\ole\win32\olecontrolsite.d(751): function expected before (), not TVector!(I
Unknown).remove of type void
Back to top
View user's profile Send private message
Rob86TA



Joined: 15 Feb 2006
Posts: 6

PostPosted: Wed Feb 15, 2006 9:59 pm    Post subject: Reply with quote

It's 0.146, everything compiles fine with 0.145.

Looks like the fixes to templates have broken the current source.
Back to top
View user's profile Send private message
Rob86TA



Joined: 15 Feb 2006
Posts: 6

PostPosted: Wed Feb 15, 2006 11:52 pm    Post subject: Reply with quote

UPDATE: Still broken in 0.147
Back to top
View user's profile Send private message
Shawn Liu



Joined: 09 Mar 2005
Posts: 104
Location: Shanghai, China

PostPosted: Thu Feb 16, 2006 9:08 am    Post subject: Reply with quote

A "=" missed, Embarassed DMD does right .
Change dwt.internal.win32.wintypes.d line 1673 from:
Code:
{ BITS & 0xF0; BITS |= (val & 0x0F); }

to:
Code:
{ BITS &= 0xF0; BITS |= (val & 0x0F); }


http://trac.dsource.org/projects/dwt/browser/trunk/current/win32/import/dwt/internal/win32/wintypes.d?rev=96#L1673
Back to top
View user's profile Send private message
Rob86TA



Joined: 15 Feb 2006
Posts: 6

PostPosted: Thu Feb 16, 2006 10:56 am    Post subject: Reply with quote

Thanks Shawn!

I'm having a good look through the source just to see what you've done. If I can get a decent block of time, I'd love to help out. Either cleaning up the source, optimising or whatever.

I'd throw my hat in to help JJR write a GTK linux port, but I'm going to have a hard time finding THAT much free time.
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