How to add graphics libraries in Dev C++ project

46402
how to install graphics library in dev cpp

Graphics Libraries

Before going downloading the graphics libraries for dev C++. We must know what the graphics libraries are? A graphic library is a program library used to display the code written in a programming language in a visual form such as shapes, animations, etc. This liberates the software engineer from the task of coding the same code again and again.

It allows the software engineer to optimize the functions available in the library and build a stunning graphic application program. Graphic libraries are fundamentally used in PC games and multiple simulator applications.

Dev C++

Dev-C++ is a free open source  (IDE) dispersed under the GNU General Public License for programming in C and C++. It was developed by Colin Laplace in 1998 and written in Delphi. Dev C++ is used to write computer programs especially console programs in the C/C++ language.

Download Dev C++ Compiler

How to add Graphics libraries in the Dev C++ project

There are certain mandatory steps that you should follow to add the graphics library in the dev C++ or C++ project. These steps are as follow

Step 1 for adding graphics libraries in Dev C++.

Install the 64-bit version of the Dev C++ compiler.

Step 2.

Open your Dev C++ compiler.

Step 3.

Make sure that the 32-bit release mode should be selected. Its tab will be on the right side of the compiler’s home page.

Step 4.

Create a new project.

Go-to -> file then new then project and then select empty project then name it whatever you want.

Step 5.

Save the project in any folder you want. Then

go-to projects tab then project option then Parameters tab

then in the Parameters tab, there will be a linkers section add the undermentioned linkers to it.

            -lbgi

            -lgdi32

            -luser32

            -lcomdlg32

             -luuid

             -loleaut32

             -lole32

then click ok. Now we have to add graphics libraries to our project.

Final Step for adding graphics library in Dev C++.

After Extract the zipped folder which you will download from below, you will find two files (graphics.h & winbgim.h) place both files in the include folder of Dev C++ at the following path, I have installed Dev C++ at drive C:

                  C:Program Files (x86)\Dev-Cpp\MinGW64\include

Put the third file “libbgi.a” file in the lib folder of Dev CPP. At following path As I have installed Dev CPP at drive E:

                   C:Program Files (x86)\Dev-Cpp\MinGW64\lib

Secondly also place both header files (graphics.h & winbgim.h) in the include folder at the following path. I have installed Dev C++ at drive C:

            C:Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\include

Put the third file “libbgi.a” file in the lib folder of Dev CPP. At following path As I have installed Dev C++ at drive C:

            C:Program Files (x86)\Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib

After all of these steps, you are good to go. Now you can write your program in your source file and you will be able to use the graphics header file in your program.

Download Graphics Libraries for Dev C++

You can download the graphics library for Dev C++ or C++ project from below

Download

 

Check Online Quiz for Exams preparation     Online Quiz

22 COMMENTS

  1. I like this website because I can always find something new for myself, moreover, I like to read other people’s comments.
    I like this website too:

    [url=https://www.vsexy.co.il/%d7%a0%d7%a2%d7%a8%d7%95%d7%aa-%d7%9c%d7%99%d7%95%d7%95%d7%99-%d7%91%d7%a6%d7%a4%d7%95%d7%9f/%d7%a0%d7%a2%d7%a8%d7%95%d7%aa-%d7%9c%d7%99%d7%95%d7%95%d7%99-%d7%91%d7%a0%d7%94%d7%a8%d7%99%d7%94/]נערות ליווי בנהריה[/url]

  2. Akson SC LLC offers services for applying SAP “BIURS”, protegol,RPU-1001 and RPU1021,skochcoat and other polymers and mastics by airless spraying on shaped products, shut-off valves and pipes of various diameters for CS (DCS), NPS, re-insulation of the linear part of gas and oil pipelines, etc.

    Yekaterinburg,
    http://ckanural.ru

    https://ckanural.ru/sap_biurs_nanesenie_rashod_materiala/

    https://ckanural.ru/ppu/

    https://youtu.be/tHbeyUpKHlw

    https://youtu.be/2oLz7_LW4Zs

    Performs work on the device:
    monolithic, reliable, durable and high-strength roof, as well as repair of old roofing /by sintering/;
    anti-icing system “roof without icicles”, heating of drains;
    anti-corrosion treatment of any coatings.
    spraying
    polyurethane foam,
    polyurea,
    liquid rubber
    sandblasting of metal structures

  3. It is all about how people percieve things. Personally I agree with the statement but I also do not mind other people’s view points.
    I like this website too:

    [url=https://www.vsexy.co.il/%d7%a0%d7%a2%d7%a8%d7%95%d7%aa-%d7%9c%d7%99%d7%95%d7%95%d7%99-%d7%91%d7%aa%d7%9c-%d7%90%d7%91%d7%99%d7%91/]נערות ליווי בתל אביב[/url]

  4. Good day, I recently came to the CheapSoftwareStore.
    They sell OEM FXpansion software, prices are actually low, I read reviews and decided to [url=https://cheapsoftwareshop.com/product.php?/adobe-photoshop-cc/]Buy OEM Photoshop CC 2023[/url], the price difference with the official shop is 40%!!! Tell us, do you think this is a good buy?
    [url=https://cheapsoftwareshop.com/product.php?/autodesk-product-design-n-manufacturing-collection-2020/]Buy OEM Product Design N Manufacturing Collection 2020[/url]

  5. Regards, I recently came to the Silenius Software Store.
    They sell OEM McAfee software, prices are actually low, I read reviews and decided to [url=https://silenius.pro/autodesk-3ds-max-2019/]Buy 3ds Max 2019[/url], the price difference with the official online store is 40%!!! Tell us, do you think this is a good buy?
    [url=https://silenius.pro/autodesk-3ds-max-2020/]Buy OEM 3ds Max 2020[/url]

  6. Dear businessmen, we offer you the opportunity for developer outsourcing
    to help enhance the efficiency and competitiveness of your
    business. Our company specializes in providing highly skilled
    and experienced developers in various fields, including web development,
    mobile applications, software engineering, and technical support.
    We understand the importance of quick and flexible access to talented professionals,
    and therefore, we offer flexible collaboration models, including
    temporary engagement of developers in your projects or long-term
    outsourcing partnerships.

    Our team is ready to provide you with high-quality resources
    that meet your specific requirements and adhere to deadlines.
    By having developers working remotely, you can reduce costs associated
    with hiring and maintaining in-house staff while maintaining the flexibility
    to scale your team according to your business needs.

    We are prepared to discuss your needs and offer the best solution to
    support your success and growth.

    web site: https://iconicompany.com
    telegram: @iconicompanycom

  7. Hi, I recently came to the Silenius Store.
    They sell OEM progeSOFT software, prices are actually low, I read reviews and decided to [url=https://silenius.pro/ableton-live-10-suite/]Buy OEM Ableton Live 10 Suite[/url], the price difference with the official online store is 10%!!! Tell us, do you think this is a good buy?
    [url=https://silenius.pro/vmware-thinapp-5-ent/]Buy Vmware Thinapp 5 Ent[/url]