It is a good idea to back up this file if you plan on removing this build directory later.Ĭhecking basic device operation Detecting the bladeRF The install_manifest.txt file, created after running the install step successfully, lists all the files installed. Note that from this same directory, you can run the following to uninstall the files place on your system in the previous step. Updated share library paths, so that libbladeRF can be found.Install files to /usr/local or the location specified by CMAKE_INSTALL_PREFIX.If you're unsure how to do this, simply follow the steps below to use the default install location. Note that you'll need to need to configure binary and library search paths if you install elsewhere. You can install into a different location via the -DCMAKE_INSTALL_PREFIX=/some/desired/path option.Specify that files should be installed into /usr/local.By working out of the a 'build' directory, it's easy to later clean up, by simply removing 'build/'. Then create and enter a directory to perform the build in. In the future, you can update the repository via:įirst enter the directory containing the host source. To obtain the latest source code for the first time, clone the Nuand git repository via: $ brew install libusbx pkgconfig cmake libtecla Building bladeRF libraries and tools from source Clone the bladeRF git repository If you're using Homebrew, install the dependencies via the following command. There is no portfile for libtecla currently, so MacPorts users will have to build libtecla from source. zshrc) contains the following items (adjusted accordingly):Įxport PATH=/opt/local/bin:/opt/local/sbin:$PATHĮxport MANPATH=/opt/local/share/man:$MANPATHĮxport PYTHONPATH=/opt/local/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages:/opt/local/lib/python2.7/site-packages:$ $ sudo port install libusb pkgconfig cmakeĮnsure that your shell configuration (e.g. With MacPorts, you can install these with: The libtecla package is optional it improves the bladeRF interactive console experience (adds history, vi-bindings, etc.). The required redependencies are: libusb (with USB 3.0 support), pkgconfig, and cmake. Next, install a package management system, such as MacPorts (another option is Homebrew). See the XQuartz project for additional information and instructions. If you plan to use graphical tools (i.e., GNU Radio Companion), ensure you have X11 installed. Install XCode from Apple, as you will need a compiler. Building bladeRF libraries and tools from source.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |