Sponsored Content
Top Forums Programming curses.h not found , gtk/gtk.h not found Post 302627659 by upvan111 on Saturday 21st of April 2012 05:46:55 AM
Old 04-21-2012
Java 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"


#include </home/ball/Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include/ncurses_dll.h>


for using curses.h ..

but it is still not working and giving errors on compilation..
>g++ -c tui.cpp
In file included from tui.cpp:2:0:
/home/ball/Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include/curses.h:60:25: fatal error: ncurses_dll.h: No such file or directory
compilation terminated.

////////////////////////////////////////////////////////////////

I have checked curses.h also ..
ball@ubuntu:~/Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include$ g++ -c curses.h
curses.h:60:25: fatal error: ncurses_dll.h: No such file or directory
compilation terminated.

//////////////////////////////////////////////////////////////////////////
ncurses_dll.h and curses.h are in same folder - /Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include

it is still showing the errors specified above ..


pls help ,, my project totally depends on it .

Thank you.
 

9 More Discussions You Might Find Interesting

1. Programming

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 Replies)
Discussion started by: MacMonster
2 Replies

2. UNIX for Dummies Questions & Answers

how to start my gtk+

hi, i am a total dummy of unix. i am not used to the unix convention and practice. currently i am trying to install and use the solaris GUI based ftp program called gtk+ (gtk+-1.2.10-sol8-sparc-local.gz). i downloaded it and installed it successfully on my Sun Solaris sparc version 8. ... (4 Replies)
Discussion started by: champion
4 Replies

3. Linux

GTK+ hates me

I am very new to the linux environment. I have been interested in it for years but have just recently had the courage to pop that install disk into my PC. Because of it's ease of installation, I installed Mandrake 9.1 and I'm running KDE3.1 for my GUI. Right now I'm trying to conquer the world... (5 Replies)
Discussion started by: n0data
5 Replies

4. UNIX for Dummies Questions & Answers

i hate gtk and kde!

i don't want to install any themes, but i do want to get rid of the god awful color scheme it defaults to. i've tried editing /usr/X11R6/share/themes/Default/gtk-2.0/gtkrc, but to no avail. i've also changed, and even removed the .gtkrc-kde that kde generates automatically, also to no avail. ... (12 Replies)
Discussion started by: brandan
12 Replies

5. Post Here to Contact Site Administrators and Moderators

GTK+ project

Hai, I am santhosh,I am fresher to this Forum,I want details about GTK+ Project(All Widgets--- I mean how they are programming in callback.c file). if it possible please send information regarding this Glade tool.I want to interface glade with Modbus protocol, Thankyou with best regards,... (0 Replies)
Discussion started by: santhosh.linux
0 Replies

6. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies

7. Programming

GUI without GTK - Is it possible?

Is GUI programming without GTK possible? If so, how? Or what libraries should I #include? Google seems to tell me that GUI programming in C++ is much more popular then in C. I'm assuming because of the Object Orientedness (if that is even a word)? Before you say things like "Search the forums",... (5 Replies)
Discussion started by: Octal
5 Replies

8. UNIX for Dummies Questions & Answers

Gtk-WARNING **:

Hi all, I want to run a 32 bit program on a 64 bit linux machine. Installing the program was no issue but when I try to run it I get Warnings that look like this: Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk" Gtk-WARNING **: Unable to locate theme engine in... (3 Replies)
Discussion started by: friend
3 Replies

9. Fedora

GTK Themes

Hi, So, I have a GTK based GUI app. I used GTKdevel-2.24 to develop and compile it on two different distros of linux: Fedora 14 and Linaro (tablet). All of my code was the same for each but compiled on each platform separately (32bit and ARM). Both distros run the application. On Fedora 14... (0 Replies)
Discussion started by: fedora18
0 Replies
curs_variables(3X)														curs_variables(3X)

NAME
COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES, TABSIZE, curscr, newscr, stdscr - curses global variables SYNOPSIS
#include <curses.h> int COLOR_PAIRS; int COLORS; int COLS; int ESCDELAY; int LINES; int TABSIZE; WINDOW * curscr; WINDOW * newscr; WINDOW * stdscr; DESCRIPTION
This page summarizes variables provided by the curses library. A more complete description is given in the curses(3X) manual page. Depending on the configuration, these may be actual variables, or macros (see curs_threads(3X)) which provide read-only access to curses's state. In either case, applications should treat them as read-only to avoid confusing the library. COLOR_PAIRS After initializing curses, this variable contains the number of color pairs which the terminal can support. Usually the number of color pairs will be the product COLORS*COLORS, however this is not always true: o a few terminals use HLS colors, which do not follow this rule o terminals supporting a large number of colors are limited by the number of color pairs that can be represented in a signed short value. COLORS After initializing curses, this variable contains the number of colors which the terminal can support. COLS After initializing curses, this variable contains the width of the screen, i.e., the number of columns. ESCDELAY This variable holds the number of milliseconds to wait after reading an escape character, to distinguish between an individual escape char- acter entered on the keyboard from escape sequences sent by cursor- and function-keys (see curses(3X). LINES After initializing curses, this variable contains the height of the screen, i.e., the number of lines. TABSIZE This variable holds the number of columns used by the curses library when converting a tab character to spaces as it adds the tab to a win- dow (see curs_addch(3X). The Current Screen This implementation of curses uses a special window curscr to record its updates to the terminal screen. The New Screen This implementation of curses uses a special window newscr to hold updates to the terminal screen before applying them to curscr. The Standard Screen Upon initializing curses, a default window called stdscr, which is the size of the terminal screen, is created. Many curses functions use this window. NOTES
The curses library is initialized using either initscr(3X), or newterm(3X). If curses is configured to use separate curses/terminfo libraries, most of these variables reside in the curses library. PORTABILITY
ESCDELAY and TABSIZE are extensions, not provided in most other implementations of curses. SEE ALSO
curses(3X), curs_threads(3X), term_variables(3X), terminfo(3X), terminfo(5). curs_variables(3X)
All times are GMT -4. The time now is 03:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy