Add ld_library_path export

This commit is contained in:
Abdelrahman Mahmoud 2016-03-25 13:52:08 -04:00
parent 961aa8de97
commit 4b4e1e05ba

View file

@ -38,14 +38,15 @@ Installation
```bashrc ```bashrc
sudo apt-get install build-essential libopencv-dev libboost1.55-all-dev cmake sudo apt-get install build-essential libopencv-dev libboost1.55-all-dev cmake
wget http://developer.affectiva.com/downloads/linux wget http://developer.affectiva.com/downloads/linux
mkdir affdex-sdk mkdir $HOME/affdex-sdk
tar -xzvf affdex-cpp-sdk-3.0-linux-64bit.tar.gz -C affdex-sdk tar -xzvf affdex-cpp-sdk-3.0-linux-64bit.tar.gz -C $HOME/affdex-sdk
export AFFDEX_DATA_DIR=affdex-sdk/data export AFFDEX_DATA_DIR=$HOME/affdex-sdk/data
git clone https://github.com/Affectiva/win-sdk-samples.git git clone https://github.com/Affectiva/cpp-sdk-samples.git $HOME/sdk-samples
mkdir build mkdir $HOME/build
cd build cd $HOME/build
cmake -DOpenCV_DIR=/usr/local/ -DAFFDEX_DIR=../affdex-sdk ../win-sdk-samples cmake -DOpenCV_DIR=/usr/ -DBOOST_ROOT=/usr/ -DAFFDEX_DIR=$HOME/affdex-sdk $HOME/sdk-samples
make make
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/affdex-sdk/lib
``` ```