Skip to content

Dev c++ installation on Windows using Ansible with graphics library setup

License

Notifications You must be signed in to change notification settings

GetSomeSleepBro/DevCppSetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dev-C++ Setup with Graphics Libraries

This guide explains how to set up Dev-C++ on Windows using Powershell Script, along with configuring graphics libraries for development.



I. One-Command Installation

You can install and configure Dev-C++ with graphics support using a single PowerShell command (run as Administrator):

a. Setup graphics libs (dev cpp pre-installed)

iex (iwr "https://raw.githubusercontent.com/GetSomeSleepBro/DevCppSetup/refs/heads/main/cg.ps1").Content

b. Install Dev C++ and setup graphics libs

iex (iwr "https://raw.githubusercontent.com/GetSomeSleepBro/DevCppSetup/refs/heads/main/dcscg.ps1").Content

The flags of the Linker options are copied to clipboard at the end of the script execution


II. Manual Configuration Steps

1. Select the Compiler Version

  • Open Dev-C++.
  • Set the compiler version to TDM-GCC 4.9.2 32-bit Release from the dropdown menu.

Compiler Selection


2. Configure Compiler Options

  • Navigate to: Tools > Compiler Options

Compiler Options Navigation Adding Compiler Flags

  • Add the following flags to the Linker options:

    -static-libgcc -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32
    

Compiler Options Applied



Notes

  • Ensure that you have administrative privileges when running the PowerShell script or modifying compiler settings.
  • This setup is intended for graphical application development in Dev-C++ using BGI (Borland Graphics Interface) libraries.

Contributing

Feel free to contribute to this repository or raise issues if you encounter any problems.

About

Dev c++ installation on Windows using Ansible with graphics library setup

Resources

License

Stars

Watchers

Forks