index df987b3949463bf5ca9f2be1f9b47119bbbc9225..01880ab012882ddfa192ac85b7ff6583a63d8063 100644 (file)
--- a/README
+++ b/README
Ducumentation (Russian):
- http://gitlab.molpit.com/idenisov/blackbox-linux/wikis/home
+ http://gitlab.molpit.org/blackbox/freenix/wikis/home
Directories structure:
- new/
+ BlackBox/
universal development environment
- synchronized with original BlackBox 1.6
+ based on BlackBox 1.7-beta1
- examples/ (all axamples are not tested on `new` version yet)
- server/
- static web-server as the example of an application for Linux OS
- console/
- simple console application
+ examples/
+ encoder/
+ encoding BlackBox subsystem by StdCoder from command line interface
fpstest/
loop test
+ server/
+ static single-thread web-server
-To build BlackBox:
+Installation of required packages in Ubuntu 14.04 (should work also with other Debian-based OS):
+
+ 32-bit version:
+ sudo apt-get install libgtk2.0-0 gtk2-engines gtk2-engines-murrine libcanberra-gtk-module
+ sudo apt-get install libgnomeui-0 gnome-icon-theme-full
+
+ 64-bit version:
+ sudo apt-get install libc6-dev-i386
+ sudo dpkg --add-architecture i386
+ sudo apt-get update
+ sudo apt-get install libgtk2.0-0:i386 gtk2-engines:i386 gtk2-engines-murrine:i386 libcanberra-gtk-module:i386
+ sudo apt-get install libgnomeui-0:i386 gnome-icon-theme-full
- cd new
+ Comments:
+ 'libc6-dev-i386' is required for compilation of 'loader', after build it can be replaced by 'libc6-i386'
+
+
+To build BlackBox:
+ cd BlackBox
./switch-target `uname -s` GUI
./build
To run BlackBox (after build):
- cd new
./run-BlackBox
+ for Linux version also you can run
+ ./blackbox
To create BlackBox assembly (after build):
- cd ./new
./export <outputDirectory>
-Example: build, create assembly in /tmp, run BlackBox from assembly:
- cd new
+To clean the BlackBox folder:
+ ./switch-target none
+ ./clean
+
+Example: build, create assembly and run BlackBox from assembly:
+ cd BlackBox
./switch-target `uname -s` GUI
./build
- ./export /tmp/BlackBox-`uname -s`
- cd /tmp/BlackBox-`uname -s`
+ ./export ../`uname -s`_GUI
+ ./switch-target none
+ ./clean
+ cd ../`uname -s`_GUI
./run-BlackBox
+