Tango: Out of Date Installation Instructions

Christopher Wright dhasenan at gmail.com
Sat Feb 21 11:31:47 PST 2009


Benji Smith wrote:
> I just set up a new (Windows) computer, after working with the same 
> DMD/Tango/DWin/DSSS installation for the last six or eight months. And 
> for the life of me, I can't get my code to compile on the new machine.
> 
> The Tango installation instructions seem to be somewhat out of date, 
> since they describe installing tango on top of an existing DMD 
> installation, while the tango distributions for DMD all include the 
> compiler and don't require a pre-existing DMD installation:
> 
> http://dsource.org/projects/tango/wiki/WindowsInstall
> 
> Anyhow, the particular error I'm getting when I try to compile my code 
> (using "dsss build") is this:
> 
>    module FileConduit cannot read file 'tango\io\device\FileConduit.d'

Does tango.io.device.FileConduit still exist? It doesn't in my copy of 
tango.

> This is my sc.ini file (unmodified from the tango install):
> 
> Since it references the "tango-user-dmd.lib" file, I wonder why it even 
> needs to include the FileConduit.d source file. Why doesn't it just use 
> the lib?

You don't need to compile FileConduit, but the frontend needs to know a 
lot of stuff that would be difficult or impossible to get from a .lib 
file -- things like function return types and parameter types, or 
templates. It's basically the same as needing a C header file, even 
though you have the compiled library.



More information about the Digitalmars-d mailing list