On Sunday, 27 January 2013 at 20:24:38 UTC, rsk82 wrote:
On Sunday, 27 January 2013 at 20:13:05 UTC, Daniel Kozak wrote:
should be

class myClass {
  this() {

  }
}

Thanks, that killed the original error. Now the linker says:

OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
t3.obj(t3)
Error 42: Symbol Undefined _D11myClass_mod7myClass6__ctorMFZC11myClass_mod7myClass
t3.obj(t3)
 Error 42: Symbol Undefined _D11myClass_mod7myClass7__ClassZ
--- errorlevel 2


@Namespace: ok, I will post my new topics there, but I like to end with this issue and not create another topic for that.

You need to put myClass_mod.d (or what ever the file name is) on the command line. You could also use rdmd, which will find all the imported files automatically.

Reply via email to