This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: curses.h


Bob Rossi wrote:

> [bar@bar-nt ~/cvs/cgdb/builddir/tmp] $ cat foo.c
> #include <curses.h>
> 
> [bar@bar-nt ~/cvs/cgdb/builddir/tmp] $ gcc -c foo.c
> foo.c:1:20: curses.h: No such file or directory

The ncurses headers live in /usr/include/ncurses.  Normally this means
that you need to arrange for -I/usr/include/ncurses in CFLAGS, which
should be done by the autoconf macros that you use to detect curses
libraries.

However, the libncurses-devel postinstall creates a symbolic link from
/usr/include/curses.h -> ncurses/curses.h, so even if your CFLAGS is
wrong the above test should work.  If you don't have that symlink then
your install is borked.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]