LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ncurses.h (https://www.linuxquestions.org/questions/linux-software-2/ncurses-h-626736/)

mgreen 03-09-2008 03:32 AM

ncurses.h
 
Hi,

I am doing a C++ self study. I faced a problem with getche() because it needed a library from conio.h which is a non ANSI library (of course) from Microsoft. I googled and I could know that I need ncurses which was already installed. Now my compiler complains of not being able to find the ncurses.h file! I checked with yum and found that ncurses is installed. how may I find this file? Where is it installed exactly?
I used "locate" and did a hard "find / -iname ncurses*.*" while root, but it could not be found.

Thanks,

Max

bigrigdriver 03-09-2008 04:46 AM

You need the ncurses core files in order to run applications that require ncurses.

You also need to install ncurses-devel files in order to do development work.

mgreen 03-09-2008 05:31 PM

Thanks bigrigdriver, I installed the package ncurses-devel and it compiled well, with no errors, yet the code did not work :)

Max

bigrigdriver 03-09-2008 05:54 PM

What kind of error messages do you get?


All times are GMT -5. The time now is 01:27 AM.