Top Diff List Farm Source Search Help RSS Login

HARK-MUSIC Installation Instructions

Softwares > HARK-MUSIC > HARK-MUSIC Installation Instructions

HARK-MUSIC Installation Instructions


 Installation from pre-compiled binaries


Compilation Environment


For other environments, please go for the source compilation.
The pre-compiled binaries for lucid are supported up to HARK version 1.1.0.
To use HARK later than version 1.1.0 in lucid, go for the source compilation.

Installation


For adding the HARK repository, see HARK Installation Instructions.

HARK stack (harkfd, hark-music) installation

sudo apt-get install harkfd hark-music

 Installation from source compilation (Optional)


Step1 : HARK Basic Package Installation


Here, the source compilation of only hark-music package is explained.
We assume that the HARK basic packages (such as harkfd, flowdesigner-0.9.1-hark) are installed by pre-compiled bineries.

sudo apt-get install harkfd

hark-music package is installed by source compilation in the next subsection.

Step2 : hark-music Package Installation


To install hark-music, we need source codes of both hark-music and harkfd.

Firstly, move to your preferred directory to download source codes.

mkdir ${HOME}/YOUR_HARK_DOWNLOAD_DIR
cd ${HOME}/YOUR_HARK_DOWNLOAD_DIR

Download the latest hark-fd-*.*.*.tar.gz and hark-music-*.*.*.tar.gz from here and unzip them.

tar zxvf hark-fd-*.*.*.tar.gz
tar zxvf hark-music-*.*.*.tar.gz

Compile and install the source codes.

cd hark-music-*.*.*
./configure --prefix=/usr/local --with-hark-inc=${HOME}/YOUR_HARK_DOWNLOAD_DIR/harkfd-*.*.*/include/; make clean; make ; sudo make install;

The "*.*.*" describes the package version.

Here, we need header files of harkfd with --with-hark-inc option, so we downloaded harkfd source files.

If you haven't set FLOWDESIGNER_PATH in ~/.bashrc, use the following command to activate this package.

echo "export FLOWDESIGNER_PATH=$FLOWDESIGNER_PATH:/usr/local/lib" >> ~/.bashrc

 Check the installation


To check the HARK-MUSIC installation, follow this section.

Run Flowdesigner in a new terminal.

flowdesigner

You will see something like following.

UINodeRepository::Scan()
Scanning def /usr/lib/flowdesigner/toolbox
done loading def files

If you see some HARK-MUSIC related errors here, some packages haven't been correctly installed.
Then, repeat the installation above.

HARK-MUSIC modules can be found at the following place.

Right click > New Node > HARK > MUSIC