]> O.S.I.I.S - jp/crow.git/commitdiff
update readme 14/head
authorjpbruyere <jp.bruyere@hotmail.com>
Thu, 4 Aug 2016 20:23:13 +0000 (22:23 +0200)
committerjpbruyere <jp.bruyere@hotmail.com>
Thu, 4 Aug 2016 20:23:13 +0000 (22:23 +0200)
README.md

index 57245ed280eba58869dadde4145f97a10d0c17e4..29c48ccf83ce0781ce2ac18ec438e7bd46567698 100644 (file)
--- a/README.md
+++ b/README.md
@@ -29,22 +29,32 @@ Please report bugs and issues on [GitHub](https://github.com/jpbruyere/Crow/issu
 - Inlined delegates in XML
 
 ####Requirements :
-- **C#6** compatible compiler.
-- Mono >= 4.0 Framework on every os. (It solves the **String Encoding** problem.)
-- Cairo Graphic Library >= 1.10
-- OpenTK version assume you have OpenGL libraries installed on your system.
-- GTK Sharp. (At least glib, gio, gdk and cairo cil binding, atk, pango and gtk sharp may be removed from references)
-
-####Using CROW in your OpenTK project :
-* add [Crow.OpenTK NuGet package](https://www.nuget.org/packages/Crow.OpenTK/) to your project.
-* Derive **OpenTKGameWindow** class.
-* Load some widget in the **OnLoad** override with `CrowInterface.LoadInterface` .
+- Mono >= 4.0 Framework. 
+- [airo Graphic Library](https://cairographics.org/) >= 1.10 
+- [OpenTK](http://opentk.github.io/).
+- glib, gio, and gdk >= 3.0. (part of GTK project).
+
+####Installing dependencies
+#####On Linux
+You may install **mono-complete**, or only **xbuild**, **mono runtime** and minimal system **CIL** libs (system, xml, drawing)
+```bash
+sudo apt-get install mono-complete
+sudo apt-get install -y xbuild mono-runtime libmono-system-core4.0-cil libmono-system-xml4.0-cil libmono-system-drawing4.0-cil libcairo1.10-cil libgio3.0-cil libgdk3.0-cil libglib3.0-cil
+```
+#####On Windows
+- Install [Mono and GTK#](http://www.mono-project.com/download/#download-win)
+- Add **CIL dll's** path to your environment **PATH** variable, and also **native dll's** path of cairo and gtk.
+- Compile your solution using **xbuild** from Mono
 
 ####Build from sources :
-```
+```bash
 git clone https://github.com/jpbruyere/Crow.git        # Download source code from github
 cd Crow                                                        # Enter the source directory
 nuget restore Crow.sln                                                         # Restore nuget packages
-msbuild /p:Configuration=Release Crow.sln                      # Build on .Net (Windows)
-xbuild  /p:Configuration=Release Crow.sln                      # Build on Mono (Linux / Mac OS X)
+xbuild  /p:Configuration=Release Crow.sln                      # Build with Mono 
 ```
+####Using CROW in your OpenTK project :
+* add [Crow.OpenTK NuGet package](https://www.nuget.org/packages/Crow.OpenTK/) to your project.
+* Derive **OpenTKGameWindow** class.
+* Load some widget in the **OnLoad** override with `CrowInterface.LoadInterface` .
+