This tutorial is for those who want to get started with OpenGL using Dev-C. OpenGL is open graphics library created by silicon graphics. It is the specification of some functions that let you draw some shape on the screen.This article makes use of library called GLUT,that works with OpenGL to create and maintain a window.

  1. Download Graphics Library For Dev C 2b 2b 1b
  2. Download Graphics Library For Dev C++ Pc Windows

graphics.h download
libbgi.h download

How do I use Borland Graphics Interface (graphics.h)?

For those of you migrating from Borland, you may be wondering where graphics.h is. Unfortunately, graphics.h is a Borland specific library and cannot be used with Dev-C++. Fortunately, a benevolent soul by the name of Michael Main has modified a BGI emulation library for Windows applications to be used under MinGW (and therefore Dev-C++) which he has aptly named WinBGIm.
The files we need are:
(download to C:Dev-Cppinclude)
(download to C:Dev-Cpplib)
After you have downloaded the files to the correct locations, you can now use WinBGIm’s graphic.h as you would Borland’s graphics.h with a few caveats.
Using library files:
First, you have to tell Dev-C++ where to find the library functions that WinBGIm references–this is done in the “Project Options” dialog box.
Here are instructions on how to do this with a new project:
• Go to “Project” menu and choose “Project Options” (or just press ALT+P).
• Go to the “Parameters” tab
• In the “Linker” field, enter the following text:
Project Options -> Parameters:

Download graphics library for dev c 2b 2b 4Download Graphics Library For Dev C%2b%2b

• Click “OK”.

Test code:

Just to make sure you’ve got everything set up correctly, try this test code in a new Dev-C++ WinBGIm project:

int main()
initwindow(400,300); //open a 400×300 graphics window
while(!kbhit()); //wait for user to press a key
closegraph(); //close graphics window
return 0;



int main()
initwindow(800,600); //open a 800×600 graphics window
while(!kbhit()); //wait for user to press a key
closegraph(); //close graphics window
return 0;

Graphics libraries

Showing projects tagged as Graphics

  • A simple, cross-platform OpenGL wrangling library. [zlib/libpng]
  • A cross-platform rendering library. [BSD]
  • A complete 2D graphic library for drawing Text, Geometries, and Images. [BSD] webpage
  • Get performance insights in less than 4 minutes.

    Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
  • Promoting 3d reconstruction from images through multiple-view geometry algorithms and ready to use pipelines.
  • Cross-platform rendering and game engine. [Many different, mostly MIT]
  • An open source high performance 3D graphics toolkit. [OSGPL]
  • C++11 and OpenGL 2D/3D graphics engine. [MIT] website
  • Pixar's library for evaluating and rendering subdivision surfaces on CPU and GPU. [Modified Apache2]
  • The Atomic Game Engine is a multi-platform 2D and 3D engine with a consistent API in C#, JavaScript, TypeScript, and C++ (
  • A scene-oriented, real-time, flexible 3D rendering engine (as opposed to a game engine) written in C++. [MIT]
  • A collection of helper classes for writing DirectX 11.x code in C++. [MIT]
  • Open-Source Vulkan C++ API
  • Library and tools for storing, editing, and rendering volumetric datasets. [MPL2]
  • A small 3D rendering and animation engine. [EPL]
  • A small and efficient set of libraries for building cross-platform client or server applications that use 3D graphics. [Apache2] website
  • A basic 3D scene implemented with various engines, frameworks or APIs. [MIT] website
  • A C++ binding for the OpenGL API, generated using the gl.xml specification.
  • Library for wrangling particle data, with support for most common file formats. [Modified BSD]
  • A high performance realtime 3D engine written in C++. [zlib]
  • P(R*_{3, 0, 1}) specialized SIMD Geometric Algebra Library
  • A C++ middleware for high-performance 2D and 3D graphics applications based on OpenGL 1.x-4.x supporting Windows, Linux and Mac OS X.
  • The Wolf is a comprehensive set of C++ open source libraries for rendering
  • GPGPU focused graphics engine for OpenGL 4.3 aiming to present a Vulkan-like API.
  • Clone of the official OpenMesh repository
  • Utility Library For Imaging Systems
  • Cairo

    A 2D graphics library with support for multiple output devices. [LGPL2 or Mozilla MPL]

Download Graphics Library For Dev C 2b 2b 1b

Download Graphics Library For Dev C++ Pc Windows

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with 'L5' being the highest. Visit our partner's website for more details.