Open tong-hao opened 5 years ago
Looks like your missing the curses
library.
Use LDLIBS instead of LDFLAGS in makefile.
Use LDLIBS instead of LDFLAGS in makefile.
Thank you!
Looks like your missing the
curses
library.
How to install "curses" in windows, i try to search on google but i can't find it
On linux you may need to link with -lncurses. Of course ncurses library needs to be installed g++ -lncurses tinytetris.cpp -o tinytetris Cute game
在 Linux 上,您可能需要使用 -lncurses 链接。当然 ncurses 库需要安装g++ -lncurses tinytetris.cpp -o tinytetris Cute game
thank you
have someone build it in window ,i can't built it
i can't too,someone who can help?
have someone build it in window ,i can't built it
I also encountered this error when installing, the following steps are my successful record, I hope it can help you.
Makefile
and change LDFLAGS to LDLIBS, then save it.g++ -o tinytetris-commented tinytetris-commented.cpp -lncurses
./tinytetris-commented
Hope it helps you. : )