Curses.h not found ...


 
Thread Tools Search this Thread
Top Forums Programming Curses.h not found ...
# 1  
Old 10-18-2001
Data Curses.h not found ...

I am writing a program which uses curses.h. I do not have any problem when compilng it in Digital UNIX at my school.

But when I compiling it in Mandrake Linux 6.0 at my home, I got a error message said that curses.h not found.

Does curses.h include in Linux?
How to slove my problem?
# 2  
Old 10-18-2001
Under redhat, /usr/include/curses.h is provided by ncurses-devel. Mandrake should have a similar package.

$ rpm -q --whatprovides /usr/include/curses.h
ncurses-devel-5.2-8
$
# 3  
Old 10-26-2001
curses.h

locate it with find
i.e
find /usr/include -name curses.h [-print]

/*ghost*/
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

curses.h not found , gtk/gtk.h not found

i have downloaded <libncurses5-dev_5.7+20101128-1_i386.deb> and <ndk++-0.0.1alpha4.tar.bz2> which contains the header files curses.h and gtk/gtk.h .. i have also included them using .. #include "/home/ball/Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include/curses.h" ... (2 Replies)
Discussion started by: upvan111
2 Replies

2. UNIX for Dummies Questions & Answers

Need help for using curses library

I am using curses library for graphics on linux. I have created a static GUI which contains two boxes which cover the whole screen, but when i make the screen small it shows only the half GUI, it does'nt adjust according to the the new window size. I want the GUI to adjust according to the... (1 Reply)
Discussion started by: apapap
1 Replies

3. Programming

Curses::UI script question

I recently moved from linux to aix, version 6.1, perl 5.8.8. We were running a perl script using curses::ui for a user interface which was working fine on linux, but the issue on aix is no mouse support. I have tried with the -mouse-support => 1, to no avail. I'm not sure about aix's xterm... (0 Replies)
Discussion started by: islanderman
0 Replies

4. Programming

Resize current window with Curses

Hi. I am beginning with Unix C Curses Library and i would like to know if it's possible to resize my current window. In other words, i am working with a Putty Client over my Windows system and with a telnet/ssh connection to linux. I want to build a small linux application using C Curses... (10 Replies)
Discussion started by: pogdorica
10 Replies

5. Programming

Someone can give me some document about Curses Library?

I am programming on Linux using curses library but I found the document is not sufficient.Someone can help me? Thank you!! (4 Replies)
Discussion started by: yixudong
4 Replies

6. Shell Programming and Scripting

ksh88 - curses

I was wondering if there is anyway to use the curses library with ksh88. I saw Shell Curses function library which says I can use /usr/local/functions/shellcurses on ksh93 but I am on ksh88. I am on a HP-UX box. (0 Replies)
Discussion started by: IMTheNachoMan
0 Replies

7. Programming

<curses.h>

i want to write a C programm.i want to read a 2-dimension array from a file and using the library <curses.h> i want to delineate to the monitor the array.the monitor must every 40ms being refresing.i want to use the setitimer() function to achive this.the array will be similar like above (2 Replies)
Discussion started by: nektarios4u
2 Replies

8. Programming

Shared memory with curses

My vendor application has created serveral message queues in the AIX platform. I would like view the real-time message in the queues and output the contents on the screen by using curses library in UNIX. I know how to do it with curses, but I have no idea to view the contents of the queue. Is... (1 Reply)
Discussion started by: kkyim
1 Replies

9. Programming

curses.h

hi all i get a segmentation fault error in the following program. couldn't understand why it happens. can anyone explain what is really happening. s1.c #include<curses.h> main(){ int c; noecho(); cbreak(); c=getch(); printf("%c",(char)c); } I compiled this program as cc s1.c... (2 Replies)
Discussion started by: bankpro
2 Replies

10. UNIX for Dummies Questions & Answers

curses.h

hi i'd like to know how to draw a rectangle using the curses.h library, you know with all the WINDOW *newwin stuff and all thanx!:) (1 Reply)
Discussion started by: chomano
1 Replies
Login or Register to Ask a Question