On Thursday, 29 March 2012 at 04:01:49 UTC, Jesse Phillips wrote:
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.

Thank you for your patience with me. I now have the following simple test code:

import scid.matrix;

void main() {}

Then I run and get the following error:

$ dmd -I/usr/local/src main.d
Undefined symbols:
  "_D4scid6matrix12__ModuleInfoZ", referenced from:
      _D4main12__ModuleInfoZ in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
--- errorlevel 1

Thank you for your help!

TJB

Reply via email to