DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • Why We Use FreeBSD Over Linux: A CTO’s Perspective
  • iRODS: An Open-Source Approach to Data Management in Large-Scale Research Environments
  • Top Three Methods for iOS Development on Linux
  • Step-By-Step Tutorial: Installing Eclipse IDE

Trending

  • A Simple, Convenience Package for the Azure Cosmos DB Go SDK
  • The Role of Functional Programming in Modern Software Development
  • Teradata Performance and Skew Prevention Tips
  • Microsoft Azure Synapse Analytics: Scaling Hurdles and Limitations
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Install CodeBlocks on Windows and Mac

Install CodeBlocks on Windows and Mac

This tutorial explains how to install Codeblocks on your local environment or PC with Windows, Mac, or on Linux.

By 
Chand Pasha user avatar
Chand Pasha
·
Updated May. 21, 20 · Code Snippet
Likes (2)
Comment
Save
Tweet
Share
66.8K Views

Join the DZone community and get the full member experience.

Join For Free

This tutorial explains how to install Codeblocks on your local environment or PC with Windows, Mac, or on Linux.

CodeBlocks is a cross-platform, open-source, free IDE that supports GCC, Visual C++, and Clang compilers. Codeblocks was developed in C++ using wxWidgets for Windows and Linux as the GUI toolkit. It is oriented towards C, C++, and Fortran with custom build system support.

Install CodeBlocks IDE on Windows

  • Visit codeblocks.org. Click Download from the menu, then click on download the binary release.
  • Go to your operating platform section (e.g., Windows XP / Vista / 7 / 8.x / 10), then download the installer with GCC Compiler, e.g., codeblocks-17.12mingw-setup.exe or Click here to download.
  • Double-click to run the downloaded installer and click Next on the pop-up window. Now click on “I Agree” to accept the license agreement.

  • On the new pop-up, don’t do anything, just click Next and then change the installation directory if you want (default directory recommended). Click Install.

  • Wait for a minute for installation to complete. A new pop-up asks you to run Codeblocks. Click YES, and then it shows the compiler Codeblocks detected. Click OK.

  • Now we have installed Codeblocks on windows.

We need to verify the Compiler and Debugger path (this step is optional).

  • Go to menu options and click on Settings >> Compiler. In the selected compiler, by default, it shows GNU GCC Compiler. Now select the “Toolchain Executables” tab from the below tabs and check the Compiler’s Installation Directory is set to “C:\Program Files\codeblocks\MinGW.
  • Similarly, for debugger path: Settings >> Debugger >> GDB/CDB debugger >> Default. In Executable, the path should be C:\Program Files\codeblocks\MinGW\bin\gdb.exe or C:\MinGW\bin\gdb.exe if you have installed MinGW compiler before installing Codeblocks.

Note: If you encountered problems running the debugger with CodeBlocks, do a clean installation. Uninstall Codeblocks and then first install MinGW and then install Codeblocks.

Thanks for reading!

Open source Download Cross platform Directory GNU Compiler Collection c++ Installer (macOS) Linux (operating system) Integrated development environment

Published at DZone with permission of Chand Pasha. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Why We Use FreeBSD Over Linux: A CTO’s Perspective
  • iRODS: An Open-Source Approach to Data Management in Large-Scale Research Environments
  • Top Three Methods for iOS Development on Linux
  • Step-By-Step Tutorial: Installing Eclipse IDE

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!