Installation: Install Dev-C++. I installed from the Version Setup File. Download graphics.h to the include/ subdirectory of the Dev-C++. Download libbgi.a to the lib/ In order to use the WinBGIm subdirectory of the Dev- C++ directories. Whenever you #include graphics.h> in a program, you must. If you want to use graphics.h on Ubuntu platform you need to compile and install libgraph. It is the implementation of turbo c graphics API on Linux using SDL. libfreetype6 libaa1 libaa1-dev \ libslang2-dev libasound2 libasound2-dev. Step 3: Copy and paste graphics.h and winbgim.h files into the include folder of compiler directory. (If you have Code::Blocks installed in C drive of your. How to use graphics.h in latest IDE's & Editors Fedora 26, Windows ( MSYS2 + mingw-w64, Code::Blocks, Dev-C++), and Mac OS X. You can't. graphics.h is not compatible with Dev-C++. I suggest SDL2 - Simple DirectMedia Layer - Homepage It allows you to run your code on Windows, Mac OS X, Linux, iOS, and Android. Have a look into the. programs for "graphics.h for dev c++" Unix Spectrum Emulator (Fuse): an emulator of the s home computer and various clones for Unix, Mac OS X. I would also suggest not to use Bloodshed Dev-C++ as it is also a little outdated. You may I could not get graphics.h to work with Dev C++ as newer versions of .