mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-12 18:30:34 +00:00
Improving doc
This commit is contained in:
parent
572d44813f
commit
5b2645a964
28
README.md
28
README.md
@ -422,7 +422,7 @@ $ sudo port select --set python python27
|
||||
|
||||
#### <a name="homebrew">Homebrew</a>
|
||||
|
||||
Instructions for installing gnuradio using [homebrew](http://www.brew.sh) can be found [here](http://github.com/odrisci/homebrew-gnuradio) - please ensure to install all dependencies as required.
|
||||
Instructions for installing GNU Radio using [homebrew](http://www.brew.sh) can be found [here](http://github.com/odrisci/homebrew-gnuradio) - please ensure to install all dependencies as required.
|
||||
|
||||
Install Armadillo and dependencies:
|
||||
|
||||
@ -435,28 +435,12 @@ $ brew install glog gflags
|
||||
|
||||
#### Build GNSS-SDR
|
||||
|
||||
Finally, you are ready to clone the GNSS-SDR repository and build the software:
|
||||
Finally, you are ready to clone the GNSS-SDR repository, configure and build the software:
|
||||
|
||||
~~~~~~
|
||||
$ git clone https://github.com/gnss-sdr/gnss-sdr
|
||||
$ cd gnss-sdr/build
|
||||
~~~~~~
|
||||
|
||||
If using Macports, run:
|
||||
|
||||
~~~~~~
|
||||
$ cmake -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_PREFIX_PATH=/opt/local -DUSE_MACPORTS_PYTHON=/opt/local/bin/python ../
|
||||
~~~~~~
|
||||
|
||||
If using homebrew, run:
|
||||
|
||||
~~~~~~
|
||||
$ cmake ../
|
||||
~~~~~~
|
||||
|
||||
Finally, run:
|
||||
|
||||
~~~~~~
|
||||
$ make
|
||||
~~~~~~
|
||||
|
||||
@ -490,6 +474,14 @@ GNU Radio and other dependencies can also be installed using other package manag
|
||||
cmake -DPYTHON_EXECUTABLE=/path/to/bin/python ../
|
||||
~~~~~~
|
||||
|
||||
In case you have installed Macports in a non-standard location, you can use:
|
||||
|
||||
~~~~~~
|
||||
$ cmake -DCMAKE_PREFIX_PATH=/opt/local -DUSE_MACPORTS_PYTHON=/opt/local/bin/python ../
|
||||
~~~~~~
|
||||
|
||||
changing ```/opt/local``` by the base directory in which your software is installed.
|
||||
|
||||
The CMake script will create Makefiles that download, build and link Armadillo, Gflags, Glog and Google Test on the fly at compile time if they are not detected in your machine.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user