X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=README.md;h=e167559aa5c8b29916c56c29019fbd92b292a8f0;hb=a80807eb35cc0ff70a9afdd6b7db2f38cb686683;hp=202ad062301d0827fc73c64e613e2112f3db39df;hpb=48adce31a0ffdb3757ee1be8a63ce7e769e87deb;p=trackerpp.git diff --git a/README.md b/README.md index 202ad06..e167559 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,15 @@ Tracker++ cpp version on Linux (arm) ## install dependencies +- opencv - 3.4.1 + + Run the script `script/install_opencv.sh`, the prefix is `/usr/local` + - log4cpp : logger utils -- opencv - eigen : matrix library of C++ +- scons + `apt-get install liblog4cpp5-dev libeigen3-dev scons` + - boost-python - `apt-get install libpython-dev python-dev` - build boost with python @@ -12,22 +18,10 @@ Tracker++ cpp version on Linux (arm) As boost has already - `sudo ./b2 install link=static cxxflags=-fPIC --with-filesystem --with-test --with-log --with-program_options --with-python` -`apt-get install liblog4cpp5-dev libopencv-dev libeigen3-dev` - -## Build - -`make all` - -### Run - -`./main` - ## Build with `scons` -install scons tool `apt-get install scons` - Run `scons` to build the `src/` and `main`. It will generate a library `libtracker.a` and an executable file `main` under current folder. @@ -36,3 +30,7 @@ install scons tool `apt-get install scons` which is used to run the unit test, will be generated under `test` - Run `scons --all -c` to clean. + +### Run + +`./main`