bartobri / no-more-secrets

A command line tool that recreates the famous data decryption effect seen in the 1992 movie Sneakers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot be configured properly in OS X EI Capitan

Hearen opened this issue · comments

After installing ncurses via brew install homebrew/dupes/ncurses, I ran 'make' in the working directory but it still turned out the following error

gcc -Wextra -Wall -o bin/nms obj/nms.o obj/main.o -lncursesw
ld: library not found for -lncursesw
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [nms] Error 1

and there is no ncursesw as the installation guide pointed out. B.T.W. I've already install this successfully and enjoyed it quite much; but right now I just want to compile it again in my own environment.

There is a link for this issue: https://rhardih.io/2010/04/using-ncurses-in-c-for-text-user-interfaces-featuring-xcode/, from which we can handle this by

replacing -lncursesw by -lncurses (get rid of the last letter 'w')

then everything will be just cool!

make

then the generated binary executable files are lying in bin as expected.