LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   c programming in ubuntu 10.10 (https://www.linuxquestions.org/questions/linux-newbie-8/c-programming-in-ubuntu-10-10-a-863358/)

ashutosh511 02-17-2011 12:42 PM

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

knudfl 02-17-2011 12:50 PM

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

..

Nylex 02-17-2011 12:58 PM

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.


All times are GMT -5. The time now is 11:54 PM.