Replace libgtest-dev by googletest

This commit is contained in:
Carles Fernandez 2018-02-06 07:36:22 +01:00
parent bc4047bb49
commit eb7cf3e7bb
1 changed files with 5 additions and 2 deletions

View File

@ -60,10 +60,12 @@ $ sudo apt-get install build-essential cmake git libboost-dev libboost-date-time
libboost-system-dev libboost-filesystem-dev libboost-thread-dev libboost-chrono-dev \
libboost-serialization-dev libboost-program-options-dev libboost-test-dev \
liblog4cpp5-dev libuhd-dev gnuradio-dev gr-osmosdr libblas-dev liblapack-dev \
libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev libgtest-dev \
python-mako python-six libmatio-dev
libarmadillo-dev libgflags-dev libgoogle-glog-dev libgnutls-openssl-dev \
python-mako python-six libmatio-dev googletest
~~~~~~
Please note that `googletest` was named `libgtest-dev` in distributions older than Debian 9 Stretch and Ubuntu 17.04 Zesty.
Alternatively, and starting from Ubuntu 16.04 LTS, you can install all the required dependencies by adding the line
~~~~~~
@ -77,6 +79,7 @@ $ sudo apt-get update
$ sudo apt-get build-dep gnss-sdr
~~~~~~
Once you have installed these packages, you can jump directly to [how to download the source code and build GNSS-SDR](#download-and-build-linux).
Note for Ubuntu 14.04 LTS "trusty" users: you will need to build from source and install GNU Radio manually, as explained below, since GNSS-SDR requires gnuradio-dev >= 3.7.3, and Ubuntu 14.04 came with 3.7.2. Install all the packages above BUT EXCEPT ```libuhd-dev```, ```gnuradio-dev``` and ```gr-osmosdr``` (and remove them if they are already installed in your machine), and install those dependencies using PyBOMBS.