Building GNU Radio on Mac OS X

From MyLabWiki
Revision as of 14:43, 31 July 2011 by Alex (Talk | contribs)

Jump to: navigation, search

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.


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:


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