Advertisement
Guest User

Untitled

a guest
Mar 24th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. To compile and install you need:
  2. - CMake >= 2.6.0
  3. - FreePascal >= 2.2.0
  4. - Qt >= 4.5.0
  5. - SDL >= 1.2.5
  6. - SDL_net >= 1.2.5
  7. - SDL_mixer >= 1.2
  8. - SDL_image >= 1.2
  9. - SDL_ttf >= 2.0
  10. - Lua >= 5.1.0
  11. - Physfs >= 2.1.0
  12. For server:
  13. - Glasgow Haskell Compiler >= 6.10
  14. - bytestring-show package
  15. - dataenc package
  16. - hslogger package
  17. For videorecording:
  18. - FFmpeg or LibAV
  19. - GLUT (when SDL < 2)
  20. For compressed screenshots:
  21. - libpng
  22.  
  23. Lua will be automatically built if not found.
  24.  
  25. PhysFS will internally built unless -DPHYSFS_SYSTEM=on is passed to cmake
  26. (also allows to set PHYSFS_LIBRARY and PHYSFS_INCLUDE_DIR if needed).
  27.  
  28. 1. Configure:
  29. $ cmake .
  30. or
  31. $ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" \
  32. -DDATA_INSTALL_DIR="data_dir" -DNOSERVER=1 .
  33.  
  34. Add -DNOSERVER=0 to compile net server (remember to check out the additional
  35. dependencies with the hedgewars-server.cabal configuration file. If you have
  36. Qt installed but it is not found, you can set it up with
  37. -DQT_QMAKE_EXECUTABLE="path_to_qmake".
  38. To get a glimpse of the main configuration options, you may use this command
  39. `cat CMakeLists.txt | grep option`
  40.  
  41. 2. Compile:
  42. $ make
  43.  
  44. 3. Install:
  45. # make install
  46.  
  47.  
  48. That's all! Enjoy!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement