Issue: Installing D
Chris Miller
lordSaurontheGreat at gmail.com
Tue Feb 19 20:24:08 PST 2008
Bill Baxter Wrote:
> Chris Miller wrote:
> > Chris Miller Wrote:
> > I attempted to install this stuff to a flash drive while at school. It didn't work on the derelict install. I thought it was related to the weird nature of the school machines, but when the error happened again at home... I knew something was wrong. During dsss net install derelict this happens:
> >
> > .. lots of stuff we don't care about ...
> > Exported revision 282.
> > Creating imports for DerelictUtil
> >
> > derelict => DerelictUtil
> > + C:\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\dsss\include\d -SC:\dsss
> > \lib\ -IC:\dsss\include\d -SC:\dsss\lib -oqdsss_objs\D -explicit -lib derelic
> > t\util\exception.d derelict\util\loader.d derelict\util\wintypes.d derelict\util
> > \wrapper.d -ofDerelictUtil.lib
> > derelict\util\wrapper.d(71): Error: undefined identifier fromStringz
> > derelict\util\wrapper.d(71): Error: function expected before (), not fromStringz
> > of type int
> > derelict\util\wrapper.d(71): Error: cannot implicitly convert expression (fromSt
> > ringz(cstr)) of type int to char[]
> > Command C:\dsss\bin\rebuild.exe returned with code 1, aborting.
> > Error: Command failed, aborting.
> >
> > It seems to be choking on the compile, screaming something about the source it's trying to compile in its final moments.
> >
> > I have a few hypotheses:
> >
> > 1) Derelict isn't Tango-compatible. Move back to Phobos, compile Derelict, move back to Tango.
> > 2) The sources dsss downloaded don't compile anyways. Manually check out a previous revision, or wait for someone to fix it.
>
> fromStringz is a function in the latest SVN of Tango.
> It called fromUtf8z in the 0.99.4 Tango "Frank" release.
>
> dsss net install generally downloads latest sources from dsource, so I
> suspect what happened is that SVN Derelict has been fixed to work with
> SVN tango, but you are using the release Tango.
>
> You can either get Tango from SVN and build it,
> Or you can maybe find a tarball of Derelict that's compatible with
> 0.99.4 tango and install that.
Hmm, I don't know. The version file says it's a compatible version (I think.) It says version 0.995, which is >0.994, so it should work (right?)
excerpt from Version.d:
module tango.core.Version;
public const Tango = 0.995f;
More information about the Digitalmars-d-learn
mailing list