User Tools

Site Tools


en:tutorials:orx:mac:building_orx_using_codeblocks_for_mac

This is an old revision of the document!


Building the Orx library on a Mac with Code::Blocks

You can use Code::Blocks on a Mac in order to build the Orx library. I will assume that you have covered the step at Cloning and building the Orx library on the Mac but have come here because you would rather use Code::Blocks than gmake.

Downloading Code::Blocks for Mac

If you don't have Code::Blocks yet, you can download from here: http://www.codeblocks.org/downloads/binaries#mac

Unlike Codelite, Code::Blocks version 13.12 (the last from 2013) will happily work on all versions of Mac OS X. If you don't want to upgrade your OS to try Codelite, try Code::Blocks instead.

Building Orx

Launch Code::Blocks. If this is the first time you have launched it, you will be asked what compiler to use:

Both compilers listed will alias back to the same one on the Mac. So you can just pick the LLVM if you wish.

Use Code::Blocks to open the workspace at orx/code/build/mac/codeblocks:

Build the default config of Debug and 32-bit by selecting the Build Workspace menu from the Build menu.

Confirm the output of the build to ensure everything built correctly:

Now to change from the Debug|x32 build to the Profile|x32 build on the Workspace tab:

Then build again:

Finally, switch to the Release|x32 configuration and build again.

en/tutorials/orx/mac/building_orx_using_codeblocks_for_mac.1528774056.txt.gz · Last modified: 2018/06/11 23:27 (6 years ago) (external edit)