You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've cloned the 1.0.0 release (congrats!) and make gives me the following;
In file included from src/mandown.c:14:
include/view.h:12:10: fatal error: ncursesw/ncurses.h: No such file or directory
12 | #include <ncursesw/ncurses.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: src/mandown.o] Error 1
I'm on Manjaro, uname -s is Linux
I've found this, basically says you should use ncurses.h.
The linked post is very interesting. Additionally it seems like ArchLinux doesn’t differentiate Ncurses and Ncursesw.
What I had read from Ncurses page is that some distributors like HomeBrew (now + ArchLinux) basically merges or symlinks Ncurses/Ncursesw together.
I was using Ncursesw/ncurses.h for the possibility of wide-character support in the future, which is not supported by -lncurses
Current version will definitely compiled under ncurses/ncurses.h. But I’m not sure if changing Makefile to simply assuming all Linux distributions have -lncursesw as default library for ncurses.h is a good idea.
I’m think about doing an .am/.in for checking against the two libraries. Should be the best solution here.
I've cloned the 1.0.0 release (congrats!) and
make
gives me the following;I'm on Manjaro,
uname -s
isLinux
I've found this, basically says you should use ncurses.h.
adding;
to the Makefile fixes the problem, make correctly produces
mandown
andmdn
executibles.The text was updated successfully, but these errors were encountered: