本文内容、开发板及配件仅限用于学校或科研院所开展科研实验!
本文将详细介绍在Ubuntu下如何搭建配置LimeSDR及LimeSDR Mini的软件环境,以及使用LimeSuite、Gqrx软件。
目录
一、apt-get install安装相关软件
二、源码安装相关软件
1、源码编译安装LimeSuite
安装依赖包
安装核心库和编译过程的依赖包(install core library and build dependencies)
安装硬件支持依赖(install hardware support dependencies)
安装图形界面依赖(install graphics dependencies)
下载、编译、安装LimeSuite
2、运行LimeSuiteGUI
三、用LimeSuiteGUI来测试一下LimeSDR Mini的接收
四、用LimeSuiteGUI来测试一下LimeSDR-USB的接收
五、LimeSDR-USB或LimeSDR Mini用gqrx来接收FM广播
sudo add-apt-repository -y ppa:myriadrf/drivers
sudo apt-get update
sudo apt-get install limesuite liblimesuite-dev limesuite-udev limesuite-images
sudo apt-get install soapysdr-tools soapysdr-module-lms7
(1)添加myriadrf PPA(packages for soapysdr available at myriadrf PPA)
$ sudo add-apt-repository -y ppa:myriadrf/drivers
[sudo] password for opensourcesdr:
gpg: keyring `/tmp/tmpoi6ebio1/secring.gpg' created
gpg: keyring `/tmp/tmpoi6ebio1/pubring.gpg' created
gpg: requesting key 2ECB91FE from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpoi6ebio1/trustdb.gpg: trustdb created
gpg: key 2ECB91FE: public key "Launchpad PPA for Myriad-RF" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
(2)$ sudo apt-get update
opensourcesdr@opensourcesdr:~/SDR$ sudo apt-get update
Hit:1 http://mirrors.sohu.com/ubuntu xenial InRelease
Get:2 http://mirrors.sohu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://mirrors.sohu.com/ubuntu xenial-backports InRelease [102 kB]
Get:4 http://mirrors.sohu.com/ubuntu xenial-security InRelease [102 kB]
Get:5 http://mirrors.sohu.com/ubuntu xenial-updates/main amd64 Packages [744 kB]
Get:6 http://mirrors.sohu.com/ubuntu xenial-updates/main i386 Packages [690 kB]
Hit:7 http://ppa.launchpad.net/bladerf/bladerf/ubuntu xenial InRelease
Get:8 http://mirrors.sohu.com/ubuntu xenial-updates/main Translation-en [308 kB]
Get:9 http://mirrors.sohu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [317 kB]
Get:10 http://ppa.launchpad.net/ettusresearch/uhd/ubuntu xenial InRelease [18.1 kB]
Get:11 http://mirrors.sohu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [224 kB]
Get:12 http://mirrors.sohu.com/ubuntu xenial-updates/universe amd64 Packages [615 kB]
Get:13 http://ppa.launchpad.net/gqrx/gqrx-sdr/ubuntu xenial InRelease [17.5 kB]
Get:14 http://mirrors.sohu.com/ubuntu xenial-updates/universe i386 Packages [570 kB]
Get:15 http://mirrors.sohu.com/ubuntu xenial-updates/universe Translation-en [248 kB]
Get:16 http://mirrors.sohu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [241 kB]
Get:17 http://ppa.launchpad.net/myriadrf/drivers/ubuntu xenial InRelease [18.0 kB]
Get:18 http://mirrors.sohu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [327 kB]
Get:19 http://mirrors.sohu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB]
Get:20 http://mirrors.sohu.com/ubuntu xenial-updates/multiverse i386 Packages [15.3 kB]
Get:21 http://mirrors.sohu.com/ubuntu xenial-updates/multiverse Translation-en [8,076 B]
Get:22 http://mirrors.sohu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,972 B]
Get:23 http://mirrors.sohu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB]
Get:24 http://mirrors.sohu.com/ubuntu xenial-backports/main amd64 Packages [4,836 B]
Get:25 http://mirrors.sohu.com/ubuntu xenial-backports/main i386 Packages [4,840 B]
Get:26 http://mirrors.sohu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
Get:27 http://mirrors.sohu.com/ubuntu xenial-backports/universe amd64 Packages [7,104 B]
Get:28 http://mirrors.sohu.com/ubuntu xenial-backports/universe i386 Packages [7,080 B]
Get:29 http://mirrors.sohu.com/ubuntu xenial-backports/universe Translation-en [3,844 B]
Get:30 http://mirrors.sohu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,084 B]
Get:31 http://mirrors.sohu.com/ubuntu xenial-backports/universe DEP-11 64x64 Icons [2,717 B]
Get:32 http://mirrors.sohu.com/ubuntu xenial-security/main amd64 Packages [465 kB]
Get:33 http://ppa.launchpad.net/myriadrf/gnuradio/ubuntu xenial InRelease [18.0 kB]
Get:34 http://mirrors.sohu.com/ubuntu xenial-security/main i386 Packages [419 kB]
Get:35 http://mirrors.sohu.com/ubuntu xenial-security/main Translation-en [201 kB]
Hit:36 http://ppa.launchpad.net/nemh/systemback/ubuntu xenial InRelease
Get:37 http://mirrors.sohu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.5 kB]
Get:38 http://mirrors.sohu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [77.2 kB]
Get:39 http://mirrors.sohu.com/ubuntu xenial-security/universe amd64 Packages [337 kB]
Get:40 http://mirrors.sohu.com/ubuntu xenial-security/universe i386 Packages [296 kB]
Get:41 http://ppa.launchpad.net/ettusresearch/uhd/ubuntu xenial/main amd64 Packages [1,008 B]
Get:42 http://mirrors.sohu.com/ubuntu xenial-security/universe Translation-en [126 kB]
Get:43 http://mirrors.sohu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [107 kB]
Get:44 http://mirrors.sohu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [139 kB]
Get:45 http://ppa.launchpad.net/ettusresearch/uhd/ubuntu xenial/main i386 Packages [1,012 B]
Get:46 http://mirrors.sohu.com/ubuntu xenial-security/multiverse amd64 Packages [3,208 B]
Get:47 http://mirrors.sohu.com/ubuntu xenial-security/multiverse i386 Packages [3,376 B]
Get:48 http://ppa.launchpad.net/gqrx/gqrx-sdr/ubuntu xenial/main amd64 Packages [656 B]
Get:49 http://ppa.launchpad.net/gqrx/gqrx-sdr/ubuntu xenial/main i386 Packages [656 B]
Get:50 http://ppa.launchpad.net/myriadrf/drivers/ubuntu xenial/main amd64 Packages [16.6 kB]
Get:51 http://ppa.launchpad.net/myriadrf/drivers/ubuntu xenial/main i386 Packages [16.6 kB]
Get:52 http://ppa.launchpad.net/myriadrf/drivers/ubuntu xenial/main Translation-en [4,772 B]
Get:53 http://ppa.launchpad.net/myriadrf/gnuradio/ubuntu xenial/main amd64 Packages [7,132 B]
Get:54 http://ppa.launchpad.net/myriadrf/gnuradio/ubuntu xenial/main i386 Packages [7,148 B]
Fetched 7,058 kB in 19s (367 kB/s)
Reading package lists... Done
$ sudo apt-get install git g++ cmake libsqlite3-dev
opensourcesdr@opensourcesdr:~/SDR$ sudo apt-get install git g++ cmake libsqlite3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
g++ is already the newest version (4:5.3.1-1ubuntu1).
cmake is already the newest version (3.5.1-1ubuntu3).
git is already the newest version (1:2.7.4-0ubuntu1.3).
git set to manually installed.
The following packages were automatically installed and are no longer required:
gksu libgksu2-0 python-vte
Use 'sudo apt autoremove' to remove them.
Suggested packages:
sqlite3-doc
The following NEW packages will be installed:
libsqlite3-dev
0 upgraded, 1 newly installed, 0 to remove and 303 not upgraded.
Need to get 508 kB of archives.
After this operation, 1,699 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.sohu.com/ubuntu xenial/main amd64 libsqlite3-dev amd64 3.11.0-1ubuntu1 [508 kB]
Fetched 508 kB in 2s (198 kB/s)
Selecting previously unselected package libsqlite3-dev:amd64.
(Reading database ... 263162 files and directories currently installed.)
Preparing to unpack .../libsqlite3-dev_3.11.0-1ubuntu1_amd64.deb ...
Unpacking libsqlite3-dev:amd64 (3.11.0-1ubuntu1) ...
Setting up libsqlite3-dev:amd64 (3.11.0-1ubuntu1) ...
$ sudo apt-get install libsoapysdr-dev libi2c-dev libusb-1.0-0-dev
opensourcesdr@opensourcesdr:~/SDR$ sudo apt-get install libsoapysdr-dev libi2c-dev libusb-1.0-0-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libusb-1.0-0-dev is already the newest version (2:1.0.20-1).
The following packages were automatically installed and are no longer required:
gksu libgksu2-0 python-vte
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
i2c-tools read-edid
Suggested packages:
python-smbus
The following NEW packages will be installed:
i2c-tools libi2c-dev libsoapysdr-dev read-edid
0 upgraded, 4 newly installed, 0 to remove and 303 not upgraded.
Need to get 110 kB of archives.
After this operation, 579 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.sohu.com/ubuntu xenial/universe amd64 read-edid amd64 3.0.2-1 [18.6 kB]
Get:2 http://mirrors.sohu.com/ubuntu xenial/universe amd64 i2c-tools amd64 3.1.1-1 [56.5 kB]
Get:3 http://mirrors.sohu.com/ubuntu xenial/universe amd64 libi2c-dev all 3.1.1-1 [8,492 B]
Get:4 http://ppa.launchpad.net/myriadrf/drivers/ubuntu xenial/main amd64 libsoapysdr-dev amd64 0.6.1-myriadrf~xenial [26.4 kB]
Fetched 110 kB in 2s (43.2 kB/s)
Selecting previously unselected package libsoapysdr-dev.
(Reading database ... 263171 files and directories currently installed.)
Preparing to unpack .../libsoapysdr-dev_0.6.1-myriadrf~xenial_amd64.deb ...
Unpacking libsoapysdr-dev (0.6.1-myriadrf~xenial) ...
Selecting previously unselected package read-edid.
Preparing to unpack .../read-edid_3.0.2-1_amd64.deb ...
Unpacking read-edid (3.0.2-1) ...
Selecting previously unselected package i2c-tools.
Preparing to unpack .../i2c-tools_3.1.1-1_amd64.deb ...
Unpacking i2c-tools (3.1.1-1) ...
Selecting previously unselected package libi2c-dev.
Preparing to unpack .../libi2c-dev_3.1.1-1_all.deb ...
Adding 'diversion of /usr/include/linux/i2c-dev.h to /usr/include/linux/i2c-dev.h.kernel by libi2c-dev'
Unpacking libi2c-dev (3.1.1-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libsoapysdr-dev (0.6.1-myriadrf~xenial) ...
Setting up read-edid (3.0.2-1) ...
Setting up i2c-tools (3.1.1-1) ...
Setting up libi2c-dev (3.1.1-1) ...
$ sudo apt-get install libwxgtk3.0-dev freeglut3-dev
opensourcesdr@opensourcesdr:~/SDR$ sudo apt-get install libwxgtk3.0-dev freeglut3-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gksu libgksu2-0 python-vte
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libice-dev libsm-dev libwxbase3.0-dev libxt-dev wx-common wx3.0-headers
Suggested packages:
libice-doc libsm-doc wx3.0-doc libxt-doc
The following NEW packages will be installed:
freeglut3-dev libice-dev libsm-dev libwxbase3.0-dev libwxgtk3.0-dev
libxt-dev wx-common wx3.0-headers
0 upgraded, 8 newly installed, 0 to remove and 303 not upgraded.
Need to get 1,729 kB of archives.
After this operation, 10.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrors.sohu.com/ubuntu xenial/main amd64 libice-dev amd64 2:1.0.9-1 [44.9 kB]
Get:2 http://mirrors.sohu.com/ubuntu xenial/main amd64 libsm-dev amd64 2:1.2.2-1 [16.2 kB]
Get:3 http://mirrors.sohu.com/ubuntu xenial/main amd64 libxt-dev amd64 1:1.1.5-0ubuntu1 [394 kB]
Get:4 http://mirrors.sohu.com/ubuntu xenial/universe amd64 freeglut3-dev amd64 2.8.1-2 [123 kB]
Get:5 http://mirrors.sohu.com/ubuntu xenial-updates/universe amd64 wx3.0-headers amd64 3.0.2+dfsg-1.3ubuntu0.1 [1,024 kB]
Get:6 http://mirrors.sohu.com/ubuntu xenial-updates/universe amd64 libwxbase3.0-dev amd64 3.0.2+dfsg-1.3ubuntu0.1 [29.2 kB]
Get:7 http://mirrors.sohu.com/ubuntu xenial-updates/universe amd64 wx-common amd64 3.0.2+dfsg-1.3ubuntu0.1 [68.3 kB]
Get:8 http://mirrors.sohu.com/ubuntu xenial-updates/universe amd64 libwxgtk3.0-dev amd64 3.0.2+dfsg-1.3ubuntu0.1 [29.4 kB]
Fetched 1,729 kB in 3s (503 kB/s)
Selecting previously unselected package libice-dev:amd64.
(Reading database ... 263238 files and directories currently installed.)
Preparing to unpack .../libice-dev_2%3a1.0.9-1_amd64.deb ...
Unpacking libice-dev:amd64 (2:1.0.9-1) ...
Selecting previously unselected package libsm-dev:amd64.
Preparing to unpack .../libsm-dev_2%3a1.2.2-1_amd64.deb ...
Unpacking libsm-dev:amd64 (2:1.2.2-1) ...
Selecting previously unselected package libxt-dev:amd64.
Preparing to unpack .../libxt-dev_1%3a1.1.5-0ubuntu1_amd64.deb ...
Unpacking libxt-dev:amd64 (1:1.1.5-0ubuntu1) ...
Selecting previously unselected package freeglut3-dev:amd64.
Preparing to unpack .../freeglut3-dev_2.8.1-2_amd64.deb ...
Unpacking freeglut3-dev:amd64 (2.8.1-2) ...
Selecting previously unselected package wx3.0-headers.
Preparing to unpack .../wx3.0-headers_3.0.2+dfsg-1.3ubuntu0.1_amd64.deb ...
Unpacking wx3.0-headers (3.0.2+dfsg-1.3ubuntu0.1) ...
Selecting previously unselected package libwxbase3.0-dev.
Preparing to unpack .../libwxbase3.0-dev_3.0.2+dfsg-1.3ubuntu0.1_amd64.deb ...
Unpacking libwxbase3.0-dev (3.0.2+dfsg-1.3ubuntu0.1) ...
Selecting previously unselected package wx-common.
Preparing to unpack .../wx-common_3.0.2+dfsg-1.3ubuntu0.1_amd64.deb ...
Unpacking wx-common (3.0.2+dfsg-1.3ubuntu0.1) ...
Selecting previously unselected package libwxgtk3.0-dev.
Preparing to unpack .../libwxgtk3.0-dev_3.0.2+dfsg-1.3ubuntu0.1_amd64.deb ...
Unpacking libwxgtk3.0-dev (3.0.2+dfsg-1.3ubuntu0.1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libice-dev:amd64 (2:1.0.9-1) ...
Setting up libsm-dev:amd64 (2:1.2.2-1) ...
Setting up libxt-dev:amd64 (1:1.1.5-0ubuntu1) ...
Setting up freeglut3-dev:amd64 (2.8.1-2) ...
Setting up wx3.0-headers (3.0.2+dfsg-1.3ubuntu0.1) ...
Setting up libwxbase3.0-dev (3.0.2+dfsg-1.3ubuntu0.1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/wx/config/base-unicode-3.0 to provide /usr/bin/wx-config (wx-config) in auto mode
Setting up wx-common (3.0.2+dfsg-1.3ubuntu0.1) ...
Setting up libwxgtk3.0-dev (3.0.2+dfsg-1.3ubuntu0.1) ...
update-alternatives: using /usr/lib/x86_64-linux-gnu/wx/config/gtk2-unicode-3.0 to provide /usr/bin/wx-config (wx-config) in auto mode
(1)从github下载LimeSuite代码
$ git clone https://github.com/myriadrf/LimeSuite.git
opensourcesdr@opensourcesdr:~/SDR$ git clone https://github.com/myriadrf/LimeSuite.git
Cloning into 'LimeSuite'...
remote: Counting objects: 14283, done.
remote: Compressing objects: 100% (208/208), done.
remote: Total 14283 (delta 215), reused 246 (delta 151), pack-reused 13921
Receiving objects: 100% (14283/14283), 164.14 MiB | 61.00 KiB/s, done.
Resolving deltas: 100% (10704/10704), done.
Checking connectivity... done.
运行两次ls命令,对比发现LimeSuite已下载到了我的SDR文件夹下。
opensourcesdr@opensourcesdr:~/SDR$ ls
airspy gnuradio gr-osmosdr rtl-sdr Untitled Document
bladeRF gr-iqbal hackrf uhd
opensourcesdr@opensourcesdr:~/SDR$ ls
airspy gnuradio gr-osmosdr LimeSuite uhd
bladeRF gr-iqbal hackrf rtl-sdr Untitled Document
(2)进入LimeSuite代码文件夹
$ cd LimeSuite
(3)创建builddir文件夹并进入该文件夹
$ mkdir builddir && cd builddir
(4)cmake编译
$ cmake ../
opensourcesdr@opensourcesdr:~/SDR/LimeSuite/builddir$ cmake ../
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Enabling native optimizations
-- Found SQLITE3: /usr/lib/x86_64-linux-gnu/libsqlite3.so
-- SQLITE3: TRUE
-- SQLITE3_INCLUDE_DIRS: /usr/include
-- SQLITE3_LIBRARIES: /usr/lib/x86_64-linux-gnu/libsqlite3.so
-- Found libusb-1.0:
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/x86_64-linux-gnu/libusb-1.0.so
-- USB_INCLUDE_DIRS: /usr/include/libusb-1.0
-- USB_LIBRARIES: /usr/lib/x86_64-linux-gnu/libusb-1.0.so
-- USB_INCLUDE_DIRS: /usr/include/libusb-1.0
-- USB_LIBRARIES: /usr/lib/x86_64-linux-gnu/libusb-1.0.so
-- Found wxWidgets: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_richtext-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_xrc-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0;-lwx_gtk2u_gl-3.0 (found version "3.0.2")
-- wxWidgets_DEFINITIONS: _FILE_OFFSET_BITS=64;WXUSINGDLL;__WXGTK__
-- wxWidgets_INCLUDE_DIRS: /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0;/usr/include/wx-3.0
-- wxWidgets_LIBRARIES: -L/usr/lib/x86_64-linux-gnu;-pthread;;;-lwx_gtk2u_richtext-3.0;-lwx_baseu_xml-3.0;-lwx_gtk2u_html-3.0;-lwx_gtk2u_xrc-3.0;-lwx_gtk2u_adv-3.0;-lwx_gtk2u_aui-3.0;-lwx_gtk2u_core-3.0;-lwx_baseu-3.0;-lwx_gtk2u_gl-3.0
-- Could NOT find Gnuplot (missing: GNUPLOT_EXECUTABLE)
--
-- ######################################################
-- ## LimeSuite enabled features
-- ######################################################
--
* LimeSuiteHeaders , The lime suite headers
* LimeSuiteLibrary , The lime suite library
* ConnectionFX3 , FX3 Connection support
* ConnectionFTDI , FTDI Connection support
* ConnectionXillybus , PCIE Xillybus Connection support
* LimeSuiteGUI , GUI Application for LimeSuite
* LimeSuiteExamples , LimeSuite library API examples
* LimeUtilCommand , Command line device discovery utility
* SoapySDRLMS7 , SoapySDR bindings for LMS7
* LimeSuiteDocAPI , LMS API Doxygen documentation
* LimeSuiteDesktop , LimeSuite freedesktop integration
-- ######################################################
-- ## LimeSuite disabled features
-- ######################################################
--
* ConnectionEVB7COM , EVB+COM Connection support
* ConnectionSTREAM_UNITE , STREAM+UNITE Connection support
-- Install prefix: /usr/local
-- Build timestamp: 2018-03-29
-- Lime Suite version: 18.03.0-gaf6de974
-- ABI/so version: 18.03-1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/opensourcesdr/SDR/LimeSuite/builddir
(5)make编译
$ make -j4
opensourcesdr@opensourcesdr:~/SDR/LimeSuite/builddir$ make -j4
Scanning dependencies of target docAPI
Scanning dependencies of target oglGraph
Scanning dependencies of target LimeSuite
[ 1%] Generating LMS API documentation with Doxygen
Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for msc files...
Searching for dia files...
Searching for files to exclude
Searching INPUT for files to process...
Searching for files in directory /home/opensourcesdr/SDR/LimeSuite/src/lime
Reading and parsing tag files
Parsing files
Preprocessing /home/opensourcesdr/SDR/LimeSuite/src/lime/LimeSuite.h...
[ 2%] Building CXX object src/oglGraph/CMakeFiles/oglGraph.dir/GLFont.cpp.o
[ 3%] Building CXX object src/oglGraph/CMakeFiles/oglGraph.dir/dlgMarkers.cpp.o
Parsing file /home/opensourcesdr/SDR/LimeSuite/src/lime/LimeSuite.h...
[ 4%] Building CXX object src/CMakeFiles/LimeSuite.dir/Logger.cpp.o
Building group list...
Building directory list...
Building namespace list...
Building file list...
Building class list...
Associating documentation with classes...
Computing nesting relations for classes...
Building example list...
Searching for enumerations...
Searching for documented typedefs...
Searching for members imported via using declarations...
Searching for included using directives...
Searching for documented variables...
Building interface member list...
Building member list...
Searching for friends...
Searching for documented defines...
Computing class inheritance relations...
Computing class usage relations...
Flushing cached template relations that have become invalid...
Creating members for template instances...
Computing class relations...
Add enum values to enums...
Searching for member function documentation...
Building page list...
Search for main page...
Computing page relations...
Determining the scope of groups...
Sorting lists...
Freeing entry tree
Determining which enums are documented
Computing member relations...
Building full member lists recursively...
Adding members to member groups.
Computing member references...
Inheriting documentation...
Generating disk names...
Adding source references...
Adding xrefitems...
Sorting member lists...
Computing dependencies between directories...
Generating citations page...
Counting data structures...
Resolving user defined references...
Finding anchors and sections in the documentation...
Transferring function references...
Combining using relations...
Adding members to index pages...
Generating style sheet...
Generating search indices...
Generating example documentation...
Generating file sources...
Generating code for file /home/opensourcesdr/SDR/LimeSuite/src/lime/LimeSuite.h...
Generating file documentation...
Generating docs for file /home/opensourcesdr/SDR/LimeSuite/src/lime/LimeSuite.h...
/home/opensourcesdr/SDR/LimeSuite/src/lime/LimeSuite.h:57: warning: Member API_EXPORT (macro definition) of file LimeSuite.h is not documented.
/home/opensourcesdr/SDR/LimeSuite/src/lime/LimeSuite.h:58: warning: Member CALL_CONV (macro definition) of file LimeSuite.h is not documented.
Generating page documentation...
Generating docs for page deprecated...
Generating group documentation...
Generating class documentation...
Generating docs for compound lms_dev_info_t...
Generating docs for compound lms_range_t...
Generating docs for compound lms_stream_meta_t...
Generating docs for compound lms_stream_status_t...
Generating docs for compound lms_stream_t...
Generating namespace index...
Generating graph info page...
Generating directory documentation...
Generating index page...
Generating page index...
Generating module index...
Generating namespace index...
Generating namespace member index...
Generating annotated compound index...
Generating alphabetical compound index...
Generating hierarchical class index...
Generating member index...
[ 5%] Building CXX object src/CMakeFiles/LimeSuite.dir/ADF4002/ADF4002.cpp.o
Generating file index...
Generating file member index...
Generating example index...
finalizing index lists...
writing tag file...
lookup cache used 139/65536 hits=1411 misses=139
finished...
[ 5%] Built target docAPI
[ 6%] Building CXX object src/oglGraph/CMakeFiles/oglGraph.dir/OpenGLGraph.cpp.o
[ 7%] Building CXX object src/CMakeFiles/LimeSuite.dir/lms7002m_mcu/MCU_BD.cpp.o
[ 7%] Building C object src/oglGraph/CMakeFiles/oglGraph.dir/glew/glew.c.o
[ 7%] Building CXX object src/CMakeFiles/LimeSuite.dir/ConnectionRegistry/IConnection.cpp.o
[ 8%] Building CXX object src/CMakeFiles/LimeSuite.dir/ConnectionRegistry/ConnectionHandle.cpp.o
[ 9%] Building CXX object src/CMakeFiles/LimeSuite.dir/ConnectionRegistry/ConnectionRegistry.cpp.o
[ 9%] Building CXX object src/CMakeFiles/LimeSuite.dir/lms7002m/LMS7002M_RegistersMap.cpp.o
[ 10%] Building CXX object src/CMakeFiles/LimeSuite.dir/lms7002m/LMS7002M_parameters.cpp.o
[ 11%] Building CXX object src/CMakeFiles/LimeSuite.dir/lms7002m/LMS7002M.cpp.o
[ 12%] Building CXX object src/CMakeFiles/LimeSuite.dir/lms7002m/LMS7002M_RxTxCalibrations.cpp.o
[ 12%] Building CXX object src/CMakeFiles/LimeSuite.dir/lms7002m/LMS7002M_BaseCalibrations.cpp.o
[ 13%] Building CXX object src/CMakeFiles/LimeSuite.dir/lms7002m/goert.cpp.o
[ 14%] Building CXX object src/CMakeFiles/LimeSuite.dir/lms7002m/mcu_dc_iq_calibration.cpp.o
[ 15%] Building CXX object src/CMakeFiles/LimeSuite.dir/lms7002m/CalibrationCache.cpp.o
[ 15%] Building CXX object src/CMakeFiles/LimeSuite.dir/lms7002m/LMS7002M_filtersCalibration.cpp.o
[ 16%] Linking CXX static library liboglGraph.a
[ 16%] Built target oglGraph
[ 17%] Building CXX object src/CMakeFiles/LimeSuite.dir/lms7002m/LMS7002M_gainCalibrations.cpp.o
[ 18%] Building CXX object src/CMakeFiles/LimeSuite.dir/protocols/LMS64CProtocol.cpp.o
[ 18%] Building CXX object src/CMakeFiles/LimeSuite.dir/protocols/Streamer.cpp.o
[ 19%] Building CXX object src/CMakeFiles/LimeSuite.dir/protocols/ConnectionImages.cpp.o
[ 20%] Building CXX object src/CMakeFiles/LimeSuite.dir/Si5351C/Si5351C.cpp.o
[ 21%] Building C object src/CMakeFiles/LimeSuite.dir/kissFFT/kiss_fft.c.o
[ 21%] Building CXX object src/CMakeFiles/LimeSuite.dir/API/lms7_api.cpp.o
[ 22%] Building CXX object src/CMakeFiles/LimeSuite.dir/API/lms7_device.cpp.o
[ 23%] Building CXX object src/CMakeFiles/LimeSuite.dir/API/LmsGeneric.cpp.o
[ 24%] Building CXX object src/CMakeFiles/LimeSuite.dir/API/qLimeSDR.cpp.o
[ 25%] Building CXX object src/CMakeFiles/LimeSuite.dir/API/LimeSDR_mini.cpp.o
[ 25%] Building CXX object src/CMakeFiles/LimeSuite.dir/API/LimeSDR.cpp.o
[ 26%] Building CXX object src/CMakeFiles/LimeSuite.dir/FPGA_common/FPGA_common.cpp.o
[ 26%] Building CXX object src/CMakeFiles/LimeSuite.dir/FPGA_common/FPGA_Mini.cpp.o
[ 27%] Building CXX object src/CMakeFiles/LimeSuite.dir/FPGA_common/FPGA_Q.cpp.o
[ 28%] Building CXX object src/CMakeFiles/LimeSuite.dir/windowFunction.cpp.o
[ 29%] Building CXX object src/CMakeFiles/LimeSuite.dir/VersionInfo.cpp.o
[ 29%] Building CXX object src/CMakeFiles/LimeSuite.dir/SystemResources.cpp.o
[ 30%] Building C object src/CMakeFiles/LimeSuite.dir/GFIR/corrections.c.o
[ 31%] Building C object src/CMakeFiles/LimeSuite.dir/GFIR/gfir_lms.c.o
[ 31%] Building C object src/CMakeFiles/LimeSuite.dir/GFIR/lms.c.o
[ 32%] Building C object src/CMakeFiles/LimeSuite.dir/GFIR/recipes.c.o
[ 33%] Building C object src/CMakeFiles/LimeSuite.dir/GFIR/rounding.c.o
[ 34%] Building CXX object src/CMakeFiles/LimeSuite.dir/ConnectionFX3/ConnectionFX3Entry.cpp.o
[ 34%] Building CXX object src/CMakeFiles/LimeSuite.dir/ConnectionFX3/ConnectionFX3.cpp.o
[ 35%] Building CXX object src/CMakeFiles/LimeSuite.dir/ConnectionFTDI/ConnectionFT601.cpp.o
[ 36%] Building CXX object src/CMakeFiles/LimeSuite.dir/ConnectionFTDI/ConnectionFT601Entry.cpp.o
[ 37%] Building CXX object src/CMakeFiles/LimeSuite.dir/ConnectionXillybus/ConnectionXillybusEntry.cpp.o
[ 37%] Building CXX object src/CMakeFiles/LimeSuite.dir/ConnectionXillybus/ConnectionXillybus.cpp.o
[ 38%] Building CXX object src/CMakeFiles/LimeSuite.dir/BuiltinConnections.cpp.o
[ 39%] Linking CXX shared library libLimeSuite.so
[ 39%] Built target LimeSuite
Scanning dependencies of target basicRX
Scanning dependencies of target boardEmulator
Scanning dependencies of target singleRX
Scanning dependencies of target LimeSuiteGUI
[ 39%] Building CXX object src/CMakeFiles/boardEmulator.dir/boardEmulator.cpp.o
[ 40%] Building CXX object src/examples/CMakeFiles/basicRX.dir/basicRX.cpp.o
[ 41%] Building CXX object src/examples/CMakeFiles/singleRX.dir/singleRX.cpp.o
/home/opensourcesdr/SDR/LimeSuite/src/examples/singleRX.cpp: In function ‘int main(int, char**)’:
/home/opensourcesdr/SDR/LimeSuite/src/examples/singleRX.cpp:169:13: warning: variable ‘samplesRead’ set but not used [-Wunused-but-set-variable]
int samplesRead;
^
[ 42%] Linking CXX executable ../../bin/basicRX
[ 43%] Linking CXX executable ../../bin/singleRX
[ 43%] Built target basicRX
Scanning dependencies of target dualRXTX
[ 43%] Building CXX object src/examples/CMakeFiles/dualRXTX.dir/dualRXTX.cpp.o
[ 43%] Built target singleRX
/home/opensourcesdr/SDR/LimeSuite/src/boardEmulator.cpp: In function ‘int main(int, char**)’:
/home/opensourcesdr/SDR/LimeSuite/src/boardEmulator.cpp:52:21: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system(linkCommand);
^
/home/opensourcesdr/SDR/LimeSuite/src/boardEmulator.cpp:111:21: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system(linkCommand);
^
Scanning dependencies of target gpio_example
[ 44%] Building CXX object src/examples/CMakeFiles/gpio_example.dir/gpio_example.cpp.o
[ 45%] Linking CXX executable boardEmulator
[ 45%] Built target boardEmulator
[ 46%] Linking CXX executable ../../bin/dualRXTX
Scanning dependencies of target MCU_TestBench
[ 46%] Building CXX object mcu_program/CMakeFiles/MCU_TestBench.dir/host_src/mcu.c.o
[ 46%] Built target dualRXTX
Scanning dependencies of target LimeUtil
[ 46%] Linking CXX executable ../../bin/gpio_example
[ 46%] Building CXX object LimeUtil/CMakeFiles/LimeUtil.dir/LimeUtil.cpp.o
[ 46%] Built target gpio_example
Scanning dependencies of target LMS7Support
[ 46%] Building CXX object SoapyLMS7/CMakeFiles/LMS7Support.dir/Registration.cpp.o
[ 47%] Building CXX object mcu_program/CMakeFiles/MCU_TestBench.dir/host_src/main.cpp.o
/home/opensourcesdr/SDR/LimeSuite/mcu_program/host_src/main.cpp: In function ‘int main(int, char**)’:
/home/opensourcesdr/SDR/LimeSuite/mcu_program/host_src/main.cpp:536:14: warning: unused variable ‘wantedRSSI’ [-Wunused-variable]
uint32_t wantedRSSI = 87330 / pow(10.0, (3+crestFactor)/20);
^
[ 47%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/ADF4002/ADF4002_wxgui.cpp.o
[ 48%] Building CXX object LimeUtil/CMakeFiles/LimeUtil.dir/LimeUtilTiming.cpp.o
/home/opensourcesdr/SDR/LimeSuite/mcu_program/host_src/main.cpp: In function ‘void DCIQ()’:
/home/opensourcesdr/SDR/LimeSuite/mcu_program/host_src/main.cpp:78:32: warning: ‘*((void*)& loopbackCache +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
port->WriteRegister(LoopbackCtrAddr, mLoopbackState);
^
/home/opensourcesdr/SDR/LimeSuite/mcu_program/host_src/main.cpp:164:24: note: ‘*((void*)& loopbackCache +8)’ was declared here
BoardLoopbackStore loopbackCache(lmsControl.GetConnection());
^
[ 49%] Building CXX object mcu_program/CMakeFiles/MCU_TestBench.dir/host_src/spi.cpp.o
[ 50%] Building CXX object SoapyLMS7/CMakeFiles/LMS7Support.dir/Settings.cpp.o
[ 51%] Building CXX object LimeUtil/CMakeFiles/LimeUtil.dir/LimeUtilCalSweep.cpp.o
[ 52%] Building CXX object mcu_program/CMakeFiles/MCU_TestBench.dir/host_src/mcuHexBin.cpp.o
[ 53%] Linking CXX executable LimeUtil
[ 53%] Built target LimeUtil
[ 53%] Building CXX object mcu_program/CMakeFiles/MCU_TestBench.dir/common_src/lms7002m_calibrations.c.o
[ 54%] Building CXX object mcu_program/CMakeFiles/MCU_TestBench.dir/common_src/lms7002m_controls.c.o
/home/opensourcesdr/SDR/LimeSuite/mcu_program/common_src/lms7002m_controls.c: In function ‘uint8_t SetFrequencySX(bool, float_type)’:
/home/opensourcesdr/SDR/LimeSuite/mcu_program/common_src/lms7002m_controls.c:277:28: warning: ‘bestCSW’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Modify_SPI_Reg_bits(CSW_VCO, bestCSW);
^
/home/opensourcesdr/SDR/LimeSuite/mcu_program/common_src/lms7002m_controls.c:276:28: warning: ‘bestVCO’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Modify_SPI_Reg_bits(SEL_VCO, bestVCO);
^
[ 55%] Building C object mcu_program/CMakeFiles/MCU_TestBench.dir/common_src/lms7002m_filters.c.o
[ 55%] Building CXX object mcu_program/CMakeFiles/MCU_TestBench.dir/common_src/lms7002m_agc.c.o
[ 56%] Building CXX object SoapyLMS7/CMakeFiles/LMS7Support.dir/Streaming.cpp.o
[ 57%] Linking CXX executable MCU_TestBench
[ 57%] Built target MCU_TestBench
[ 58%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlXBUF_view.cpp.o
[ 59%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_wxgui.cpp.o
[ 59%] Linking CXX shared module libLMS7Support.so
[ 60%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlRFE_view.cpp.o
[ 60%] Built target LMS7Support
[ 60%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlCalibrations_view.cpp.o
[ 61%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlTRF_view.cpp.o
[ 61%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlBIST_view.cpp.o
[ 63%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlCDS_view.cpp.o
[ 63%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlLimeLightPAD_view.cpp.o
[ 64%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/dlgViewIRAM.cpp.o
[ 65%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_gui_utilities.cpp.o
[ 65%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlSX_view.cpp.o
[ 66%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlTBB_view.cpp.o
[ 67%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_dlgVCOfrequencies.cpp.o
[ 68%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlRBB_view.cpp.o
[ 68%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlLDO_view.cpp.o
[ 69%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlAFE_view.cpp.o
[ 70%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlGains_view.cpp.o
[ 71%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/CoefficientFileParser.cpp.o
[ 71%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlRxTSP_view.cpp.o
[ 72%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_mainPanel.cpp.o
[ 73%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/pnlBoardControls.cpp.o
[ 73%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/dlgViewSFR.cpp.o
[ 74%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlCLKGEN_view.cpp.o
[ 75%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp.o
[ 76%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlBIAS_view.cpp.o
/home/opensourcesdr/SDR/LimeSuite/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp: In member function ‘void lms7002_pnlMCU_BD_view::OnbtnLoadTestFileClick(wxCommandEvent&)’:
/home/opensourcesdr/SDR/LimeSuite/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp:253:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(inFile, "%d", &test_code);
^
/home/opensourcesdr/SDR/LimeSuite/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp:257:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(inFile, "%d ", &address);
^
/home/opensourcesdr/SDR/LimeSuite/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp:258:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(inFile, "%d\n", &value);
^
/home/opensourcesdr/SDR/LimeSuite/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp:264:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(inFile, "%d", &test_code);
^
/home/opensourcesdr/SDR/LimeSuite/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp: In member function ‘virtual void lms7002_pnlMCU_BD_view::OnbtnRunTestClick(wxCommandEvent&)’:
/home/opensourcesdr/SDR/LimeSuite/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp:535:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(inFile, "%d", &test_code);
^
/home/opensourcesdr/SDR/LimeSuite/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp:538:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(inFile, "%d ", &address);
^
/home/opensourcesdr/SDR/LimeSuite/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp:539:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(inFile, "%d\n", &value);
^
/home/opensourcesdr/SDR/LimeSuite/src/lms7002_wxgui/lms7002_pnlMCU_BD_view.cpp:545:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(inFile, "%d", &test_code);
^
[ 76%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_dlgGFIR_Coefficients.cpp.o
[ 77%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlTxTSP_view.cpp.o
[ 78%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7002_wxgui/lms7002_pnlR3.cpp.o
[ 78%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/LMS_Programing/LMS_Programing_wxgui.cpp.o
[ 79%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/utilities_gui/dlgConnectionSettings.cpp.o
/home/opensourcesdr/SDR/LimeSuite/src/utilities_gui/dlgConnectionSettings.cpp: In member function ‘virtual void dlgConnectionSettings::OnConnect(wxCommandEvent&)’:
/home/opensourcesdr/SDR/LimeSuite/src/utilities_gui/dlgConnectionSettings.cpp:46:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(selection != wxNOT_FOUND && selection < list.size())
^
[ 80%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/utilities_gui/pnlMiniLog.cpp.o
[ 81%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/utilities_gui/SPI_wxgui.cpp.o
[ 81%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/utilities_gui/dlgFullMessageLog.cpp.o
[ 82%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/utilities_gui/dlgDeviceInfo.cpp.o
/home/opensourcesdr/SDR/LimeSuite/src/utilities_gui/SPI_wxgui.cpp: In member function ‘virtual void SPI_wxgui::onLMSwrite(wxCommandEvent&)’:
/home/opensourcesdr/SDR/LimeSuite/src/utilities_gui/SPI_wxgui.cpp:33:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (index = 0; index < wrbtn.size(); index++)
^
/home/opensourcesdr/SDR/LimeSuite/src/utilities_gui/SPI_wxgui.cpp: In member function ‘virtual void SPI_wxgui::onLMSread(wxCommandEvent&)’:
/home/opensourcesdr/SDR/LimeSuite/src/utilities_gui/SPI_wxgui.cpp:67:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (index = 0; index < rdbtn.size(); index++)
^
/home/opensourcesdr/SDR/LimeSuite/src/utilities_gui/SPI_wxgui.cpp: In member function ‘virtual void SPI_wxgui::onBoardWrite(wxCommandEvent&)’:
/home/opensourcesdr/SDR/LimeSuite/src/utilities_gui/SPI_wxgui.cpp:105:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (index = 0; index < wrbtn.size(); index++)
^
/home/opensourcesdr/SDR/LimeSuite/src/utilities_gui/SPI_wxgui.cpp: In member function ‘virtual void SPI_wxgui::OnBoardRead(wxCommandEvent&)’:
/home/opensourcesdr/SDR/LimeSuite/src/utilities_gui/SPI_wxgui.cpp:142:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (index = 0; index < rdbtn.size(); index++)
^
[ 83%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/utilities_gui/utilities_gui.cpp.o
[ 84%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7suiteAppFrame.cpp.o
[ 84%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/boards_wxgui/lms7002m_novena_wxgui.cpp.o
[ 85%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/RFSpark/RFSpark_wxgui.cpp.o
[ 86%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/Si5351C/Si5351C_wxgui.cpp.o
[ 86%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7suiteApp_gui.cpp.o
[ 87%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7suiteApp.cpp.o
[ 88%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/FPGAcontrols_wxgui/FPGAcontrols_wxgui.cpp.o
[ 89%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/HPM7/HPM7_wxgui.cpp.o
[ 89%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/dlgAbout.cpp.o
[ 90%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/numericSlider/numericSlider.cpp.o
[ 91%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/myriad7/myriad7_wxgui.cpp.o
[ 92%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/fftviewer_wxgui/fftviewer_wxgui.cpp.o
[ 92%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/fftviewer_wxgui/fftviewer_frFFTviewer.cpp.o
[ 93%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/lms7suiteEvents/lms7suiteEvents.cpp.o
[ 94%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/boards_wxgui/pnlQSpark.cpp.o
[ 94%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/boards_wxgui/pnluLimeSDR.cpp.o
[ 95%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/boards_wxgui/pnlUltimateEVB.cpp.o
[ 96%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/boards_wxgui/pnlBuffers.cpp.o
[ 97%] Building C object src/CMakeFiles/LimeSuiteGUI.dir/kissFFT/kiss_fft.c.o
[ 97%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/windowFunction.cpp.o
[ 98%] Building CXX object src/CMakeFiles/LimeSuiteGUI.dir/boards_wxgui/pnlLimeSDR.cpp.o
[100%] Linking CXX executable ../bin/LimeSuiteGUI
[100%] Built target LimeSuiteGUI
(6)安装
$ sudo make install
opensourcesdr@opensourcesdr:~/SDR/LimeSuite/builddir$ sudo make install
[ 1%] Generating LMS API documentation with Doxygen
Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for msc files...
Searching for dia files...
Searching for files to exclude
Searching INPUT for files to process...
Searching for files in directory /home/opensourcesdr/SDR/LimeSuite/src/lime
Reading and parsing tag files
Parsing files
Preprocessing /home/opensourcesdr/SDR/LimeSuite/src/lime/LimeSuite.h...
Parsing file /home/opensourcesdr/SDR/LimeSuite/src/lime/LimeSuite.h...
Building group list...
Building directory list...
Building namespace list...
Building file list...
Building class list...
Associating documentation with classes...
Computing nesting relations for classes...
Building example list...
Searching for enumerations...
Searching for documented typedefs...
Searching for members imported via using declarations...
Searching for included using directives...
Searching for documented variables...
Building interface member list...
Building member list...
Searching for friends...
Searching for documented defines...
Computing class inheritance relations...
Computing class usage relations...
Flushing cached template relations that have become invalid...
Creating members for template instances...
Computing class relations...
Add enum values to enums...
Searching for member function documentation...
Building page list...
Search for main page...
Computing page relations...
Determining the scope of groups...
Sorting lists...
Freeing entry tree
Determining which enums are documented
Computing member relations...
Building full member lists recursively...
Adding members to member groups.
Computing member references...
Inheriting documentation...
Generating disk names...
Adding source references...
Adding xrefitems...
Sorting member lists...
Computing dependencies between directories...
Generating citations page...
Counting data structures...
Resolving user defined references...
Finding anchors and sections in the documentation...
Transferring function references...
Combining using relations...
Adding members to index pages...
Generating style sheet...
Generating search indices...
Generating example documentation...
Generating file sources...
Generating code for file /home/opensourcesdr/SDR/LimeSuite/src/lime/LimeSuite.h...
Generating file documentation...
Generating docs for file /home/opensourcesdr/SDR/LimeSuite/src/lime/LimeSuite.h...
/home/opensourcesdr/SDR/LimeSuite/src/lime/LimeSuite.h:57: warning: Member API_EXPORT (macro definition) of file LimeSuite.h is not documented.
/home/opensourcesdr/SDR/LimeSuite/src/lime/LimeSuite.h:58: warning: Member CALL_CONV (macro definition) of file LimeSuite.h is not documented.
Generating page documentation...
Generating docs for page deprecated...
Generating group documentation...
Generating class documentation...
Generating docs for compound lms_dev_info_t...
Generating docs for compound lms_range_t...
Generating docs for compound lms_stream_meta_t...
Generating docs for compound lms_stream_status_t...
Generating docs for compound lms_stream_t...
Generating namespace index...
Generating graph info page...
Generating directory documentation...
Generating index page...
Generating page index...
Generating module index...
Generating namespace index...
Generating namespace member index...
Generating annotated compound index...
Generating alphabetical compound index...
Generating hierarchical class index...
Generating member index...
Generating file index...
Generating file member index...
Generating example index...
finalizing index lists...
writing tag file...
lookup cache used 139/65536 hits=1411 misses=139
finished...
[ 1%] Built target docAPI
[ 35%] Built target LimeSuite
[ 39%] Built target oglGraph
[ 81%] Built target LimeSuiteGUI
[ 82%] Built target boardEmulator
[ 84%] Built target basicRX
[ 86%] Built target singleRX
[ 87%] Built target dualRXTX
[ 88%] Built target gpio_example
[ 94%] Built target MCU_TestBench
[ 97%] Built target LimeUtil
[100%] Built target LMS7Support
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/cmake/LimeSuite/LimeSuiteConfig.cmake
-- Installing: /usr/local/lib/cmake/LimeSuite/LimeSuiteConfigVersion.cmake
-- Installing: /usr/local/include/lime/LimeSuite.h
-- Installing: /usr/local/include/lime/VersionInfo.h
-- Installing: /usr/local/include/lime/Logger.h
-- Installing: /usr/local/include/lime/SystemResources.h
-- Installing: /usr/local/include/lime/LimeSuiteConfig.h
-- Installing: /usr/local/include/lime/ADF4002.h
-- Installing: /usr/local/include/lime/MCU_BD.h
-- Installing: /usr/local/include/lime/MCU_File.h
-- Installing: /usr/local/include/lime/IConnection.h
-- Installing: /usr/local/include/lime/ConnectionHandle.h
-- Installing: /usr/local/include/lime/ConnectionRegistry.h
-- Installing: /usr/local/include/lime/LMS7002M.h
-- Installing: /usr/local/include/lime/LMS7002M_RegistersMap.h
-- Installing: /usr/local/include/lime/LMS7002M_parameters.h
-- Installing: /usr/local/include/lime/Streamer.h
-- Installing: /usr/local/include/lime/ADCUnits.h
-- Installing: /usr/local/include/lime/LMS64CCommands.h
-- Installing: /usr/local/include/lime/LMS64CProtocol.h
-- Installing: /usr/local/include/lime/LMSBoards.h
-- Installing: /usr/local/include/lime/dataTypes.h
-- Installing: /usr/local/include/lime/fifo.h
-- Installing: /usr/local/include/lime/Si5351C.h
-- Installing: /usr/local/include/lime/FPGA_common.h
-- Installing: /usr/local/include/lime/lms7_device.h
-- Installing: /usr/local/lib/libLimeSuite.so.18.03.0
-- Installing: /usr/local/lib/libLimeSuite.so.18.03-1
-- Installing: /usr/local/lib/libLimeSuite.so
-- Installing: /usr/local/bin/LimeSuiteGUI
-- Set runtime path of "/usr/local/bin/LimeSuiteGUI" to ""
-- Installing: /usr/local/lib/pkgconfig/LimeSuite.pc
-- Installing: /usr/local/bin/LimeUtil
-- Set runtime path of "/usr/local/bin/LimeUtil" to ""
-- Installing: /usr/local/lib/SoapySDR/modules0.6/libLMS7Support.so
-- Set runtime path of "/usr/local/lib/SoapySDR/modules0.6/libLMS7Support.so" to ""
-- Installing: /usr/local/share/Lime/Desktop/lime-suite.desktop
-- Installing: /usr/local/share/Lime/Desktop/lime-suite-64.png
-- Installing: /usr/local/share/Lime/Desktop/lime-suite-32.png
-- Installing: /usr/local/share/Lime/Desktop/lime-suite-48.png
-- Installing: /usr/local/share/Lime/Desktop/lime-suite-128.png
-- Installing: /usr/local/share/Lime/Desktop/lime-suite-22.png
-- Installing: /usr/local/share/Lime/Desktop/lime-suite-16.png
-- Installing: /usr/local/share/Lime/Desktop/install
-- Installing: /usr/local/share/Lime/Desktop/uninstall
(7)ldconfig,作用是为了让新编译安装到动态链接库为系统所共享
$ sudo ldconfig
当您在普通用户下,命令行输入LimeSuiteGUI后,有可能会提示以下错误(当然,有可能你也不会碰到这个问题),别急!接着看以下的解决方法。
opensourcesdr@opensourcesdr:~/SDR/LimeSuite/builddir$ LimeSuiteGUI
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/002/005: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/002/005: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/002/005: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.
解决方法:进入LimeSuite的udev-rules文件夹中,假设目前您所在位置为LimeSuite的上一级目录,则输入以下命令,
$ cd LimeSuite/udev-rules
$ sudo chmod 777 install.sh
$ sudo ./install.sh
然后再输入命令行LimeSuiteGUI,就不会再报错了。
(1)在菜单栏选择:Option->ConnectionSettings,在弹出界面选中设备,并点击Connect。
(2)点击Default,此时如果您碰到如下所示的提示信息(当然,有可能你也不会碰到这个问题),别急!更新一下LimeSDR Mini的固件即可(如果没碰到这个问题,就略过更新固件操作),
更新方法如下:
LimeSDR Mini固件到方法与更新LimeSDR-USB固件方法一样。【因为固件要下载,所以注意保证你的电脑能够上网】
更新完固件后,再点击Default就不会再出现上述ERROR:SetPllFrequency:timeout,busy bit is still 1的提示了。
然后可以接着再点击一下Read Temp,即会显示温度。
(3)配置SXR,根据你的需要设置接收频率
点击Calculate,点击tune
(4)查看FFT波形,点击功能栏的‘Modules->FFTviewer’,在弹出界面中的‘data reading’处点击start按钮即可看到接收信号波形。
(1) 终端输入命令:LimeSuiteGUI启动LimeSuite。
(2) 在菜单栏选择:Option->ConnectionSettings,在弹出界面选中设备,并点击Connect。
(3)导入配置文件,点击Open按钮,选中你从百度网盘下载的self_test.ini文件,然后点击GUI->Chip按钮。
(4)配置SXT,找到并选中SXT标签,然后点击 ‘Calculate’按钮,然后点击‘Tune’按钮。
(5)配置CLKGEN,找到CLKGEN标签,然后点击‘Calculate’按钮,然后点击‘Tune’按钮。
(6)开启lookback功能,点击功能栏的‘Modules->Board controls’,在弹出界面中勾选RF loopback Ch.A and RF loopback Ch.B。
(7)导入WCDMA波形,点击功能栏的‘Modules->FPGA controls’,在弹出界面中勾选MIMO,然后点击W-CDMA。
(8)查看FFT波形,点击功能栏的‘Modules->FFTviewer’,在弹出界面中的‘data reading’处选择‘Packets MIMO’,在‘Graph’处的Display channel选择‘A&B’,然后点击start按钮即可看到波形。
为了省事,下图是我从我的博客https://blog.csdn.net/OpenSourceSDR/article/details/79022941拷贝过来的Windows系统下 的图形,Ubuntu系统下的图也是类的。
ubuntu系统下安装gqrx的方法为,
$ sudo add-apt-repository -y ppa:myriadrf/drivers
$ sudo add-apt-repository -y ppa:bladerf/bladerf
$ sudo add-apt-repository -y ppa:myriadrf/gnuradio
$ sudo add-apt-repository -y ppa:gqrx/gqrx-sdr
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install gqrx-sdr
假设你的Ubuntu中已正确安装了Gqrx,打开Gqrx后,点击如下设置,
其中,Antenna处可以选择LNAW也可以选择LNAH。