6 days ago

Hello,

I´m trying to build med in Windows 10 from github code but I´m getting the following link errors:

console.obj : error LNK2019: unresolved external symbol _disp_open referenced in function __D7console4TERM6t_openMFZv
console.obj : error LNK2019: unresolved external symbol _disp_setcursortype referenced in function __D7console4TERM6t_openMFZv
console.obj : error LNK2019: unresolved external symbol _disp_state referenced in function __D7console4TERM6t_openMFZv

And and bunch more, all "_disp_xxx".

Any idea?

Thanks!

6 days ago

On Monday, 21 November 2022 at 22:43:02 UTC, Gabriel wrote:

>

Hello,

I´m trying to build med in Windows 10 from github code but I´m getting the following link errors:

console.obj : error LNK2019: unresolved external symbol _disp_open referenced in function __D7console4TERM6t_openMFZv
console.obj : error LNK2019: unresolved external symbol _disp_setcursortype referenced in function __D7console4TERM6t_openMFZv
console.obj : error LNK2019: unresolved external symbol _disp_state referenced in function __D7console4TERM6t_openMFZv

And and bunch more, all "_disp_xxx".

Any idea?

https://digitalmars.com/rtl/disp.html

You need to link with some dmd library.