From 888a6d8a0f33095753487d7d0f5a8a0a0c2b9a83 Mon Sep 17 00:00:00 2001 From: Yoonsang Lee Date: Tue, 1 Nov 2016 15:38:18 +0900 Subject: [PATCH 1/1] Update README for dali-swig Change-Id: I69bff78adad54dc45358f4d5e0774fa0fc73b3bc --- plugins/dali-swig/README | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/plugins/dali-swig/README b/plugins/dali-swig/README index 6cc67c4..cfed355 100644 --- a/plugins/dali-swig/README +++ b/plugins/dali-swig/README @@ -1,3 +1,25 @@ +To add the Mono Project GPG signing key and the package repository (http://www.mono-project.com/docs/getting-started/install/linux/): + +sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF +echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list +sudo apt-get update + +To install Mono: + +sudo apt-get install mono-devel +sudo apt-get install mono-complete +sudo apt-get install referenceassemblies-pcl +sudo apt-get install ca-certificates-mono + +To install SWIG: + +a) Download Swig-3.0.10 from http://www.swig.org/download.html +b) Untar the files and refer "INSTALL" file to install Swig as mentioned below: + 1) ./configure --with-csharp-compiler=/usr/bin/mcs + (/usr/bin/mcs is the mono compiler path from step 1) + 2) make + 3) sudo make install + To build C# binding for Ubuntu desktop using SWIG for the first time: ./autogen.sh -- 2.7.4