How to Install GoogleTest Frame Work On Linux(Ubuntu) PC .
Step 1: open Terminal (ctrl+alt+t) and type
sudo apt-get install
libgtest-dev (wait for few seconds)
if you have already camke in your pc then below command is not
required else you can use below command to install cmake :
sudo apt-get install cmake
step 2 : go to below directory
cd /usr/src/gtest
step 3 : run the below commands :
sudo cmake CMakeLists.txt
sudo make
step 4 : sudo cp *.a
/usr/lib
Comments
Post a Comment