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 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|x64 build to the Profile|x64 build on the Workspace tab.

Then build again.

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

en/tutorials/orx/mac/building_orx_using_codeblocks_for_mac.1551906476.txt.gz · Last modified: 2019/03/06 17:07 (5 years ago) (external edit)