BUILD.txt 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. This file contains informations about how to correctly build the
  2. engine on the currently supported platforms.
  3. 1. Dependencies
  4. Crown Engine depends on a number of third-party libraries.
  5. Some of them, like luajit, are included in this SDK, so you
  6. do not need to worry too much.
  7. However, some other libraries are not included due to their
  8. excessive size or for some other particular reasons.
  9. In order to be able to successfully build the engine, you
  10. have to install and/or properly configure the following packages:
  11. - Linux
  12. * zlib
  13. * GLEW
  14. * Xlib
  15. * Xrandr
  16. - Android
  17. * Android NDK and SDK
  18. - Windows:
  19. * zlib
  20. * GLEW
  21. 2. Building
  22. The steps required for building the engine in a default and pretty
  23. safe manner are summarized below for each supported platform.
  24. All the commands and/or operations must be performed in the root
  25. directory of the project (i.e. the same as this file):
  26. - Linux
  27. 1. $ mkdir build
  28. 2. $ cd build
  29. 3. $ cmake .. -DCMAKE_INSTALL_PREFIX=$HOME/your/install/dir -DCROWN_ARCH=<arch>
  30. (read below for valid architecture strings)
  31. 4. $ make
  32. 5. $ make install
  33. 'CROWN_ARCH' valid values right now are:
  34. * Linux: "x86" or "x86_64"
  35. - Windows
  36. 1. Create a folder named 'build'
  37. 2. Open a terminal and:
  38. 3. cd build
  39. 4. cmake.exe .. -DCMAKE_INSTALL_PREFIX=C:/your/install/dir -DCROWN_ARCH=win64
  40. 5. Open the generated Visual Studio solution and build/install from there
  41. - Android
  42. 1. $ cd utils
  43. 2. $ ruby crown-android.rb --target <android-target> --name <project-name> --path <project-path>
  44. You can also use the GUI front-end of CMake which can, less or more, simplify
  45. the overall 'complexity' of building from the terminal.
  46. 3. System requirements
  47. In order to be able to run the engine, no particular configurations are needed:
  48. - Linux
  49. * 32/64-bit distribution
  50. * x86/x86_64 CPU
  51. * The latest driver for your GPU (OpenGL >= 2.1)
  52. - Windows
  53. * 64-bit Windows version (Windows 7+)
  54. * x86_64 CPU
  55. * The latest driver for your GPU (OpenGL >= 2.1)
  56. - Android
  57. * Android 2.3.3+
  58. * ARMv7 CPU
  59. * OpenGL|ES 2 compatible GPU
  60. 4. Known issues
  61. - Linux
  62. * Some open-source GPU drivers, like the Intel one, make call to 'operator new'
  63. and thus do not work at the moment with Crown Engine.