On 01/30/2014 01:28 PM, Martijn Pot wrote:
I'm starting to use D out of curiousity. I've used both Eclipse + DDT
and Visual Studio + visualD and both give the same error in my second
test program (second to Hello World of course...) using the
Transmogrifier/CardboardBox example from TDPL :

  Error 42: Symbol Undefined _D1a14Transmogrifier12transmogrifyMFZv
(void a.Transmogrifier.transmogrify())

Am I not linking module a (containing Transmogrifier and CardboardBox)?
How can I get either or both IDE's running my test program?

You must include a.d on the build line.

  dmd a.d main.d ...

Ali

Reply via email to