Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wcomp-phidget [2013/12/03 16:00] – created Stéphane Lavirotte | wcomp-phidget [2015/03/26 10:39] (current) – Stéphane Lavirotte | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== WComp on Phidget | + | ====== WComp on Phidget's platforms====== |
| - | {{: | + | {{: |
| - | In order to install | + | You can go along with this tutorial |
| - | | + | |
| + | {{: | ||
| + | |||
| + | ===== Update your Phidget SBC 107x ===== | ||
| + | |||
| + | First of all, you must update your system with the most recent packages. After being loggued as super user (root), you must upgrade it using: | ||
| < | < | ||
| - | * Go to the web interface of your platform and go to //System / Packages// and check //Include Full Debian Repository// | + | * Go to the web interface of your platform and go to //System / Packages// and check //Include Full Debian Repository// |
| + | |||
| + | You can also add some useful tools with the following commands: | ||
| + | < | ||
| + | |||
| + | After this update and upgrade of your system, you can suppress all unuseful packages (the own downloaded and some that are not useful anymore) with the following commands: | ||
| + | < | ||
| + | apt-get clean | ||
| + | apt-get purge $(deborphan) | ||
| + | </ | ||
| + | ===== Install Mono ===== | ||
| + | |||
| + | ==== Install Mono on Phidget SBC 1072 ==== | ||
| + | |||
| + | In order to install Mono on Phidget SBC 1072, do the following: | ||
| + | * Update the system installed on your platform. | ||
| * Install the mono environment: | * Install the mono environment: | ||
| < | < | ||
| - | * Enable phidget | + | |
| + | ==== Install Mono on Phidget SBC 1073 ==== | ||
| + | |||
| + | On Phidget 1073, you must not use the mono release 2.10.8 from Debian Wheezy distribution | ||
| + | |||
| + | In order to install Mono on Phidget SBC 1073, you must use the mono release from the testing Debian repository. | ||
| + | |||
| + | First of all, you must configure you Debian distribution to del with stable and testing distributions. Add the following files to your system: | ||
| + | * ''/ | ||
| + | < | ||
| + | deb http:// | ||
| + | </ | ||
| + | |||
| + | To give the priority to the stable packages, you must create the following files | ||
| + | * ''/ | ||
| + | < | ||
| + | Package: * | ||
| + | Pin: release a=stable | ||
| + | Pin-Priority: | ||
| + | </ | ||
| + | * ''/ | ||
| + | < | ||
| + | Package: * | ||
| + | Pin: release a=testing | ||
| + | Pin-Priority: | ||
| + | </ | ||
| + | |||
| + | It's now posible to add the most recent version of mono (from the Debian' | ||
| + | < | ||
| + | apt-get clean | ||
| + | apt-get install mono-4.0-gac/ | ||
| + | </ | ||
| + | |||
| + | If during the installation, | ||
| + | < | ||
| + | dpkg –i / | ||
| + | </ | ||
| + | |||
| + | Now you should have a working Mono environment | ||
| + | |||
| + | ===== Install Phidget libraries for Mono ===== | ||
| + | |||
| + | ==== Install libraries for Phidget SBC 1072 ==== | ||
| < | < | ||
| apt-get install libphidget21-dev | apt-get install libphidget21-dev | ||
| - | apt-get install wget unzip | + | </ |
| - | wget http:// | + | |
| - | unzip Phidget21-windevel_2.1.8.20121015.zip | + | ==== Install libraries for Phidget SBC 1073 ==== |
| + | < | ||
| + | apt-get clean | ||
| + | apt-get install | ||
| + | </ | ||
| + | |||
| + | If during the installation you encounter a memory problem, you can manually install the downloaded packages with the following command: | ||
| + | < | ||
| + | dpkg –i / | ||
| + | </ | ||
| + | |||
| + | ===== Configure Phidget libraries for Mono on Phidge SBC 107x ===== | ||
| + | |||
| + | If you already installed the needed tools (wget and unzip), you can download the needed packages with the following commands: | ||
| + | < | ||
| + | wget http:// | ||
| + | unzip Phidget21-windevel.zip | ||
| + | </ | ||
| + | |||
| + | Then, to add the library to the Mono GAC: | ||
| + | < | ||
| gacutil -i phidget21-windevel/ | gacutil -i phidget21-windevel/ | ||
| ln -s / | ln -s / | ||
| </ | </ | ||
| - | * Unzip SharpWCompContainer | + | |
| + | ===== WComp on Phidget SBC 107x===== | ||
| + | |||
| + | As the last step of the overall process, to install WComp, you juste have to unzip '' | ||