User Tools

Site Tools


en:orx:mac:building_orx_on_codelite_for_mac

Building the Orx library on a Mac with Codelite

You can use Codelite 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 Codelite than gmake.

Downloading Codelite for Mac

If you don't have Codelite yet, you can download from here: https://downloads.codelite.org

Note that Codelite will only work on newer versions of Mac OS X. Finding older versions is not easy. If you find a good repository for old Codelite versions on Mac, please let me know.

Use Codelite to open the workspace at orx/code/build/mac/codelite:

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:

Ignore the following warning: ld: warning: directory not found for option '-L/usr/lib32'

The build will have succeeded.

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.

Finding our Orx libraries

These are saved to the orx/code/libs/dynamic folder. Use finder to take a look at the output:

You can see the liborx.dylib, liborxd.dylib and the liborxp.dylib versions.

Well done. You have compiled the Orx library which can now be used in your own game projects.

Now we are ready to make a game project of our own.

en/orx/mac/building_orx_on_codelite_for_mac.txt · Last modified: 2018/09/07 00:05 (2 months ago) by sausage