limesdr Ubuntu 14装着記録

3705 ワード

参考:http://www.cnblogs.com/k1two2/p/6702353.html
#      
sudo add-apt-repository -y ppa:myriadrf/drivers
sudo apt-get update
apt-cache search sdr

#   SDR    (          )
sudo apt-get update
sudo apt-get install git
sudo apt-get install python-pip
sudo pip install --upgrade pip
sudo pip install git+https://github.com/gnuradio/pybombs.git
sudo pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git 
sudo pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git
sudo pybombs prefix init /usr/local -a myprefix -R gnuradio-default
sudo pybombs install gqrx gr-osmosdr uhd

#   Lime_Suite     
# packages for soapysdr available at myriadrf PPA
sudo add-apt-repository -y ppa:myriadrf/drivers
sudo apt-get update
# install core library and build dependencies
sudo apt-get install git g++ cmake libsqlite3-dev
# install hardware support dependencies
sudo apt-get install libsoapysdr-dev libi2c-dev libusb-1.0-0-dev
# install graphics dependencies
sudo apt-get install libwxgtk3.0-dev freeglut3-dev

#     LimeSuite
git clone https://github.com/myriadrf/LimeSuite.git
cd LimeSuite
mkdir builddir && cd builddir
# apt     cmake            ,     cmake,   http://www.cnblogs.com/mignet/p/5404357.html
cmake ../
make -j4
sudo make install

# (  LimeSuiteGUI  LimeSDR        )

#     UHD  &&  UHD LimeSDR   
git clone https://github.com/EttusResearch/uhd.git
cd uhd/host/lib/usrp
git clone https://github.com/jocover/OpenUSRP.git
echo "INCLUDE_SUBDIRECTORY(OpenUSRP)">>CMakeLists.txt
cd ../../
mkdir build && cd build
#   cmake      ,    sudo apt-get install libxerces-c2-dev
cmake ..
make -j4
sudo make install
sudo ldconfig

#       
echo 'export UHD_MODULE_PATH=/usr/lib/uhd/modules' >> ~/.bashrc

#       。     USB3.0,       
uhd_find_devices
uhd_usrp_probe

# GNURadio limesdr    
wget http://www.0xroot.cn/SDR/signal-record.grc
gnuradio-companion signal-record.grc
テスト中に問題が発生しました.limesdrはよくこのような状況が現れます.limesdr Ubuntu14安装记录_第1张图片は仮想マシンと関係があると予想しています.まだ本物のマシンでテストしていません.