How do you solve fatal error graphics H No such file or directory in Dev C++?

How do you solve fatal error graphics H No such file or directory in Dev C++?


step 1. Goto the following link and Download graphics.h library files
https://drive.google.com/file/d/16xZBvFXf7yFjxwTpuyevK1KPuLgUeZFh/view


step 2. Extract the directory and copy the files graphics and winbgim.


step 3. Paste the copied files in following directory C:\Program Files (x86)\Dev-Cpp\MinGW64\include


step 4. Again copy the file libbgi from the extracted directory and paste into the following C:\Program Files (x86)\Dev-Cpp\MinGW64\lib


step 5. Now select the TDM-GCC 4.9.2 32-bit Release


step 6. Goto Menu Tools and click on compiler options and tick the Add the following commands when calling the linker.
and add code -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32 and click on OK button.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *