I’m trying to compile this code for a class, but an error is preventing the program from compiling.
This is what I get when I try to compile the program with #include <ncurses/ncurses.h> at the top of the c file:
fatal error: ncurses/ncurses.h: No such file or directory
i tried to install: sudo apt-get install libncurses5-dev
and the terminal says:
Reading package lists… Done
Building dependency tree
Reading state information… Done
libncurses5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 163 not upgraded.
but the program still doesn’t compile.
Please let me know if you know how to resolve this. Thank you.