Sponsored Content
Top Forums UNIX for Dummies Questions & Answers HoHow to compile Linux dialog - "curses.h" missing ? Post 302275427 by darius2 on Saturday 10th of January 2009 12:23:41 PM
Old 01-10-2009
How to compile Linux dialog (curses.h - missing) ?

Hi,

looking for expert's opinion on how to compile Linux dialog for my embedded device (native compilation), as tried and get curses.h messing message.
ncurses-devel package has not been compiled either to provide me with
curses.h .

Dialog is already compiled for Debian as .deb package, I installed and worked smoothly.

curses.h header manual
<curses.h>

Google query for curses.h
curses.h - Google Search

Tried to compile the following ncurses.c code and curses.h header is missing.
Curses Example - ncurses Tutorial

Any idea, solution HowTo compile Linux dialog ?

Happy New Year

Darius
 

2 More Discussions You Might Find Interesting

1. Programming

do you believe X-application will "kill" the CDE and come back to login dialog

1 . Thanks you for reading the letter 2 . I have programe a X-application .Sometimes, I run it from terminal of CDE ,it "kill" the CDE and I meet the login dialog . I debug it . I find that the SIGHUP caused the X-app died .I do not run it from terminal of CDE ,I run it "click button" from panel ,... (3 Replies)
Discussion started by: chenhao_no1
3 Replies

2. Programming

compile fails in linux ... "No rule to make target" ... HELP

hello all, attached you can find a tool (written in C) that i really need to make it compile under linux i am able to compile and run it successfully in mac os x, but in linux the compilation fails the only thing that i did so far is to change the following #include <sys/malloc.h> to... (13 Replies)
Discussion started by: OneDreamCloser
13 Replies
XltWorking(3X)															    XltWorking(3X)

NAME
XltWorking - Convenience function to display a Working dialog, and update the bar graph in the dialog. SYNOPSIS
#include <Xlt/Xlt.h> Boolean XltWorking(widget, question, percent_done) Widget widget; String question; int percentdone; DESCRIPTION
XltWorking Creates a dialog containing a message string, a bar showing the percentage of the task complete, and an abort button. When called with a percent_done value of zero the dialog is managed, and a timer installed to update the bar every second. If question is not NULL, the message string in the dialog is set to this. When called with a percent_done of 100, the dialog is un-managed. If called with a percent_done of -1, only the message is changed. Any value between 0 and 100 will cause the bar graph to be updated the next time the timer fires, and processes any pending timer and X events. If the return value is True, the user has requested that the task should be aborted. widget The widget to wait for. question The message to display in the working dialog. Or NULL, meaning no change. percent_done The percentage of the task complete. 0 will cause the dialog to be managed. 100 will cause the dialog to be un-managed. -1 will update the question only. Any value between 0 and 100 will update the bar graph. RETURN VALUE
Boolean, if True the abort button was pushed, or the window was closed by the window manager. RELATED INFORMATION
XltWorking(3X)
All times are GMT -4. The time now is 01:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy