Difference between revisions of "GNURadio: UHD"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
Generate Makefiles with CMake
 +
 +
cd <uhd-repo-path>/host
 +
mkdir build
 +
cd build
 +
cmake ../
 +
 +
Additionally, configuration variables can be passed into CMake via the command line. The following common-use configuration variables are listed below:
 +
 +
    For a custom install prefix: -DCMAKE_INSTALL_PREFIX=<install-path>
 +
    To install libs into lib64: cmake -DLIB_SUFFIX=64
 +
 +
Example usage:
 +
 +
cmake -DCMAKE_INSTALL_PREFIX=/opt/uhd ../
 +
 +
Build and install
 +
 +
make
 +
make test
 +
sudo make install
 +
 +
Setup the library path (Linux)
 +
 +
Make sure that libuhd.so is in your LD_LIBRARY_PATH, or add it to /etc/ld.so.conf and make sure to run:
 +
 +
sudo ldconfig
 +
 +
 +
 +
 +
cd <install-path>/share/uhd/utils
 +
sudo cp uhd-usrp.rules /etc/udev/rules.d/
 +
sudo udevadm control --reload-rules
 +
 +
 +
 +
 
==Referensi==
 
==Referensi==
  

Revision as of 04:12, 13 August 2012

Generate Makefiles with CMake

cd <uhd-repo-path>/host
mkdir build
cd build
cmake ../

Additionally, configuration variables can be passed into CMake via the command line. The following common-use configuration variables are listed below:

   For a custom install prefix: -DCMAKE_INSTALL_PREFIX=<install-path>
   To install libs into lib64: cmake -DLIB_SUFFIX=64

Example usage:

cmake -DCMAKE_INSTALL_PREFIX=/opt/uhd ../

Build and install

make
make test
sudo make install

Setup the library path (Linux)

Make sure that libuhd.so is in your LD_LIBRARY_PATH, or add it to /etc/ld.so.conf and make sure to run:

sudo ldconfig



cd <install-path>/share/uhd/utils
sudo cp uhd-usrp.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules



Referensi

Pranala Menarik

Persiapan

OpenBTS 2.6

OpenBTS 2.8

Ettus E110

Lain Lain

Catatan Legal dan Pendukung

Catatan Sejarah