From 4b4e1e05baaf8ff8dbbb423ef7f5f94fffde68ec Mon Sep 17 00:00:00 2001 From: Abdelrahman Mahmoud Date: Fri, 25 Mar 2016 13:52:08 -0400 Subject: [PATCH] Add ld_library_path export --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1cea792..e811c3a 100644 --- a/README.md +++ b/README.md @@ -38,14 +38,15 @@ Installation ```bashrc sudo apt-get install build-essential libopencv-dev libboost1.55-all-dev cmake wget http://developer.affectiva.com/downloads/linux -mkdir affdex-sdk -tar -xzvf affdex-cpp-sdk-3.0-linux-64bit.tar.gz -C affdex-sdk -export AFFDEX_DATA_DIR=affdex-sdk/data -git clone https://github.com/Affectiva/win-sdk-samples.git -mkdir build -cd build -cmake -DOpenCV_DIR=/usr/local/ -DAFFDEX_DIR=../affdex-sdk ../win-sdk-samples +mkdir $HOME/affdex-sdk +tar -xzvf affdex-cpp-sdk-3.0-linux-64bit.tar.gz -C $HOME/affdex-sdk +export AFFDEX_DATA_DIR=$HOME/affdex-sdk/data +git clone https://github.com/Affectiva/cpp-sdk-samples.git $HOME/sdk-samples +mkdir $HOME/build +cd $HOME/build +cmake -DOpenCV_DIR=/usr/ -DBOOST_ROOT=/usr/ -DAFFDEX_DIR=$HOME/affdex-sdk $HOME/sdk-samples make +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/affdex-sdk/lib ```