Graphics

CodeLite installation/troubleshooting forum
Roy Hopkins
CodeLite Curious
Posts: 2
Joined: Sat May 24, 2014 10:22 am
Genuine User: Yes
IDE Question: c++
Contact:

Graphics

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Graphics

Post 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
Make sure you have read the HOW TO POST thread
Roy Hopkins
CodeLite Curious
Posts: 2
Joined: Sat May 24, 2014 10:22 am
Genuine User: Yes
IDE Question: c++
Contact:

Re: Graphics

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Graphics

Post 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
Make sure you have read the HOW TO POST thread
Post Reply