-
Notifications
You must be signed in to change notification settings - Fork 0
How to Build CodeBlocks in MacOSx
How to building the codeblocks app bundle.
This worked for OS x 10.13 with Xcodex
Download wxWidgets 3.1.x and unpack it. Open a terminal in the folder and type the following.
mkdir mac-build
cd mac-build
./configure —with-osx_cocoa —with-macosx-version-min=10.11 —enable-debug
nice make
Quote
`Configured wxWidgets 3.1.1 for `x86_64-apple-darwin17.5.0’`
`make`
`sudo make install`
Make a folder for codeblocks source.
Code: [Select]
`mkdir codeblocks`
`cd codeblocks`
Get codeblocks source.
Code: [Select]
`svn checkout http://svn.code.sf.net/p/codeblocks/code/trunk`
To be able to compile installed automake via homebrew.
Code: [Select]
`brew install automake`
`In trunk folder issue the folowing commands.`
`Code: [Select]`
`./bootstrap`
`./configure —with-platform=macosx`
Output
- Code::Blocks source tree has been configured. *
*************************************************
`You can now build Code::Blocks by issuing ‘make’.`
`When the build is complete, become root and install`
`it by issuing ‘make install’.`
Then compile codeblocks:
`make`
`sudo make install`
And to create the App bundle.
`sudo ./bundle.sh`
You should get app bundle in your source code folder.