X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=README.md;h=e167559aa5c8b29916c56c29019fbd92b292a8f0;hb=a80807eb35cc0ff70a9afdd6b7db2f38cb686683;hp=51122bfb5fe0a87364182e27cb178c12538286f6;hpb=f2306921e0ffacee5d85bb8722febd217d613aaf;p=trackerpp.git diff --git a/README.md b/README.md index 51122bf..e167559 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,36 @@ Tracker++ cpp version on Linux (arm) ## install dependencies -`apt-get install liblog4cpp5-dev libopencv-dev` -## Build +- opencv - 3.4.1 + + Run the script `script/install_opencv.sh`, the prefix is `/usr/local` -`make all` +- log4cpp : logger utils +- 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 + - `pip install scipy numpy sklearn` + -### Run +As boost has already +`sudo ./b2 install link=static cxxflags=-fPIC --with-filesystem --with-test --with-log --with-program_options --with-python` + + +## Build with `scons` + +- Run `scons` to build the `src/` and `main`. It will generate a library +`libtracker.a` and an executable file `main` under current folder. + +- Run `scons --all` to build source and `test` file. A executable file `TestMain`, +which is used to run the unit test, will be generated under `test` + +- Run `scons --all -c` to clean. + +### Run `./main`