Installing Modules

Jesse Phillips jessekphillips+D at gmail.com
Wed Mar 28 21:01:48 PDT 2012


On Thursday, 29 March 2012 at 03:02:27 UTC, TJB wrote:
> Okay.  I tried this.  I think I am close.  I followed the 
> instructions that you gave (thanks btw)!
> But, I get this error message:
>
> $ dmd -I/usr/local/src main.d
> main.d(1): Error: module scid is in file 'scid.d' which cannot 
> be read
> import path[0] = /usr/local/src
> import path[1] = /Users/name/dmd2/src/phobos
> import path[2] = /Users/name/dmd2/src/druntime/import
>
> Thoughts?
>
> Thanks!
>
> TJB

You don't import scid; as that is just a package, you need a 
module such as:

import scid.matrix;

but it will truely depend on which modules you need for the code 
you are writing.


More information about the Digitalmars-d-learn mailing list