Urho3D Wiki
Advertisement

Welcome to the Urho3D beginner build guide!

This Guide describes how to create and build Urho3D from source. This guide is based on the official build guide (http://urho3d.github.io/documentation/1.5/_building.html) but provides a more complete guide (with dependencies) and is a step by step guide with images, which should be easier for beginners. This guide uses Windows and CodeBlocks as an IDE with the MinGW compile suite (GCC), but other systems and combinations are quite similar.

There is also older guides for Urho 1.4 and Urho 1.32, the later one uses Makefiles.

This guide uses the following programs (links below):

  • Urho3D (1.5)
  • CMake (3.4.1, this is the build system used by Urho)
  • MinGW64 (5.2.0 64bit, this is basically the GCC compiler packaged for Windows)
  • CodeBlocks (15.12 RC1, the IDE this guide uses, you could also use something else)
  • Windows 10 (64bit, there should be no difference compared to Windows 7 or 8)
  • Optional: DirectX SDK (only required if you want to use DirectX 9 or 11 instead of OpenGL)

Other program versions should work too and other programs (like Visual Studio instead of MinGW) are similiar.



http://forums.codeblocks.org/index.php/topic,20729.0.html I took the one with the MinGW (32bit) bundle.

https://cmake.org/download/ https://cmake.org/files/v3.4/cmake-3.4.1-win32-x86.exe

https://www.microsoft.com/en-us/download/details.aspx?id=6812

1. Download Edit

When installing CMake, select one of the two options to add it to the system PATH:


All other programs can be installed with default settings. Unpack Urho somewhere.

Running CMake to create the project files for Urho

You can do two things here or CMake will output errors with:

CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".
CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
Advertisement