Skip to content

Latest commit

 

History

History
executable file
·
54 lines (40 loc) · 1.49 KB

Manually_installing_dependencies.md

File metadata and controls

executable file
·
54 lines (40 loc) · 1.49 KB

Manually installing dependencies

GCC

sudo apt-add-repository ppa:ubuntu-toolchain-r/test  
sudo apt-get update --yes --force-yes  
sudo apt-get install g++6.3 gcc-6
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5

Poco C++ Libraries

tar -xf poco-1.9-all.tar.gz  
cd /path/to/poco-1.9-all  
./configure --no-tests --no-samples --typical  
sudo make
sudo make install 

Boost C++ Libraries

tar -xf boost_1_70_0.tar.gz  
cd boost_1_70_0  
./bootstrap.sh --with-libraries=program_options,system,locale,filesystem,chrono,thread
./b2 --link=shared --runtime-link=shared --variant=release
./b2 install

Boost B2 will leave Boost binaries in the lib/ subdirectory of your installation prefix. You will also find a copy of the Boost headers in the include/ subdirectory of the installation prefix, so you can henceforth use that directory as an #include path in place of the Boost root directory.

Google Test (GTest)

sudo apt-get install libgtest-dev

LCOV

git clone https://github.com/linux-test-project/lcov.git
make install

Doxygen and Graphviz

sudo apt-get install graphviz doxygen