Skip to content

Commit

Permalink
README: add instructions to install dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Olivain <julien.olivain@lsv.ens-cachan.fr>
  • Loading branch information
Julien Olivain committed Mar 20, 2019
1 parent d124a7e commit dcbfd3c
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions README
Expand Up @@ -11,15 +11,28 @@ This code is the reference software used in the paper:

See also examples available in the gr-chaos/examples directory.

How to build and install gr-chaos:
(Assuming you have development tools and GNU Radio already installed)

git clone git://github.com/jolivain/gr-chaos.git
mkdir gr-chaos/build
cd gr-chaos/build
cmake ..
make
sudo make install
Before trying to build gr-chaos, install depencies, for example, on a
Ubuntu 18.04 LTS system:

sudo apt-get install git build-essential gnuradio gnuradio-dev cmake swig

Then, to build and install gr-chaos:

git clone https://github.com/jolivain/gr-chaos.git
mkdir gr-chaos/build
cd gr-chaos/build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make -j$(nproc)
make test
sudo make install

Then, to open an example:

gnuradio-companion ../examples/grc/dcsk_demo.grc

The example should open a FFT sink showing the channel. After few
second of execution, the demodulator should create a file named
"output.txt" containing repetition of string "Hello GnuRadio!".

This project was started from templates generated with gr_modtool
3.7.1. It should now be straightforward to add new blocks using the
Expand Down

0 comments on commit dcbfd3c

Please sign in to comment.