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
curs_memleaks(3X)														 curs_memleaks(3X)

NAME
_nc_freeall _nc_free_and_exit - curses memory-leak checking SYNOPSIS
#include <curses.h> void _nc_freeall(void); void _nc_free_and_exit(int); DESCRIPTION
These functions are used to simplify analysis of memory leaks in the ncurses library. They are normally not available; they must be con- figured into the library at build time using the --disable-leaks option. That compiles-in code that frees memory that normally would not be freed. Any implementation of curses must not free the memory associated with a screen, since (even after calling endwin), it must be available for use in the next call to refresh. There are also chunks of memory held for performance reasons. That makes it hard to analyze curses ap- plications for memory leaks. To work around this, one can build a debugging version of the ncurses library which frees those chunks which it can, and provides these functions to free all of the memory allocated by the ncurses library. The _nc_free_and_exit function is the preferred one since some of the memory which is freed may be required for the application to continue running. Its parameter is the code to pass to the exit routine. RETURN VALUE
These functions do not return a value. PORTABILITY
These functions are not part of the XSI interface. SEE ALSO
curses(3X). curs_memleaks(3X)
All times are GMT -4. The time now is 12:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy