Hello everyone. I'm new to Lazarus and object pascal and I have a problem with a console app that cannot find a system unit.
I installed Lazarus 2.2.2 for Win64 on Windows 10 64bit.
I created a test console application:
program consol;
uses Windows, ncurses;
begin
SetConsoleOutputCP(CP_UTF8);
writeln('Hello, world.');
readln;
end.
I get the error message
consol.lpr(3,15) Fatal: Cannot find ncurses used by consol of the Project Inspector.
I see that the unit does exist in the
C:\lazarus\fpc\3.2.2\source\packages\ncurses
directory though.
How can I integrate it so that the compiler sees it?
TIA