LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2008, 03:32 AM   #1
mgreen
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Rep: Reputation: 0
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
 
Old 03-09-2008, 04:46 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
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.
 
Old 03-09-2008, 05:31 PM   #3
mgreen
LQ Newbie
 
Registered: Oct 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks bigrigdriver, I installed the package ncurses-devel and it compiled well, with no errors, yet the code did not work

Max
 
Old 03-09-2008, 05:54 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
What kind of error messages do you get?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to print text in color by ncurses without opening a ncurses window Greatrebel Programming 0 12-20-2006 09:15 AM
NCurses Mohsen Programming 7 10-07-2006 10:53 AM
no ncurses? oracleofmist Linux - Software 2 09-22-2004 07:56 PM
ncurses with RH 8 ? marudhu Programming 6 07-23-2003 03:52 PM
ncurses-5.2-28 conflicts with file from package ncurses-5.2-12 tubby Linux - Software 4 06-16-2002 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration