README 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Ducumentation (Russian):
  2. http://gitlab.molpit.com/oberon/blackbox-freenix/wikis/home
  3. Directories structure:
  4. BlackBox/
  5. universal development environment
  6. synchronized with original BlackBox 1.6
  7. examples/
  8. some outdated examples
  9. console/
  10. simple console application
  11. fpstest/
  12. loop test
  13. server/
  14. static web-server as the example of an application for Linux OS
  15. Installation of required packages in Ubuntu 14.04 (should work also with other Debian-based OS):
  16. 32-bit version:
  17. sudo apt-get install libgtk2.0-0 gtk2-engines gtk2-engines-murrine libcanberra-gtk-module
  18. sudo apt-get install libgnomeui-0
  19. 64-bit version:
  20. sudo apt-get install libc6-dev-i386
  21. sudo dpkg --add-architecture i386
  22. sudo apt-get update
  23. sudo apt-get install libgtk2.0-0:i386 gtk2-engines:i386 gtk2-engines-murrine:i386 libcanberra-gtk-module:i386
  24. sudo apt-get install libgnomeui-0:i386
  25. Comments:
  26. 'libc6-dev-i386' is required for compilation of 'loader', after build it can be replaced by 'libc6-i386'
  27. 'libgnomeui-0:i386' is required only for run blackbox by 'run-BlackBox-2' starter
  28. To build BlackBox:
  29. cd BlackBox
  30. ./switch-target `uname -s` GUI
  31. ./build
  32. To run BlackBox (after build):
  33. ./run-BlackBox
  34. or
  35. ./run-BlackBox-2
  36. To create BlackBox assembly (after build):
  37. ./export <outputDirectory>
  38. To clean the BlackBox folder:
  39. ./switch-target none
  40. ./clean
  41. Example: build, create assembly in /tmp, run BlackBox from assembly:
  42. cd BlackBox
  43. ./switch-target `uname -s` GUI
  44. ./build
  45. ./export /tmp/BlackBox-`uname -s`
  46. ./switch-target none
  47. ./clean
  48. cd /tmp/BlackBox-`uname -s`
  49. ./run-BlackBox