www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Help compiling MicroEmacs

reply Gabriel <gabriel.gibaut gmail.com> writes:
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!
Nov 21 2022
parent mw <mingwu gmail.com> writes:
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.
Nov 21 2022