Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couldn't find ncurses.h, package found by CMake #1

Closed
WSSDude opened this issue Dec 10, 2019 · 2 comments
Closed

Couldn't find ncurses.h, package found by CMake #1

WSSDude opened this issue Dec 10, 2019 · 2 comments
Labels
question Further information is requested

Comments

@WSSDude
Copy link

WSSDude commented Dec 10, 2019

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.

@ggerganov
Copy link
Owner

ggerganov commented Dec 11, 2019

Thanks, I'll take a look if your solution works on Mac and Linux and will merge.

@GautamDMan
Copy link

GautamDMan commented Dec 16, 2019

try this on ubuntu in wsl on windows >>

sudo apt-get install libcurl4-gnutls-dev libncurses5-dev

@ggerganov ggerganov added the question Further information is requested label Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants