On Tuesday, 10 February 2015 at 20:50:28 UTC, Paul wrote:
test.o: In function `_Dmain':
test.d:(.text._Dmain+0x13): undefined reference to `_D8terminal8Terminal6__initZ'

If you see 'undefined reference' it means some library wasn't passed to the compiler. Easiest fix is usually to add the .d files to the command line so:

dmd yourfile.d terminal.d

with both passed together should build successfully.

BTW only the first argument to Terminal() is required, the others have sane defaults.

Reply via email to