Difference between revisions of "Building GNU Radio on Mac OS X"

From MyLabWiki
Jump to: navigation, search
Line 21: Line 21:
  
 
In addition to the above, UHD requires:
 
In addition to the above, UHD requires:
* cmake
+
* [http://smake.org cmake]
* libusb-1.0
+
* [http://www.libusb.org/ libusb-1.0]
  
 
We are going to install all dependencies into one target directory:
 
We are going to install all dependencies into one target directory:

Revision as of 14:43, 31 July 2011


This page describes how to build gnuradio-core, gnuradio-audio , gr-fcd and gr-uhd on Mac OS X 10.6.8 without using macports or any other ports. The objective is to create a GNU Radio application that bundles all non-standard libraries, including GNU Radio and UHD.

I created this procedure while developing gqrx.

Overview

Building the dependencies

Following packages need to be built before we can build GNU Radio:

gr-fcd has no additional requirements. Note that on Mac OS X gr-fcd does not use libusb.

In addition to the above, UHD requires:

We are going to install all dependencies into one target directory:

 /Users/alexc/gnuradio/

We can build both dynamic and static libraries and choose later whether we want to do static or dynamic linking in the application.


Building and bundling the application

In order to compile an application the compiler needs to know two things:

  1. The location of the headers
  2. The location of the libraries