'Graphics.h doesn't want to work with CodeBlocks

so we did graphics in CodeBlocks at school and we went and downloaded WinBGIm and extracted everything. We followed tutorials from Youtube and it worked. As soon as I came home, I tried installing it and it just won't work. I put the files in right folders and changed right to top in line 302. As soon as I build the program, it says: fatal error: graphics.h: No such file or directory. Tried searching the forums, and all of them lead to the same solution, which is trying everything I tried already. If anyone of you experienced this, pls let me know. Thanks



Solution 1:[1]

Add the folder containing graphics.h in the compiler search list for the project

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ravenspoint