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

can't install std2

 
Post new topic   Reply to topic     Forum Index -> std2
View previous topic :: View next topic  
Author Message
lafoldes



Joined: 11 Jan 2008
Posts: 4

PostPosted: Fri Jan 11, 2008 3:58 pm    Post subject: can't install std2 Reply with quote

When I try to install the std2 library, I get the error messages below.

I use dmd 1.018, dsss 0.73, and command line 'dsss net install std2'

Can someone help me?

-------------------------------------------------------


Code:
std2\traits.d(456): variable N forward referenced
std2\traits.d(456): Error: Integer constant expression expected instead of N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\bitmanip.d(113): Error: cannot evaluate createAccessors() at compile time
std2\bitmanip.d(167): Error: cannot evaluate createFields() at compile time
std2\bitmanip.d(113): Error: cannot evaluate createAccessors() at compile time
std2\bitmanip.d(167): Error: cannot evaluate createFields() at compile time
std2\traits.d(456): variable N forward referenced
std2\traits.d(456): Error: Integer constant expression expected instead of N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): variable N forward referenced
std2\traits.d(456): Error: Integer constant expression expected instead of N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): variable N forward referenced
std2\traits.d(456): Error: Integer constant expression expected instead of N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): variable N forward referenced
std2\traits.d(456): Error: Integer constant expression expected instead of N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): variable N forward referenced
std2\traits.d(456): Error: Integer constant expression expected instead of N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): variable N forward referenced
std2\traits.d(456): Error: Integer constant expression expected instead of N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): variable N forward referenced
std2\traits.d(456): Error: Integer constant expression expected instead of N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): variable N forward referenced
std2\traits.d(456): Error: Integer constant expression expected instead of N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
std2\traits.d(456): Error: Integer constant expression expected instead of cast(uint)N
Command C:\DSSS\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.
Back to top
View user's profile Send private message
baxissimo



Joined: 23 Oct 2006
Posts: 241
Location: Tokyo, Japan

PostPosted: Fri Jan 18, 2008 2:19 pm    Post subject: Reply with quote

I'll look into it, but first thing I'd try is to upgrade to more recent DMD.

--bb
Back to top
View user's profile Send private message
baxissimo



Joined: 23 Oct 2006
Posts: 241
Location: Tokyo, Japan

PostPosted: Fri Jan 18, 2008 7:16 pm    Post subject: Reply with quote

I just tried a fresh install with DMD 1.025 / DSSS 0.73, and it installed and compiled fine.

So it looks like a newer DMD is needed.

If you can't switch to newer DMD, then just check out the std2 source from dsource via SVN. It doesn't really have to be installed by dsss.

Alternatively you can check it out from dsource, and change the type to "sourcelibrary" in dsss.conf and do dsss install from there. That will just install the source without trying to compile a library.

--bb


Last edited by baxissimo on Sat Jan 19, 2008 3:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
lafoldes



Joined: 11 Jan 2008
Posts: 4

PostPosted: Sat Jan 19, 2008 12:18 pm    Post subject: Reply with quote

Thanks, I've upgraded to DMD 1.025 / DSSS 0.75, and everything works fine.

(I didn't notice the fact, that DSSS is somehow stuck to DMD version 1.018 when I try to upgrade dmd itself, via 'dsss net install dmd' command line... Sad )

lafoldes
Back to top
View user's profile Send private message
samsam698



Joined: 10 Jan 2008
Posts: 63

PostPosted: Thu May 28, 2009 3:40 am    Post subject: Reply with quote

Hello,

Just wanna know whether this project is still active ,any plan to update to newer version of d2 or not.

Thanks a lot.

Regards,
Sam
Back to top
View user's profile Send private message
Yoschi



Joined: 27 Dec 2009
Posts: 6
Location: Germany

PostPosted: Sun Dec 27, 2009 1:24 pm    Post subject: Can't install std2 with dmd 1.030 Reply with quote

Hello,

I'm trying to install std2 with dsss.
But I get following errors:

Code:

yoschi@yoschis-laptop:~/std2$ dsss build
Default prefix /usr is unwritable, using /home/yoschi/d instead.
Creating imports for std2

std2 => std2
/usr/local/include/d1/phobos/std/math.d(963): number is not representable
/usr/local/include/d1/phobos/std/math.d(963): number is not representable
std2/traits.d(461): static assert  is false
/usr/local/include/d1/phobos/std/conv.d(1001): number is not representable
/usr/local/include/d1/phobos/std/math.d(963): number is not representable
std2/conv.d(1470): number is not representable
/usr/local/include/d1/phobos/std/conv.d(1001): number is not representable
std2/encoding.d(315): template instance encode!(char) matches more than one template declaration, encode(E) and encode(E)
std2/encoding.d(315): Error: template instance 'encode!(char)' is not a variable
std2/encoding.d(315): Error: function expected before (), not encode!(char) of type int
std2/encoding.d(315): Error: cannot implicitly convert expression ((encode!(char))(d)) of type int to char[]
std2/encoding.d(1663): template instance std2.encoding.codeUnits!(char) error instantiating
std2/encoding.d(2135): Error: function expected before (), not 0 of type int
std2/encoding.d(2135): Error: cannot implicitly convert expression (0(c)) of type int to bool
std2/encoding.d(2140): Error: function expected before (), not 0 of type int
/usr/local/include/d1/phobos/std/math.d(963): number is not representable
/usr/local/include/d1/phobos/std/conv.d(1001): number is not representable
std2/conv.d(1470): number is not representable
std2/conv.d(1470): number is not representable
/usr/local/include/d1/phobos/std/math.d(963): number is not representable
/usr/local/include/d1/phobos/std/math.d(963): number is not representable
std2/conv.d(1470): number is not representable
/usr/local/include/d1/phobos/std/math.d(963): number is not representable
/usr/local/include/d1/phobos/std/conv.d(1001): number is not representable
std2/conv.d(1470): number is not representable
std2/encoding.d(1736): template instance encode!(dchar) matches more than one template declaration, encode(E) and encode(E)
std2/encoding.d(1736): Error: template instance 'encode!(dchar)' is not a variable
std2/conv.d(1470): number is not representable
/usr/local/include/d1/phobos/std/math.d(963): number is not representable
Command /usr/bin/rebuild returned with code 256, aborting.
Error: Command failed, aborting.


Can someone help me?

Thanks a lot,
Yoschi[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> std2 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