====== 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 [[en:tutorials:orx:mac:cloning_and_building_orx_on_mac|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'': {{ tutorials:orx:mac:codelite-mac-open-workspace.gif |}} Build the default config of ''Debug'' by selecting the ''Build Workspace'' menu from the ''Build'' menu. {{ tutorials:orx:mac:codelite-mac-build.gif |}} Confirm the output of the build to ensure everything built correctly: {{ tutorials:orx:mac:codelite-mac-build-output.gif |}} 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: {{ tutorials:orx:mac:codelite-mac-change-config.gif |}} Then build again: {{ tutorials:orx:mac:codelite-mac-build.gif |}} Finally, switch to the ''Release_x64'' configuration and build again. {{section>en:tutorials:orx:mac:finding_the_orx_libraries_for_mac&nofooter&noeditbutton}}