01-10-2009
HoHow to compile Linux dialog - "curses.h" missing ?
Hi,
I tried native compile Linux dialog for Linux embedded device
and got "curses.h" error message.
As Linux dialog is already compiled and working as Debian .deb package (installed it).
What is a way to import curses.h from other package sources to work for dialog sources compilation in my case ?
What is missing and I was advised to look for
ncurses-devel package.
Unfortunately ncurses-devel has not been compiled as a package either.
Happy New Year
Darius
2 More Discussions You Might Find Interesting
1. Programming
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
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
LEARN ABOUT OSX
do_dialog
do_dialog(3alleg4) Allegro manual do_dialog(3alleg4)
NAME
do_dialog - Basic dialog manager function. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int do_dialog(DIALOG *dialog, int focus_obj);
DESCRIPTION
The basic dialog manager function. This displays a dialog (an array of dialog objects, terminated by one with a NULL dialog procedure), and
sets the input focus to the focus_obj (-1 if you don't want anything to have the focus). It interprets user input and dispatches messages
as they are required, until one of the dialog procedures tells it to close the dialog, at which point it returns the index of the object
that caused it to exit, or until ESC is pressed, at which point it returns -1.
SEE ALSO
popup_dialog(3alleg4), init_dialog(3alleg4), centre_dialog(3alleg4), set_dialog_color(3alleg4), find_dialog_focus(3alleg4), excus-
tom(3alleg4), exgui(3alleg4), exrgbhsv(3alleg4)
Allegro version 4.4.2 do_dialog(3alleg4)