GithubHelp home page GithubHelp logo

chengjingfeng / gnuradio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gnuradio/gnuradio

0.0 2.0 0.0 50.51 MB

GNU Radio

Home Page: https://gnuradio.org

License: GNU General Public License v3.0

CMake 4.07% C 1.85% Shell 0.07% Python 30.76% C++ 61.78% Thrift 0.02% Objective-C 0.68% Terra 0.01% MATLAB 0.18% Roff 0.05% Fortran 0.29% M 0.02% Mathematica 0.01% Mako 0.20%

gnuradio's Introduction

Build Version AUR Docs Packaging status

GNU Radio is a free & open-source software development toolkit that provides signal processing blocks to implement software radios. It can be used with readily-available, low-cost external RF hardware to create software-defined radios, or without hardware in a simulation-like environment. It is widely used in hobbyist, academic, and commercial environments to support both wireless communications research and real-world radio systems.

Please visit the GNU Radio website at https://www.gnuradio.org/ and the wiki at https://wiki.gnuradio.org/. Bugs and feature requests are tracked on GitHub's Issue Tracker. If you have questions about GNU Radio, please search the discuss-gnuradio mailing list archive, as many questions have already been asked and answered. Please also subscribe to the mailing list and post your new questions there.

How to Build GNU Radio

PyBOMBS

PyBOMBS (Python Build Overlay Managed Bundle System) is the recommended method for building and installing GNU Radio. Please see https://github.com/gnuradio/pybombs for detailed instructions. Abbreviated instructions are duplicated below.

  1. Install PyBOMBS:

    $ [sudo] pip install PyBOMBS
    

    or

    $ git clone https://github.com/gnuradio/pybombs.git
    $ cd pybombs
    $ sudo python setup.py install
    
  2. Add PyBOMBS recipes:

    $ pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git  
    $ pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git
    
  3. Configure an installation prefix:

    $ pybombs prefix init ~/prefix/default/
    
  4. Install GNU Radio:

    $ pybombs install gnuradio
    
  5. Run GNU Radio Companion from your new prefix:

    $ source ~/prefix/default/setup_env.sh
    $ gnuradio-companion
    

    or execute it without changing the current environment

    $ pybombs run gnuradio-companion
    

Manual Source Build

Complete build instructions are detailed in the GNU Radio Build Guide. Abbreviated instructions are duplicated below.

  1. Ensure that you have satisfied the external dependencies, see GNU Radio Dependencies.

  2. Checkout the latest code:

    $ git clone --recursive https://github.com/gnuradio/gnuradio.git
    
  3. Build with CMake:

    $ cd gnuradio
    $ mkdir build
    $ cd build
    $ cmake [OPTIONS] ../
    $ make
    $ make test
    $ sudo make install
    

    Useful [OPTIONS] include setting the install prefix -DCMAKE_INSTALL_PREFIX=<directory to install to> and the build type -DCMAKE_BUILD_TYPE=<type>. Currently, GNU Radio has a "Debug" type that builds with -g -O2 which is useful for debugging the software, and a "Release" type that builds with -O3, which is the default.

PyBOMBS with support of python 3.x

PyBOMBS currently builds GNU Radio with support of python 2.7, so to make it work with python 3.x, instructions are given below.

  1. Change the PYTHONPATH line in setup_env.sh, to just 3.x paths.

  2. Find the PyBOMBS recipe "gnuradio.lwr" in .pybombs directory, check this for reference

    https://github.com/gnuradio/gr-recipes/blob/master/gnuradio.lwr
    
  3. Change the "gitbranch" to "master".

  4. In gnuradio.lwr recipe file, add "-DENABLE_CTRLPORT_THRIFT=OFF" in "config_opt".

  5. Clear out your prior GR PyBOMBS build(s) and tell PyBOMBS to install via this recipe.

    pybombs install gnuradio
    

Legal Matters

Some files have been changed many times throughout the years. Copyright notices at the top of source files list which years changes have been made. For some files, changes have occurred in many consecutive years. These files may often have the format of a year range (e.g., "2006 - 2011"), which indicates that these files have had copyrightable changes made during each year in the range, inclusive.

gnuradio's People

Contributors

anastas avatar argilo avatar balister avatar bastibl avatar benreynwar avatar btashton avatar dl1ksv avatar douggeiger avatar drmpeg avatar eblossom avatar gnieboer avatar guruofquality avatar haakov avatar jdemel avatar jmcorgan avatar maitbot avatar marcusmueller avatar mbr0wn avatar michaelld avatar n-west avatar ncorgan avatar noc0lour avatar osh avatar pcercuei avatar pinkavaj avatar saikwolf avatar sdh11 avatar skoslowski avatar smunaut avatar trondeau avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.