help: graphics on codeblock
Hi!
I'm used to write simple programs on codeblock which run on consle. i.e.console applications. When I try to compile programs which need graphic features, I get stuck as many libraries 9especially header files) are not in MINGW/include folder so I have to search on the net and add those files into include. My question is, by default, to enable graphics features on code block which "folder" should I download and incorporate it into codeblock? I tried to follow examples on glut, opengl, that is you have to download glut and add it somewhere on codeblock. Now I just want to have graphics functionality especially which need graphics.h file, searched on the net and find that sometime you have to download BGI, sometimes you have to download SDL, etc.
I hope you get the picture of what I'm trying to understand, it seems that by default codeblock doesn't come with graphic functionality e.g.graphics.h file, now what shall I download, and where do I add it so that I can draw graphs etc on codeblock.
[codeblock has /include folder in C:\Program Files\CodeBlocks\MinGW\include, now whenever I download new feature e.g. glut has its own version of include, lib folders etc. Is it necessary to add those include, lib on inlude, lib of C:\Program Files\CodeBlocks\MinGW? or it should work on its own original path? suppose I download glut on C:\Program Files\CodeBlocks\Glut. Now, what folder should I download to have graphics on codeblock?...
I hope my question has been understood although I have explained in a repeatitive way as I'm a newbie on compiling programs
Cheers,
Stefano
|