You are not logged in.

#1 2011-04-16 00:31:29

Malvineous
Member
From: Brisbane, Australia
Registered: 2011-02-03
Posts: 190
Website

[Solved] Where is ncurses-dev? (missing .h file)

Hi all,

I'm trying to compile some code that uses ncursesw, however I don't have the <ncursesw/ncurses.h> file on my system.  I'm new to Arch but I thought these files were normally provided by -dev packages, so ncurses-dev in this case.  But I can't find this anywhere (not even in AUR) - what am I missing?  There are other people here who are compiling programs using ncurses, what did you do to install the header files?

Last edited by Malvineous (2011-04-16 02:53:12)

Offline

#2 2011-04-16 00:39:32

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved] Where is ncurses-dev? (missing .h file)

Arch doesn't package create extra -dev packages like some other distros. ncurses.h is in /usr/include and included with the ncurses package.

Last edited by falconindy (2011-04-16 00:39:49)

Offline

#3 2011-04-16 00:54:07

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: [Solved] Where is ncurses-dev? (missing .h file)

There is no separate ncursesw stuff in Arch.   Change your program to include <ncurses.h>

Offline

#4 2011-04-16 02:52:45

Malvineous
Member
From: Brisbane, Australia
Registered: 2011-02-03
Posts: 190
Website

Re: [Solved] Where is ncurses-dev? (missing .h file)

Ah, that did it!  I misread the autoconf macro - I thought it defined a value if you had ncursesw.h present, but rather it defines a value if you have ncursesw present, and another value if you should use <ncursesw/ncurses.h> over just <ncurses.h>

Thanks for your help!

Offline

Board footer

Powered by FluxBB