How To Install CodeBlocks IDE on Windows

Code::Blocks

Introduction

CodeBlocks is a cross-platform (Linux, Mac, Windows (uses wxWidgets)), open-source, free IDE that supports GCC, Visual C++, and Clang compilers.

CodeBlocks support multiple compilers such as GCC (MingW / GNU GCC), MSVC++, clang, Digital Mars, Borland C++ 5.5, Open Watcom, and more.

Requirement

  1. MinGW (Optional)
  2. CodeBlocks IDE

Installation

  1. Download CodeBlocks IDE online installer (Ex: codeblocks-20.03mingw-setup.exe)
Code::Blocks
  1. Double-click to run the downloaded installer and click the “Next >” button.
Code::Blocks
  1. Now click “I Agree” to accept the license agreement.
Code::Blocks
  1. The next step, don’t do anything, just click the “Next >” button to install packages.
Code::Blocks
  1. On the next window, then change the installation directory if you want (default directory recommended). Click the “Install” button.
Code::Blocks
  1. Wait for a minute for installation to complete. After the installation is completed click the “Next >” button.
Code::Blocks
  1. To complete the installation process click the “Finish” button. You should see a window that looks like this :
Code::Blocks

Running & Configuration

To open CodeBlocks,

  1. Go to Start Menu > All Apps > CodeBlocks > CodeBlocks.
  2. In the window “Compiler auto-detection”, just click the “Ok” button.
Code::Blocks
  1. Make a choice for the file association and click on the “OK” button.
Code::Blocks
  1. You will see a window that looks like this :
Code::Blocks

Thanks for reading!

Leave a Reply

Your email address will not be published. Required fields are marked *