clbr / radeontop

GNU General Public License v3.0
785 stars 69 forks source link

Fatal error: ncurses.h: No such file or directory on compilation #126

Closed badmansan closed 2 years ago

badmansan commented 2 years ago

Hi! I get an error while trying to make from latest sources:

usr@l-mint:~/bin/radeontop$ make
cc -Os -Wall -Wextra -pthread -Iinclude -ffunction-sections -fdata-sections  -I/usr/include/libdrm  -DENABLE_XCB=1  -DENABLE_NLS=1 -DHAS_DRMGETDEVICE=1 -DENABLE_AMDGPU=1 -DHAS_AMDGPU_QUERY_SENSOR_INFO=1 -s   -c -o ui.o ui.c
ui.c:19:10: fatal error: ncurses.h: No such file or directory
   19 | #include <ncurses.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: ui.o] Error 1

Can you help me with this?

clbr commented 2 years ago

Install ncurses

badmansan commented 2 years ago

Thanks, it work