Sponsored Content
Top Forums Programming curses.h not found , gtk/gtk.h not found Post 302627675 by jim mcnamara on Saturday 21st of April 2012 07:48:55 AM
Old 04-21-2012
Code:
#include "curses.h"

This is the syntax to use when the include file is not in the /usr/include directory tree.
to compile, use
Code:
gcc -I /Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include  \
      myfile.c

And. libncurses won't link either. Is there a reason you decided not to install this software library this where it belongs : /usr/lib and /usr/include (and other places)?

If you actually manage to get this working it will have serious issues being run on any box except the box you are now working on.

There are standard conventions about where support files for unix software is supposed to live. ncurses is a de-facto standard part of UNIX, you may already have it on your box. try

Code:
find /usr/include -type f -name '*curses*'

 

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
Gtk2::FontSelection(3)					User Contributed Perl Documentation				    Gtk2::FontSelection(3)

NAME
Gtk2::FontSelection HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Box +----Gtk2::VBox +----Gtk2::FontSelection INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Gtk2::Orientable METHODS
widget = Gtk2::FontSelection->new fontface = $fontsel->get_face Since: gtk+ 2.14 widget = $fontsel->get_face_list Since: gtk+ 2.14 fontfamily = $fontsel->get_family Since: gtk+ 2.14 widget = $fontsel->get_family_list Since: gtk+ 2.14 font = $fontsel->get_font string = $fontsel->get_font_name boolean = $fontsel->set_font_name ($fontname) o $fontname (string) widget = $fontsel->get_preview_entry Since: gtk+ 2.14 string = $fontsel->get_preview_text $fontsel->set_preview_text ($text) o $text (string) widget = $fontsel->get_size_entry Since: gtk+ 2.14 integer = $fontsel->get_size Since: gtk+ 2.14 widget = $fontsel->get_size_list Since: gtk+ 2.14 PROPERTIES
'font' (Gtk2::Gdk::Font : readable / private) The GdkFont that is currently selected 'font-name' (string : readable / writable / private) The string that represents this font 'preview-text' (string : readable / writable / private) The text to display in order to demonstrate the selected font SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::VBox COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::FontSelection(3)
All times are GMT -4. The time now is 04:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy