User Tools

Site Tools


en:tutorials:community:grey:setup_cl

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:tutorials:community:grey:setup_cl [2018/06/12 11:39 (2 months ago)]
sausage
en:tutorials:community:grey:setup_cl [2018/06/21 13:06 (2 months ago)] (current)
sausage
Line 4: Line 4:
  
  
-====== Compiling the Orx library ​with Codelite ​for Linux ======+====== Compiling the Orx library for Linux ======
  
-This guide assumes that you have cloned Orx from github and that the setup.sh script has been automatically run. You will receive a notice when the script completes that states:+This guide assumes that you have [[en:​tutorials:​cloning_orx_from_github|cloned Orx from github]] and that the setup.sh script has been automatically run. You will receive a notice when the script completes that states:
  
 <​code>​ <​code>​
Line 32: Line 32:
   * apt-get install libxrandr-dev:​i386   * apt-get install libxrandr-dev:​i386
  
-For other linux flavours, like Fedora, use the appropriate package manager command.+For other Linux flavours, like Fedora, use the appropriate package manager command.
  
 <WRAP center round tip 60%> <WRAP center round tip 60%>
-It seems that installing one version of the libraries, means automatically removing the other. ​I will update ​this document when I find nice easy solution for having both on the same machine.+It seems that installing one version of the libraries, means automatically removing the other. ​You need multi-arch to be able to compile both 32 and 64-bit versions. If you are interested in doing this, go to: [[en:​orx:​linux:​setting_up_dev_on_linux|Setting up Development Environment ​on Linux]]
 </​WRAP>​ </​WRAP>​
  
-==== Finding the Codelite Workspace (project) ==== 
  
-In the following folder you will find the Codelite project to build the Orx library and Demo program: 
- 
-<​code>​ 
-/​orx/​code/​build/​linux/​codelite/​ 
-</​code>​ 
- 
-If for any reason the codelite folder is missing or you removed it, all the tools to regenerate it are available to you. [[en:​tutorials:​community:​sausage:​using-premake-to-create-build-projects|This guide]] can help you do this. 
- 
-==== Loading the Codelite Workspace ==== 
- 
-Open Codelite and choose "Open Workspace"​. Select the one at:  
- 
-<​code>​ 
-/​orx/​code/​build/​linux/​codelite/​orx.workspace 
-</​code>​ 
- 
-You can select from the following configurations to build Orx libraries under 32-bit: 
- 
-  * Debug_x32 
-  * Profile_x32 
-  * Release_x32 
- 
-In the same way, to compile Orx libraries for 64-bit: 
- 
-  * Debug_x64 
-  * Profile_x64 
-  * Release_x64 
  
 When you compile all three configurations,​ you will see the following files in the /​orx/​code/​lib/​dynamic/​ folder: When you compile all three configurations,​ you will see the following files in the /​orx/​code/​lib/​dynamic/​ folder:
Line 75: Line 47:
  
 And you have the three Orx libraries ready for use in your own projects. And you have the three Orx libraries ready for use in your own projects.
- 
-==== The Orx Demo ==== 
- 
-Not only are the Orx libraries built when you compile, but also the Orx demo can be found at: 
- 
-<​code>​ 
-/​orx/​code/​bin/​ 
-</​code>​ 
- 
-There are three versions of the executable as: 
- 
-  * orx 
-  * orxd 
-  * orxp 
- 
-Run one to play with the demo. 
- 
-That's it. 
en/tutorials/community/grey/setup_cl.1528803551.txt.gz · Last modified: 2018/06/12 11:39 (2 months ago) by sausage