Differences
This shows you the differences between two versions of the page.
doc:install:buildoptions [2019/05/09 05:51] |
doc:install:buildoptions [2020/06/09 14:01] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Build configuration ===== | ||
+ | For the moment, the best way to configure | ||
+ | |||
+ | < | ||
+ | |||
+ | Usage of this script is explained from the help command : | ||
+ | |||
+ | <code bash|**config-smil help**> | ||
+ | $ config-smil help | ||
+ | |||
+ | config-smil | ||
+ | | ||
+ | Usage : | ||
+ | config-smil [ options ] SourceDirectory | ||
+ | | ||
+ | Options : | ||
+ | --help | ||
+ | This message | ||
+ | |||
+ | --prefix=prefix | ||
+ | This option defines the prefix where Smil will be installed. | ||
+ | Default value is /usr/local. | ||
+ | |||
+ | --addon=name, | ||
+ | A comma separated list of Addons to enable | ||
+ | Default enabled Addons : Color Filters HoughTransform | ||
+ | |||
+ | Example : | ||
+ | config-smil --addon=GraphCuts --prefix=/ | ||
+ | |||
+ | Author : | ||
+ | Jose-Marcio Martins da Cruz | ||
+ | | ||
+ | See also : | ||
+ | Full Smil documentation at : http:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | So, in short words, to configure, compile and install Smil under Anaconda, the simplest way is something of the kind : | ||
+ | |||
+ | <code bash|**Download**> | ||
+ | $ mkdir sources | ||
+ | $ cd sources | ||
+ | $ git clone https:// | ||
+ | </ | ||
+ | |||
+ | <code bash|**Change '' | ||
+ | $ cd smil | ||
+ | $ git checkout develop | ||
+ | $ cd .. | ||
+ | </ | ||
+ | |||
+ | <code bash|**Configure, | ||
+ | $ mkdir build | ||
+ | $ cd build | ||
+ | $ ../ | ||
+ | $ make -j 6 | ||
+ | $ sudo make install | ||
+ | </ | ||
+ | |||
+ | <note tip> | ||
+ | When building '' | ||
+ | |||
+ | The easiest way to do this is to use different prefixes. E.g. : | ||
+ | ''/ | ||
+ | |||
+ | <code bash|**Defining a prefix for Python 2.7**> | ||
+ | config-smil --prefix=/ | ||
+ | </ | ||
+ | |||
+ | </ |