Page 1 of 1

Graphics

Posted: Sat May 24, 2014 10:52 am
by Roy Hopkins
I have codelite 5.4 and windows 7.
When I build with #include<graphics.h> the build fails with
graphis.h: No such file or directory.

Does codelite use graphis.h?????
If so how do I install grphics.h?

Re: Graphics

Posted: Sat May 24, 2014 10:56 am
by eranif
Roy Hopkins wrote:I have codelite 5.4 and windows 7.
When I build with #include<graphics.h> the build fails with
graphis.h: No such file or directory.

Does codelite use graphis.h?????
If so how do I install grphics.h?
First, you need to understand that codelite is _not_ a compiler, its a frond end to an existing compilers.
So if you get an error that says "graphis.h: No such file or directory." its means you did not install it.
Roy Hopkins wrote:If so how do I install grphics.h?
Google it?

Here is the first result from google:
http://stackoverflow.com/questions/7860 ... -c-program

Eran

Re: Graphics

Posted: Sat May 24, 2014 11:56 am
by Roy Hopkins
Thanks for the reply.
Ok so codelite is a front end.
I selected gnu gcc as the compiler.
Should I use a different compiler in order to do graphics or do I need to update gnu gcc?

Re: Graphics

Posted: Sat May 24, 2014 12:13 pm
by eranif
It's not of the compiler as well..
You need to download and install it separately.

Search the web for download locations.

Eran