doc/manual/install.rst
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Tue, 20 Jun 2017 17:01:19 +0300
changeset 1699 65ce8afe4b8f
parent 811 66a8812457d6
permissions -rw-r--r--
enable non-latin variable descriptions in CodeFileEditor

fix following backtrace:

UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)
Traceback (most recent call last):
File "beremiz/editors/CodeFileEditor.py", line 610, in GetValue
return str(self.data[row].get(self.GetColLabelValue(col, False), ""))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)
Beremiz installation 
====================

Windows
-------
Download installer, install. 

Linux
-----
Pre-requisites::

    # Ubuntu/Debian :
    sudo apt-get install python-wxgtk2.8 pyro mercurial
    sudo apt-get install build-essential bison flex python-numpy python-nevow

Prepare::

    mkdir ~/Beremiz
    cd ~/Beremiz

Get Source Code::

    cd ~/Beremiz
    
    hg clone http://dev.automforge.net/beremiz
    hg clone http://dev.automforge.net/plcopeneditor
    hg clone http://dev.automforge.net/matiec

Build MatIEC compiler::

    cd ~/Beremiz/matiec
    ./configure
    make

Build CanFestival (optional):: 

    # Only needed for CANopen support. Please read CanFestival 
    # manual to choose CAN interface other than 'virtual'::

    cd ~/Beremiz
    hg clone http://dev.automforge.net/CanFestival-3
    
    cd ~/Beremiz/CanFestival-3
    ./configure --can=virtual
    make

Launch Beremiz::

    cd ~/Beremiz/beremiz
    python Beremiz.py