Ncurses deprecated "~master" issue
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Feb 10 12:57:41 PST 2015
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.
More information about the Digitalmars-d-learn
mailing list