LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-17-2011, 12:42 PM   #1
ashutosh511
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
c programming in ubuntu 10.10


hi please help me
i have written a simple program in gtk..
#include<gtk/gtk.h> //header file
main program.....
...
....
...
on compiling it is showing fatal error:32 /usr/include/gtk/gtk.h is not found.
i have checked the location but file is there.so please tell me where is the problem.
thans

Last edited by ashutosh511; 02-19-2011 at 10:59 AM.
 
Old 02-17-2011, 12:50 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,634

Rep: Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268Reputation: 3268
Welcome to LQ.

#include <wx-2.8/wx/graphics.h> : That's the header from "wxGTK".

#include <allegro>/graphics.h> : Or is it this one, you want to use ?

http://packages.ubuntu.com/search?su...rds=graphics.h

..

Last edited by knudfl; 02-17-2011 at 12:52 PM.
 
Old 02-17-2011, 12:58 PM   #3
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It might also be that the OP is used to having graphics.h available on other operating systems (Windows perhaps? I don't know..) and aren't aware that it's not part of the standard C library.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C programming in ubuntu 10.04 sainiankit Linux - Newbie 4 09-06-2010 05:43 PM
X programming in Ubuntu toplotna Programming 2 07-24-2009 04:47 PM
PHP programming in ubuntu 8.04 umwai Linux - Newbie 2 09-16-2008 10:37 AM
C programming on Ubuntu kenneho Ubuntu 13 11-08-2005 03:04 AM


All times are GMT -5. The time now is 04:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration