====== Building the Orx library on Linux with Code::Blocks ====== You can use Code::Blocks on Linux in order to build the Orx library. I will assume that you have covered the step at [coming soon!] to set up a development environment on Linux. ===== Downloading Code::Blocks for Linux ===== If you don't have Code::Blocks yet, you can download from here: http://www.codeblocks.org/downloads/binaries#linux ===== Building Orx ===== Launch Code::Blocks. If this is the first time you have launched it, you will be asked what compiler to use: {{ tutorials:orx:linux:codeblocks-linux-select-compiler.gif |}} Use Code::Blocks to open the workspace at ''orx/code/build/linux/codeblocks'': {{ tutorials:orx:linux:codeblocks-linux-open-orx-workspace.gif |}} Build the default config of ''Debug'' and ''64-bit'' by selecting the ''Build workspace'' menu from the ''Build'' menu. {{ tutorials:orx:linux:codeblocks-linux-build.gif |}} Confirm the output of the build to ensure everything built correctly: {{ tutorials:orx:linux:codeblocks-linux-build-output.gif |}} Now to change from the ''Debug|x64'' build to the ''Profile|x64'' build on the ''Workspace'' tab: {{ tutorials:orx:linux:codeblocks-linux-change-build-config.gif |}} Then build again: {{ tutorials:orx:linux:codeblocks-linux-build.gif |}} Finally, switch to the ''Release|x64'' configuration and build again. {{section>en:tutorials:orx:linux:finding_the_orx_libraries_for_linux&nofooter&noeditbutton}}