This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:orx:mac:cloning_and_building_orx_on_mac [2018/05/31 06:05 (6 years ago)] – sausage | en:tutorials:orx:mac:cloning_and_building_orx_on_mac [2024/02/26 23:17 (4 weeks ago)] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Cloning and building the Orx library on the Mac ====== | + | ====== Cloning and building the Orx library on the Mac with gmake ====== |
- | In the [[en: | + | In the [[en:tutorials: |
'' | '' | ||
Line 45: | Line 45: | ||
== [ d99b8c61d781 ] needed, current [ ] | == [ d99b8c61d781 ] needed, current [ ] | ||
== [ d99b8c61d781 ] not in cache | == [ d99b8c61d781 ] not in cache | ||
- | == Fetching [ https://bitbucket.org/ | + | == Fetching [ https://codeload.github.com/ |
== Please wait! | == Please wait! | ||
== [ d99b8c61d781 ] cached! | == [ d99b8c61d781 ] cached! | ||
Line 111: | Line 111: | ||
We now have everything in place to actually build the Orx library. | We now have everything in place to actually build the Orx library. | ||
+ | |||
+ | <WRAP center round important 90%> | ||
+ | Please note the message above that says: | ||
+ | '' | ||
+ | Just close your Terminal and open a new one so that Orx settings are available during Terminal sessions. | ||
+ | </ | ||
Line 117: | Line 123: | ||
Notice in the output above, Solution Projects have been created for gmake, Codelite, Code:: | Notice in the output above, Solution Projects have been created for gmake, Codelite, Code:: | ||
- | At the time of writing, '' | + | <WRAP center round info 90%> |
+ | If you would rather compile using Xcode than gmake, follow this tutorial: [[en:tutorials: | ||
+ | </ | ||
+ | |||
+ | <WRAP center round info 90%> | ||
+ | If you would rather compile using Codelite than gmake, follow this tutorial: [[en: | ||
+ | </ | ||
+ | |||
+ | As we are setting up without '' | ||
* cd into the build folder: | * cd into the build folder: | ||
Line 125: | Line 139: | ||
</ | </ | ||
- | Then build the 32-bit debug version of the Orx library with: | + | Then build the **Debug** |
< | < | ||
- | $ make config=debug32 | + | $ make config=debuguniv64 |
</ | </ | ||
Line 134: | Line 148: | ||
< | < | ||
- | ==== Building orxLIB (debug32) ==== | + | ==== Building orxLIB (debuguniv64) ==== |
- | Creating obj/x32/ | + | Creating obj/x64/ |
orxPlugin_EmbeddedList.cpp | orxPlugin_EmbeddedList.cpp | ||
orxAnim.c | orxAnim.c | ||
Line 144: | Line 158: | ||
orxTree.c | orxTree.c | ||
Linking orxLIB | Linking orxLIB | ||
- | ld: warning: directory not found for option ' | + | ld: warning: directory not found for option ' |
Running post-build commands | Running post-build commands | ||
cp -f ../ | cp -f ../ | ||
- | ==== Building orx (debug32) ==== | + | ==== Building orx (debuguniv64) ==== |
- | Creating obj/x32/Debug/orx | + | Creating obj/x64/Debug/orx |
orxMain.c | orxMain.c | ||
Linking orx | Linking orx | ||
- | ld: warning: directory not found for option ' | + | ld: warning: directory not found for option ' |
- | ==== Building Bounce (debug32) ==== | + | ==== Building Bounce (debuguniv64) ==== |
- | Creating obj/x32/ | + | Creating obj/x64/ |
orxBounce.c | orxBounce.c | ||
Linking Bounce | Linking Bounce | ||
- | ld: warning: directory not found for option ' | + | ld: warning: directory not found for option ' |
</ | </ | ||
- | Next, create the 32-bit | + | Next, create the **Profile** version of the library with: |
< | < | ||
- | $ make config=profile32 | + | $ make config=profileuniv64 |
</ | </ | ||
- | And finally, the release | + | And finally, the **Release** |
< | < | ||
- | $ make config=release32 | + | $ make config=releaseuniv64 |
</ | </ | ||
- | You can also create 64-bit versions if you wish with: | ||
- | |||
- | < | ||
- | make config=debug64 | ||
- | make config=profile64 | ||
- | |||
- | or | ||
- | |||
- | make config=release64 | ||
- | </ | ||
- | |||
- | These are saved to the '' | ||
- | |||
- | {{ : | ||
- | |||
- | You can see the '' | ||
- | |||
- | 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> |