User Tools

Site Tools


en:tutorials:orx:mac:building_orx_on_codelite_for_mac

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:orx:mac:building_orx_on_codelite_for_mac [2018/06/11 05:21 (6 years ago)] sausageen:tutorials:orx:mac:building_orx_on_codelite_for_mac [2020/08/20 05:27 (4 years ago)] (current) – ↷ Links adapted because of a move operation sausage
Line 1: Line 1:
 ====== Building the Orx library on a Mac with Codelite ====== ====== 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: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.+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.
  
  
Line 14: Line 14:
 Use Codelite to open the workspace at ''orx/code/build/mac/codelite'': Use Codelite to open the workspace at ''orx/code/build/mac/codelite'':
  
-{{ :en:orx:mac:codelite-mac-open-workspace.gif |}}+{{ tutorials:orx:mac:codelite-mac-open-workspace.gif |}}
  
-Build the default config of ''Debug'' and ''32-bit'' by selecting the ''Build Workspace'' menu from the ''Build'' menu. +Build the default config of ''Debug'' by selecting the ''Build Workspace'' menu from the ''Build'' menu. 
  
-{{ :en:orx:mac:codelite-mac-build.gif |}}+{{ tutorials:orx:mac:codelite-mac-build.gif |}}
  
 Confirm the output of the build to ensure everything built correctly: Confirm the output of the build to ensure everything built correctly:
  
-{{ :en:orx:mac:codelite-mac-build-output.gif |}}+{{ tutorials:orx:mac:codelite-mac-build-output.gif |}}
  
-Now to change from the ''Debug_x32'' build to the ''Profile_x32'' build on the ''Workspace'' tab:+<WRAP center round info 90%> 
 +Ignore the following warning: ''ld: warning: directory not found for option '-L/usr/lib64' ''
  
-{{ :en:orx:mac:codelite-mac-change-build-config.gif |}}+The build will have succeeded. 
 +</WRAP>
  
-Then build again: 
  
-{{ :en:orx:mac:codelite-mac-build.gif |}}+Now to change from the ''Debug_x64'' build to the ''Profile_x64'' build on the ''Workspace'' tab:
  
-Finally, switch to the ''Release_x32'' configuration and build again.+{{ tutorials:orx:mac:codelite-mac-change-config.gif |}}
  
 +Then build again:
  
-===== Finding our Orx libraries ===== +{{ tutorials:orx:mac:codelite-mac-build.gif |}}
- +
-These are saved to the ''orx/code/libs/dynamic'' folder. Use finder to take a look at the output: +
- +
-{{ :en:orx:mac:orx-libraries-in-folder.jpg |}}+
  
-You can see the ''liborx.dylib'', ''liborxd.dylib'' and the ''liborxp.dylib'' versions.+Finally, switch to the ''Release_x64'' configuration and build again.
  
-Well done. You have compiled the Orx library which can now be used in your own game projects. 
  
-Now we are ready to [[en:orx:mac:setting_up_a_project_on_mac|make a game project of our own]].+{{section>en:tutorials:orx:mac:finding_the_orx_libraries_for_mac&nofooter&noeditbutton}}
  
  
en/tutorials/orx/mac/building_orx_on_codelite_for_mac.1528719696.txt.gz · Last modified: 2018/06/11 08:21 (6 years ago) (external edit)