ncurses package was found by CMake without issues. Problem is that it did not include proper directories along with it.
In my environment (MSYS2 64-bit. compiling with MinGW-w64 64-bit compiler on Windows 10), ncurses installed through pacman has its headers under ncurses subfolder and not in root of main include directory of MinGW. This is not properly handled (in my environment at least) and I was forced to modify include in src/imtu-impl-ncurses.cpp@9 to #include <ncurses/ncurses> for it to compile.
Don't know what is proper fix, just throwing this in as a possible solution if someone encounters similar issue.
ncurses package was found by CMake without issues. Problem is that it did not include proper directories along with it.
In my environment (MSYS2 64-bit. compiling with MinGW-w64 64-bit compiler on Windows 10), ncurses installed through pacman has its headers under ncurses subfolder and not in root of main include directory of MinGW. This is not properly handled (in my environment at least) and I was forced to modify include in
src/imtu-impl-ncurses.cpp@9
to#include <ncurses/ncurses>
for it to compile.Don't know what is proper fix, just throwing this in as a possible solution if someone encounters similar issue.