Termux-packages: #include <ncurses.h>: File not found

Created on 14 Apr 2018  路  2Comments  路  Source: termux/termux-packages

Hi, I'm a newbie in programming and started to practice with c++ and Linux about an year ago. The problem I'm getting is that I don't know how to include this library. At first I tried

  • apt install ncurses

Seeing it was already updated to the last version, I tried to build my program using

  • g++ prog.cpp

The error that appeared is the one in the title.
I then gave a look into the /usr/include folder and didn't find any ncurses.h file. Looking into /usr/lib, though, there actually is libncurses.so.
How do I solve this problem?

Most helpful comment

apt install ncurses-dev

All 2 comments

apt install ncurses-dev

Thank you very much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

reggi picture reggi  路  4Comments

Zuccace picture Zuccace  路  3Comments

divyakutty picture divyakutty  路  3Comments

Wetitpig picture Wetitpig  路  3Comments

loveablefellow007 picture loveablefellow007  路  3Comments