tboox / ltui

🍖 A cross-platform terminal ui library based on Lua
https://tboox.org
Apache License 2.0
808 stars 49 forks source link

Error in Windows 10 #6

Closed viniciusm-dev closed 4 years ago

viniciusm-dev commented 5 years ago

I try to install in Windows using luarocks and I recieve the following error:

C:\Windows\system32>luarocks install ltui
Installing https://luarocks.org/ltui-1.5-1.src.rock

mingw32-gcc -O2 -c -o src/core/lcurses/lcurses.o -IC:/tools/lua/include src/core/lcurses/lcurses.c
src/core/lcurses/lcurses.c:86:10: fatal error: curses.h: No such file or directory
 #include <curses.h>
          ^~~~~~~~~~
compilation terminated.

Error: Build error: Failed compiling object src/core/lcurses/lcurses.o

I built lua in Windows with the following steps

waruqi commented 4 years ago

You can clone ltui source code and run xmake to build it.