Skip to content

GOVINDDIXIT/Graphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Follow these steps to use graphics header file

1. Install Code::Blocks

Install Code::Blocks IDE on your machine. If you don't have this IDE or have any issue with compiler download and install it from here

2. Download the required header files We need few files to be included in the lib folder of Code::Blocks. Download the files from here

3. Include graphics.h and winbgim.h Copy and Paste the graphics.h and winbgim.h files into include folder of Code::Blocks directory.

'Path: C:\Program Files (x86)\CodeBlocks\MinGW\include'

4. Include libbgi.a Copy and paste libbgi.a file in the lib folder of Code:Blocks

'Path: C:\Program Files (x86)\CodeBlocks\MinGW\lib'

5. Add Link Libraries in Linker Setting

  • In the Code::Blocks application go to, Settings > Compiler

  • In the Global Compiler setting, click on the Linker Settings

  • In Link Libraries, Add and browse to C:\Program Files (x86)\CodeBlocks\MinGW\lib\ and select libbgi.a.

  • Paste this in the Other Linker Option tab of Linker Settings (i.e. on the right-hand side)

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

  • Save the setting and restart the application

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages