When you run the MinGW installer, be sure to select the C compiler and the MinGW Developer Toolkit in addition to the MinGW base files. Important: After installing MinGW, you need to set the toolset path in Code::Blocks to point to your MinGW installation. See the section below for instructions. The compiler is installed, but Code::Blocks can. CodeBlocks is supported by Windows, Mac OS X, and Linux. Its latest version, as of this writing, was released on Dec 27, 2013. Now, introduction aside, I guess you already know what CodeBlocks is. You might have used it easily on Windows to write C/C programs; there it wasn’t much of a problem to use the IDE on Windows. If you need to install the Linux version for which apt-get is not available, or you are running Mac OS X, you will need to download and install the appropriate Code::Blocks version. At the top of the page, select the Downloads link. Code::Blocks for Mac OS X. C Development C IDE Code Block Code Edit Fortran Edit Fortran IDE Open Source Plugin Coding.
This article describes how to install a nightly build of Code::Blocks.
- NOTE: The nightly builds for Mac OS X are not official (just yet)
The packages are currently done infrequently, and not really 'nightly'.
Install steps
- Download the Developer Tools from Apple, if not installed with Mac OS X.
- For Mac OS X 10.4, you need to install Xcode Tools version 2.4 or later
- Download the latest Mac binary ZIP package of Code::Blocks, from BerliOS.
- For Mac OS X 10.4 up to 10.6 (PowerPC or Intel), download the 'Universal'
- Now unpack the zip file package, and put CodeBlocks.app where you like it.
- The suggested location is /Developer/Applications or ~/Applications.
- wxWidgets (2.8.x, dylib) is included inside the application bundle.
MacPorts
If you prefer, you can install Code::Blocks / wxWidgets using MacPorts instead:Installing_Code::Blocks_from_source_on_Mac_OS_X#Install_with_MacPorts.
There are no binary packages for MacPorts just yet, so it compiles from the source.
Known Issues
First of all, see the issues that apply to all builds of Code::Blocks:
- http://forums.codeblocks.org/index.php?board=20.0 (release notes)
- http://developer.berlios.de/bugs/?group_id=5358 (reported bugs)
There are also some bugs that only apply to the Mac OS X version:
Open in console doesn't work with Terminal.app, only wxGTK/X11/xtermSplash window is not centered on the display- Occasional 'can't flush file descriptor 12'
- Batch building (from the terminal) crashes
Code Blocks Mingw Mac Os Installer
Not really bugs, but some things that might require extra setup:
Codeblocks Mingw 64 Bit
- There is no direct support for adding frameworks, use -framework
- The default package does not have developer files for wxWidgets
- Not all wizards have Mac tweaks to the generated code/projects
- Not all of the included contributed plugins work on Mac just yet