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

Help: meet an error for 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
koofeng2008



Joined: 24 Apr 2008
Posts: 1

PostPosted: Thu Apr 24, 2008 11:18 am    Post subject: Help: meet an error for building dwt Reply with quote

hi,
When I build DWT-Win according the instruction on http://www.dsource.org/projects/dwt/wiki/Installation with command "dsss build", an error occured as below:
C:\SW\D\v1\dmd\import\tango-bin-win32-CURRENT-dmd.1.028\bin\..\import\tango\core\Traits.d(140): Error: void initializer has no value
C:\SW\D\v1\dmd\import\tango-bin-win32-CURRENT-dmd.1.028\bin\..\import\tango\core\Traits.d(151): Error: Integer constant expression expected instead of 0.length
C:\SW\D\v1\dmd\import\tango-bin-win32-CURRENT-dmd.1.028\bin\..\import\tango\core\Traits.d(151): Error: Integer constant expression expected instead of 0.length
C:\SW\D\v1\dmd\import\tango-bin-win32-CURRENT-dmd.1.028\bin\..\import\tango\core\Traits.d(151): Error: Integer constant expression expected instead of 0.length
C:\SW\D\v1\dmd\import\tango-bin-win32-CURRENT-dmd.1.028\bin\..\import\tango\core\Traits.d(322): template instance tango.core.Traits.isStaticArrayType!(char[]) error insta
ntiating

The build was failed finally.

And the dsss version I used is "dsss-0.75-dmd-win", the version for Tango with DMD is "tango-bin-win32-CURRENT-dmd.1.028", the source code for dwt-win is the snapshot "dwt-win-2b361bf0dfe1"

This issue is happened in the code of Traits.d which at tango-bin-win32-CURRENT-dmd.1.028\import\tango\core as below
private template isStaticArrayTypeInst( T )
{
const T isStaticArrayTypeInst = void;
}

If you know the root cause or the way to build it successfully, pls give a hand, thanks!

BRs,
Koo
Back to top
View user's profile Send private message
keinfarbton



Joined: 03 Dec 2005
Posts: 224
Location: Stuttgart - Germany

PostPosted: Tue May 06, 2008 5:22 pm    Post subject: Reply with quote

I have not seen this problem before. Have you solved it meanwhile?
Perhaps dsss buid -v gives you more of a hint about the error location.

Note: please use the dwt newsgroup instead of this 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