User Tools

Site Tools


tutorials:cloning_orx_from_github

Cloning Orx from Github

git clone https://github.com/orx/orx.git 

Expected output:

Cloning into 'orx'...
remote: Counting objects: 67954, done.
remote: Total 67954 (delta 0), reused 0 (delta 0), pack-reused 67954
Receiving objects: 100% (67954/67954), 51.54 MiB | 155.00 KiB/s, done.
Resolving deltas: 100% (49335/49335), done.
Checking connectivity... done.

Orx comes in two parts, orx itself and its dependancies. There is a set up script in the root of the folder to bring in the dependancies, and to set up some sample project files.

For Linux or Mac:

cd orx
./setup.sh

For Windows:

cd orx
setup.bat

The setup script will automatically download the required external packages and then generate some build projects for Visual Studio, gmake (mingw32), and Codelite for Windows. For non-windows users, you can easily make your own. See the Premake tutorial for more information.

Expected output from running setup:

== Checking version: [ extern/ ]
== [ 2b1364b12dc7 ] needed, current [ none ]
== [ 2b1364b12dc7 ] not in cache
== Fetching [ https://bitbucket.org/orx/orx-extern/get/2b1364b12dc7.zip ]
== Please wait!
== [ 2b1364b12dc7 ] cached!
== Decompressing [ cache/2b1364b12dc7.zip ] => [ extern/ ]
== [ 2b1364b12dc7 ] installed!
== Copying [ premake4.exe ] to [ code/build ]
== Copying [ premake4.exe ] to [ tutorial/build ]
== Copying [ premake4.exe ] to [ tools/orxFontGen/build ]
== Copying [ premake4.exe ] to [ tools/orxCrypt/build ]
== Generating build files for [ windows ]
== Generating [ gmake ]
Building configurations...
Running action 'gmake'...
Generating windows/gmake/Makefile...
Generating windows/gmake/orx.make...
Generating windows/gmake/orxLIB.make...
Generating windows/gmake/Bounce.make...
Done.
Building configurations...
Running action 'gmake'...
Generating windows/gmake/Makefile...
Generating windows/gmake/01_Object.make...
Generating windows/gmake/02_Clock.make...
Generating windows/gmake/03_Frame.make...
Generating windows/gmake/04_Anim.make...
Generating windows/gmake/05_Viewport.make...
Generating windows/gmake/06_Sound.make...
Generating windows/gmake/07_FX.make...
Generating windows/gmake/08_Physics.make...
Generating windows/gmake/09_Scrolling.make...
Generating windows/gmake/10_Locale.make...
Generating windows/gmake/11_Spawner.make...
Generating windows/gmake/12_Lighting.make...
Done.
Building configurations...
Running action 'gmake'...
Generating windows/gmake/Makefile...
Generating windows/gmake/orxFontGen.make...
Done.
Building configurations...
Running action 'gmake'...
Generating windows/gmake/Makefile...
Generating windows/gmake/orxCrypt.make...
Done.
== Generating [ codelite ]
Building configurations...
Running action 'codelite'...
Generating windows/codelite/orx.workspace...
Generating windows/codelite/orx.project...
Generating windows/codelite/orxLIB.project...
Generating windows/codelite/Bounce.project...
Done.
Building configurations...
Running action 'codelite'...
Generating windows/codelite/Tutorial.workspace...
Generating windows/codelite/01_Object.project...
Generating windows/codelite/02_Clock.project...
Generating windows/codelite/03_Frame.project...
Generating windows/codelite/04_Anim.project...
Generating windows/codelite/05_Viewport.project...
Generating windows/codelite/06_Sound.project...
Generating windows/codelite/07_FX.project...
Generating windows/codelite/08_Physics.project...
Generating windows/codelite/09_Scrolling.project...
Generating windows/codelite/10_Locale.project...
Generating windows/codelite/11_Spawner.project...
Generating windows/codelite/12_Lighting.project...
Done.
Building configurations...
Running action 'codelite'...
Generating windows/codelite/orxFontGen.workspace...
Generating windows/codelite/orxFontGen.project...
Done.
Building configurations...
Running action 'codelite'...
Generating windows/codelite/orxCrypt.workspace...
Generating windows/codelite/orxCrypt.project...
Done.
== Generating [ vs2012 ]
Building configurations...
Running action 'vs2012'...
Generating windows/vs2012/orx.sln...
Generating windows/vs2012/orx.vcxproj...
Generating windows/vs2012/orx.vcxproj.user...
Generating windows/vs2012/orx.vcxproj.filters...
Generating windows/vs2012/orxLIB.vcxproj...
Generating windows/vs2012/orxLIB.vcxproj.user...
Generating windows/vs2012/orxLIB.vcxproj.filters...
Generating windows/vs2012/Bounce.vcxproj...
Generating windows/vs2012/Bounce.vcxproj.user...
Generating windows/vs2012/Bounce.vcxproj.filters...
Done.
Building configurations...
Running action 'vs2012'...
Generating windows/vs2012/Tutorial.sln...
Generating windows/vs2012/01_Object.vcxproj...
Generating windows/vs2012/01_Object.vcxproj.user...
Generating windows/vs2012/01_Object.vcxproj.filters...
Generating windows/vs2012/02_Clock.vcxproj...
Generating windows/vs2012/02_Clock.vcxproj.user...
Generating windows/vs2012/02_Clock.vcxproj.filters...
Generating windows/vs2012/03_Frame.vcxproj...
Generating windows/vs2012/03_Frame.vcxproj.user...
Generating windows/vs2012/03_Frame.vcxproj.filters...
Generating windows/vs2012/04_Anim.vcxproj...
Generating windows/vs2012/04_Anim.vcxproj.user...
Generating windows/vs2012/04_Anim.vcxproj.filters...
Generating windows/vs2012/05_Viewport.vcxproj...
Generating windows/vs2012/05_Viewport.vcxproj.user...
Generating windows/vs2012/05_Viewport.vcxproj.filters...
Generating windows/vs2012/06_Sound.vcxproj...
Generating windows/vs2012/06_Sound.vcxproj.user...
Generating windows/vs2012/06_Sound.vcxproj.filters...
Generating windows/vs2012/07_FX.vcxproj...
Generating windows/vs2012/07_FX.vcxproj.user...
Generating windows/vs2012/07_FX.vcxproj.filters...
Generating windows/vs2012/08_Physics.vcxproj...
Generating windows/vs2012/08_Physics.vcxproj.user...
Generating windows/vs2012/08_Physics.vcxproj.filters...
Generating windows/vs2012/09_Scrolling.vcxproj...
Generating windows/vs2012/09_Scrolling.vcxproj.user...
Generating windows/vs2012/09_Scrolling.vcxproj.filters...
Generating windows/vs2012/10_Locale.vcxproj...
Generating windows/vs2012/10_Locale.vcxproj.user...
Generating windows/vs2012/10_Locale.vcxproj.filters...
Generating windows/vs2012/11_Spawner.vcxproj...
Generating windows/vs2012/11_Spawner.vcxproj.user...
Generating windows/vs2012/11_Spawner.vcxproj.filters...
Generating windows/vs2012/12_Lighting.vcxproj...
Generating windows/vs2012/12_Lighting.vcxproj.user...
Generating windows/vs2012/12_Lighting.vcxproj.filters...
Done.
Building configurations...
Running action 'vs2012'...
Generating windows/vs2012/orxFontGen.sln...
Generating windows/vs2012/orxFontGen.vcxproj...
Generating windows/vs2012/orxFontGen.vcxproj.user...
Generating windows/vs2012/orxFontGen.vcxproj.filters...
Done.
Building configurations...
Running action 'vs2012'...
Generating windows/vs2012/orxCrypt.sln...
Generating windows/vs2012/orxCrypt.vcxproj...
Generating windows/vs2012/orxCrypt.vcxproj.user...
Generating windows/vs2012/orxCrypt.vcxproj.filters...
Done.
== Generating [ vs2013 ]
Building configurations...
Running action 'vs2013'...
Generating windows/vs2013/orx.sln...
Generating windows/vs2013/orx.vcxproj...
Generating windows/vs2013/orx.vcxproj.user...
Generating windows/vs2013/orx.vcxproj.filters...
Generating windows/vs2013/orxLIB.vcxproj...
Generating windows/vs2013/orxLIB.vcxproj.user...
Generating windows/vs2013/orxLIB.vcxproj.filters...
Generating windows/vs2013/Bounce.vcxproj...
Generating windows/vs2013/Bounce.vcxproj.user...
Generating windows/vs2013/Bounce.vcxproj.filters...
Done.
Building configurations...
Running action 'vs2013'...
Generating windows/vs2013/Tutorial.sln...
Generating windows/vs2013/01_Object.vcxproj...
Generating windows/vs2013/01_Object.vcxproj.user...
Generating windows/vs2013/01_Object.vcxproj.filters...
Generating windows/vs2013/02_Clock.vcxproj...
Generating windows/vs2013/02_Clock.vcxproj.user...
Generating windows/vs2013/02_Clock.vcxproj.filters...
Generating windows/vs2013/03_Frame.vcxproj...
Generating windows/vs2013/03_Frame.vcxproj.user...
Generating windows/vs2013/03_Frame.vcxproj.filters...
Generating windows/vs2013/04_Anim.vcxproj...
Generating windows/vs2013/04_Anim.vcxproj.user...
Generating windows/vs2013/04_Anim.vcxproj.filters...
Generating windows/vs2013/05_Viewport.vcxproj...
Generating windows/vs2013/05_Viewport.vcxproj.user...
Generating windows/vs2013/05_Viewport.vcxproj.filters...
Generating windows/vs2013/06_Sound.vcxproj...
Generating windows/vs2013/06_Sound.vcxproj.user...
Generating windows/vs2013/06_Sound.vcxproj.filters...
Generating windows/vs2013/07_FX.vcxproj...
Generating windows/vs2013/07_FX.vcxproj.user...
Generating windows/vs2013/07_FX.vcxproj.filters...
Generating windows/vs2013/08_Physics.vcxproj...
Generating windows/vs2013/08_Physics.vcxproj.user...
Generating windows/vs2013/08_Physics.vcxproj.filters...
Generating windows/vs2013/09_Scrolling.vcxproj...
Generating windows/vs2013/09_Scrolling.vcxproj.user...
Generating windows/vs2013/09_Scrolling.vcxproj.filters...
Generating windows/vs2013/10_Locale.vcxproj...
Generating windows/vs2013/10_Locale.vcxproj.user...
Generating windows/vs2013/10_Locale.vcxproj.filters...
Generating windows/vs2013/11_Spawner.vcxproj...
Generating windows/vs2013/11_Spawner.vcxproj.user...
Generating windows/vs2013/11_Spawner.vcxproj.filters...
Generating windows/vs2013/12_Lighting.vcxproj...
Generating windows/vs2013/12_Lighting.vcxproj.user...
Generating windows/vs2013/12_Lighting.vcxproj.filters...
Done.
Building configurations...
Running action 'vs2013'...
Generating windows/vs2013/orxFontGen.sln...
Generating windows/vs2013/orxFontGen.vcxproj...
Generating windows/vs2013/orxFontGen.vcxproj.user...
Generating windows/vs2013/orxFontGen.vcxproj.filters...
Done.
Building configurations...
Running action 'vs2013'...
Generating windows/vs2013/orxCrypt.sln...
Generating windows/vs2013/orxCrypt.vcxproj...
Generating windows/vs2013/orxCrypt.vcxproj.user...
Generating windows/vs2013/orxCrypt.vcxproj.filters...
Done.
== Generating [ vs2015 ]
Building configurations...
Running action 'vs2015'...
Generating windows/vs2015/orx.sln...
Generating windows/vs2015/orx.vcxproj...
Generating windows/vs2015/orx.vcxproj.user...
Generating windows/vs2015/orx.vcxproj.filters...
Generating windows/vs2015/orxLIB.vcxproj...
Generating windows/vs2015/orxLIB.vcxproj.user...
Generating windows/vs2015/orxLIB.vcxproj.filters...
Generating windows/vs2015/Bounce.vcxproj...
Generating windows/vs2015/Bounce.vcxproj.user...
Generating windows/vs2015/Bounce.vcxproj.filters...
Done.
Building configurations...
Running action 'vs2015'...
Generating windows/vs2015/Tutorial.sln...
Generating windows/vs2015/01_Object.vcxproj...
Generating windows/vs2015/01_Object.vcxproj.user...
Generating windows/vs2015/01_Object.vcxproj.filters...
Generating windows/vs2015/02_Clock.vcxproj...
Generating windows/vs2015/02_Clock.vcxproj.user...
Generating windows/vs2015/02_Clock.vcxproj.filters...
Generating windows/vs2015/03_Frame.vcxproj...
Generating windows/vs2015/03_Frame.vcxproj.user...
Generating windows/vs2015/03_Frame.vcxproj.filters...
Generating windows/vs2015/04_Anim.vcxproj...
Generating windows/vs2015/04_Anim.vcxproj.user...
Generating windows/vs2015/04_Anim.vcxproj.filters...
Generating windows/vs2015/05_Viewport.vcxproj...
Generating windows/vs2015/05_Viewport.vcxproj.user...
Generating windows/vs2015/05_Viewport.vcxproj.filters...
Generating windows/vs2015/06_Sound.vcxproj...
Generating windows/vs2015/06_Sound.vcxproj.user...
Generating windows/vs2015/06_Sound.vcxproj.filters...
Generating windows/vs2015/07_FX.vcxproj...
Generating windows/vs2015/07_FX.vcxproj.user...
Generating windows/vs2015/07_FX.vcxproj.filters...
Generating windows/vs2015/08_Physics.vcxproj...
Generating windows/vs2015/08_Physics.vcxproj.user...
Generating windows/vs2015/08_Physics.vcxproj.filters...
Generating windows/vs2015/09_Scrolling.vcxproj...
Generating windows/vs2015/09_Scrolling.vcxproj.user...
Generating windows/vs2015/09_Scrolling.vcxproj.filters...
Generating windows/vs2015/10_Locale.vcxproj...
Generating windows/vs2015/10_Locale.vcxproj.user...
Generating windows/vs2015/10_Locale.vcxproj.filters...
Generating windows/vs2015/11_Spawner.vcxproj...
Generating windows/vs2015/11_Spawner.vcxproj.user...
Generating windows/vs2015/11_Spawner.vcxproj.filters...
Generating windows/vs2015/12_Lighting.vcxproj...
Generating windows/vs2015/12_Lighting.vcxproj.user...
Generating windows/vs2015/12_Lighting.vcxproj.filters...
Done.
Building configurations...
Running action 'vs2015'...
Generating windows/vs2015/orxFontGen.sln...
Generating windows/vs2015/orxFontGen.vcxproj...
Generating windows/vs2015/orxFontGen.vcxproj.user...
Generating windows/vs2015/orxFontGen.vcxproj.filters...
Done.
Building configurations...
Running action 'vs2015'...
Generating windows/vs2015/orxCrypt.sln...
Generating windows/vs2015/orxCrypt.vcxproj...
Generating windows/vs2015/orxCrypt.vcxproj.user...
Generating windows/vs2015/orxCrypt.vcxproj.filters...
Done.
== You can now build orx in [ code/build/windows ]
== Installing git hook [ post-checkout ]
== Installing git hook [ post-merge ]
== [ 0:05:32 ] Setup successful!

Now that you have the orx source, dependencies, and newly created build projects, you can compile orx with your favourite IDE to get a working orx.dll and .lib.

tutorials/cloning_orx_from_github.txt · Last modified: 2016/11/09 01:29 (5 months ago) by sausage