User Tools

Site Tools


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:

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 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/lib64'

The build will have succeeded.

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.

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/tutorials/orx/mac/building_orx_on_codelite_for_mac.txt · Last modified: 2020/08/20 05:27 (4 years ago) by sausage