graphics.h not working in geany
whenever i try to compile programs that uses graphics.h header file i get the following error messeges
gcc -Wall -c "untitled.c" (in directory: /home/arjun) Compilation failed. untitled.c:2:21: fatal error: graphics.h: No such file or directory compilation terminated. if anyone know the answer to this problem plls do help me.i find it difficult to use turbo c in windows 7 |
Does it work fine when compiling in a terminal?
Post relevant part of source. |
|
Moved: This thread is more suitable in <PROGRAMMING> and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Easiest Graphics.h Installation Guide
Well, you need to explicitly install graphics libraries to get graphics working in your C and C++ Programs in Linux Ubuntu.
The Libgraph package includes the graphics files. Find the Complete Installation Details in the link here: Run Graphics.h in Ubuntu The Libgraph is an old package for building graphical UI. Apart from Libgraph, there are so many other packages for graphics in Ubuntu as well such as OpenGL, GLUT and others. |
Long long time ago there was svgalib, but by now it either ceased to exist or lost its importance as using of X Window became common.
Maybe Java could be suggested for such drawing projects... |
if you are still using software from 2011
you might want to upgrade to newer things |
|
Quote:
Just as a suggestion, you might want to look closer at a) a thread's age b) op's post count combining those two, how likely do you think it is that they come back and actually read your religious propaganda. |
Quote:
|
So much post and no one could tell you what means <graphics.h> ;)
Man, your 9 posts are quite depressing. Have you ever heard of graphics.h to answer the author of the thread? edit: best answer on the list from tushar05 |
Quote:
|
Quote:
|
a good replacement that is very active today ( and not from the last decade )
-- CImg.h -- http://cimg.eu/download.shtml but this thread is from 2011 |
Quote:
Maybe 15-20 years ago, this was obvious... today, so why not telling the truth first? One could say how it was compiled in the past, and likely how to manage the compilation today. There are at least 3 or 4 methods to make revive the graphics.h. |
All times are GMT -5. The time now is 07:44 PM. |