How to run graphics programs on Code Blocks 16.01

Опубликовано: 26 Январь 2025
на канале: L N Pandey
621
8

This video shows the process to install Code Blocks 16.01 in such a way that one can also run Graphics programs in it.

Download Code Blocks 16.01 from :
https://sourceforge.net/projects/code...

and Other File from below link:
https://drive.google.com/file/d/1vr6i...

Process :

1. Copy graphics.h and winbgim.h files
in include folder of your compiler
directory

2. Copy libbgi.a to lib folder of your
compiler directory

3. In code::blocks open Settings -
Compiler and debugger -linker settings
click Add button in link libraries part
and browse and select libbgi.a file

4. In right part (i.e. other linker options)
paste commands

-lbgi -lgdi32 -lcomdlg32
-luuid -loleaut32 -lole32

Click OK