I am using this program https://github.com/aviikc/CIS2500_fileeditor. There exists a ncurses
and ncursesw
folder in c:MinGW/include
.
but running
gcc -Wall -pedantic -std=c99 ./src/fileeditor.c -Iinclude -lncurses -o ./bin/output
its throws an error:
gcc -Wall -pedantic -std=c99 ./src/fileeditor.c -Iinclude -lncurses -o ./bin/output
In file included from ./src/fileeditor.c:1:
include/fileeditor.h:1:10: fatal error: ncurses.h: No such file or directory
#include <ncurses.h>
^~~~~~~~~~~
compilation terminated.
make: *** [makefile:2: all] Error 1
I understand its not being able to find the library.
I had used mingw-get
install ncurses
and mingw-get
install pdcurses to install. Can someone please guide. Its a possibility I've messed up the whole program. I'm new to c and c++. My intention was to create a hangman like game with a text user interface.