04-21-2012
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
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
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
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 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
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
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
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
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
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
LEARN ABOUT DEBIAN
gtk2::gdk::screen
Gtk2::Gdk::Screen(3pm) User Contributed Perl Documentation Gtk2::Gdk::Screen(3pm)
NAME
Gtk2::Gdk::Screen - wrapper for GdkScreen
HIERARCHY
Glib::Object
+----Gtk2::Gdk::Screen
METHODS
window = $screen->get_active_window
Since: gtk+ 2.10
$screen->broadcast_client_message ($event)
o $event (Gtk2::Gdk::Event)
colormap = $screen->get_default_colormap
$screen->set_default_colormap ($colormap)
o $colormap (Gtk2::Gdk::Colormap)
screen or undef = Gtk2::Gdk::Screen->get_default
display = $screen->get_display
fontoptions or undef = $screen->get_font_options
Since: gtk+ 2.10
$screen->set_font_options ($options)
o $options (Cairo::FontOptions or undef)
Since: gtk+ 2.10
integer = $screen->get_height
integer = $screen->get_height_mm
boolean = $screen->is_composited
Since: gtk+ 2.10
list = $screen->list_visuals
Returns a list of Gtk2::Gdk::Visual's.
string = $screen->make_display_name
integer = $screen->get_monitor_at_point ($x, $y)
o $x (integer)
o $y (integer)
integer = $screen->get_monitor_at_window ($window)
o $window (Gtk2::Gdk::Window)
rectangle = $screen->get_monitor_geometry ($monitor_num)
o $monitor_num (integer)
integer = $screen->get_monitor_height_mm ($monitor_num)
o $monitor_num (integer)
Since: gtk+ 2.14
unsigned = $screen->get_monitor_output ($monitor_num)
o $monitor_num (integer)
Since: gtk+ 2.14
string or undef = $screen->get_monitor_plug_name ($monitor_num)
o $monitor_num (integer)
Since: gtk+ 2.14
integer = $screen->get_monitor_width_mm ($monitor_num)
o $monitor_num (integer)
Since: gtk+ 2.14
integer = $screen->get_n_monitors
integer = $screen->get_number
integer = $screen->get_primary_monitor
Since: gtk+ 2.20
double = $screen->get_resolution
Since: gtk+ 2.10
$screen->set_resolution ($dpi)
o $dpi (double)
Since: gtk+ 2.10
colormap = $screen->get_rgb_colormap
visual = $screen->get_rgb_visual
colormap or undef = $screen->get_rgba_colormap
Since: gtk+ 2.8
visual or undef = $screen->get_rgba_visual
Since: gtk+ 2.8
window = $screen->get_root_window
integer = $screen->get_screen_number
Since: gtk+ 2.2
scalar = $screen->get_setting ($name)
o $name (string)
boolean = $screen->supports_net_wm_hint ($property)
o $property (Gtk2::Gdk::Atom)
Since: gtk+ 2.2
colormap = $screen->get_system_colormap
visual = $screen->get_system_visual
list = $screen->get_toplevel_windows
Returns a list of Gtk2::Gdk::Window's.
integer = $screen->get_width
integer = $screen->get_width_mm
string = $screen->get_window_manager_name
Since: gtk+ 2.2
list = $screen->get_window_stack
Since: gtk+ 2.10
PROPERTIES
'font-options' (gpointer : default 0 : readable / writable / private)
The default font options for the screen
'resolution' (double : default -1 : readable / writable / private)
The resolution for fonts on the screen
SIGNALS
composited-changed (Gtk2::Gdk::Screen)
size-changed (Gtk2::Gdk::Screen)
monitors-changed (Gtk2::Gdk::Screen)
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::Gdk::Screen(3pm)