srsran / srsgui Goto Github PK
View Code? Open in Web Editor NEWA graphics library for software radio.
License: GNU Lesser General Public License v3.0
A graphics library for software radio.
License: GNU Lesser General Public License v3.0
I use version qt5. When compiling and install , I didnt find error. But I received 6 failed when "make test"
Does anybody help with this? Thanks !
nvidia@nvidia07:~/srsGUI-release_2_0_qt5/build$ make test
Running tests...
Test project /home/nvidia/srsGUI-release_2_0_qt5/build
Start 1: waterfallplot_test_c
1/8 Test #1: waterfallplot_test_c .............***Exception: SegFault 1.94 sec
Start 2: complexplot_test_c
2/8 Test #2: complexplot_test_c ...............***Exception: SegFault 1.99 sec
Start 3: realplot_test_c
3/8 Test #3: realplot_test_c ..................***Exception: SegFault 2.01 sec
Start 4: scatterplot_test_c
4/8 Test #4: scatterplot_test_c ...............***Exception: SegFault 2.24 sec
Start 5: waterfallplot_test
5/8 Test #5: waterfallplot_test ............... Passed 3.20 sec
Start 6: complexplot_test
6/8 Test #6: complexplot_test .................***Failed 1.94 sec
Start 7: realplot_test
7/8 Test #7: realplot_test .................... Passed 1.44 sec
Start 8: scatterplot_test
8/8 Test #8: scatterplot_test ................. Passed 1.47 sec
38% tests passed, 5 tests failed out of 8
Total Test time (real) = 16.26 sec
The following tests FAILED:
1 - waterfallplot_test_c (SEGFAULT)
2 - complexplot_test_c (SEGFAULT)
3 - realplot_test_c (SEGFAULT)
4 - scatterplot_test_c (SEGFAULT)
6 - complexplot_test (Failed)
Errors while running CTest
Makefile:94: recipe for target 'test' failed
make: *** [test] Error 8
Hi,
please i'm trying to run the pdsch_ue test program using a file as rf source.
I would like to see the plots of this test to compare it with the plots i get when running my srsue with the usrp for the same configure frequency and sampling rate.
However there's no argument option to enable gui for the test, and when i use the --help option, i get this log below;
`-F Enable RS-based CFO correction [Default Disabled]
-R Channel estimates algorithm (average, interpolate, wiener) [Default interpolate]
-t Add time offset [Default 0]
-T Set TDD special subframe configuration [Default -1]
-G Set TDD uplink/downlink configuration [Default -1]
**plots are disabled. Graphics library not available**
-y set the cpu affinity mask [Default -1]
-n nof_subframes [Default -1]
-s remote UDP port to send input signal (-1 does nothing with it) [Default -1]
-S remote UDP address to send input signal [Default 127.0.0.1]
-u remote TCP port to send data (-1 does nothing with it) [Default -1]
-U remote TCP address to send data [Default 127.0.0.1]
`
i'd like to know if there is a way to enbale the plots or an alternative way to do this
@andrepuschmann any help please
from /home/nome/Downloads/limesdr/srsGUI-release_2_0_qt5/test/cxx/scatterplot_test.cpp:3:
/usr/include/boost/thread/pthread/thread_data.hpp:60:5: error: missing binary operator before token "("
60 | #if PTHREAD_STACK_MIN > 0
| ^~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/config/header_deprecated.hpp:18,
from /usr/include/boost/progress.hpp:22,
from /home/nome/Downloads/limesdr/srsGUI-release_2_0_qt5/test/cxx/scatterplot_test.cpp:7:
/usr/include/boost/progress.hpp:23:1: note: ‘#pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> instead.’
23 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp>" )
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/timer.hpp:21:1: note: ‘#pragma message: This header is deprecated. Use the facilities in <boost/timer/timer.hpp> instead.’
21 | BOOST_HEADER_DEPRECATED( "the facilities in <boost/timer/timer.hpp>" )
| ^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [test/cxx/CMakeFiles/scatterplot_test.dir/build.make:63: test/cxx/CMakeFiles/scatterplot_test.dir/scatterplot_test.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:349: test/cxx/CMakeFiles/scatterplot_test.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Hello, would it be possible to make a release? So that distributions can package this. Preferably when it gets ported to Qt 5.
Most linux distributions (debian/ubuntu/fedora/suse/gentoo) dropped support for Qt4 last year and thus also srsGUI is not build anymore.
Are there any plans to support Qt5 ?
https://wiki.debian.org/Qt4Removal
https://lists.opensuse.org/opensuse-kde/2019-03/msg00000.html
hello,everyone,
I run LimeSDR with srsLTE. When i set gui to be true in enb.conf or ue.conf, there are lots of errors with the GUI feature. Does anyone know whats wrong? How to solve it?
Any help will be appreciated. Thanks so much.
(base) dell@dell-XPS-15-9550:~/srsLTE/srsenb$ sudo srsenb enb.conf
Built in Release mode using commit c2de0c67 on branch master.
--- Software Radio Systems LTE eNodeB ---
Reading configuration file enb.conf...
Opening 1 RF devices with 1 RF channels...
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown
Soapy has found device #0: addr=1d50:6108, driver=lime, label=LimeSDR-USB [USB 3.0] 9081C05C13524, media=USB 3.0, module=FX3, name=LimeSDR-USB, serial=0009081C05C13524,
[INFO] Make connection: 'LimeSDR-USB [USB 3.0] 9081C05C13524'
[INFO] Reference clock 30.72 MHz
[INFO] Device name: LimeSDR-USB
[INFO] Reference: 30.72 MHz
[INFO] LMS7002M register cache: Disabled
Setting up Rx stream with 1 channel(s)
Setting up Tx stream with 1 channel(s)
[INFO] RX LPF configured
[INFO] RX LPF configured
Set Rx bandwidth to 2.50 MHz
[INFO] Filter calibrated. Filter order-4th, filter bandwidth set to 5 MHz.Real pole 1st order filter set to 2.5 MHz. Preemphasis filter not active
[INFO] TX LPF configured
Set Tx bandwidth to 5.00 MHz
Available device sensors:
Warning burst preamble is not calibrated for device lime. Set a value manually
Setting frequency: DL=2685.0 Mhz, UL=2565.0 MHz
Setting Sampling frequency 11.52 MHz
Failed to connect to MME - retrying in 10 seconds
==== eNodeB started ===
Type to view trace
Starting plot for worker_id=0
[INFO] RX LPF configured
Set Rx bandwidth to 8.64 MHz
X Error: BadAccess (attempt to access private resource denied) 10
Extension: 130 (MIT-SHM)
Minor opcode: 1 (X_ShmAttach)
Resource id: 0x4c00012
X Error: BadShmSeg (invalid shared segment parameter) 128
Extension: 130 (MIT-SHM)
Minor opcode: 5 (X_ShmCreatePixmap)
Resource id: 0x4c0001f
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
[INFO] Filter calibrated. Filter order-4th, filter bandwidth set to 8.64 MHz.Real pole 1st order filter set to 2.5 MHz. Preemphasis filter not active
[INFO] TX LPF configured
Set Tx bandwidth to 8.64 MHz
[INFO] Tx calibration finished
[INFO] Rx calibration finished
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 62 (X_CopyArea)
Resource id: 0x4c00020
Build failed as a result of deprecated header. Adding BOOST_TIMER_ENABLE_DEPRECATED
to the build environment should resolve this issue temporarily.
/usr/include/boost/timer.hpp:21:3: error: #error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.) 21 | # error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
I recently upgraded to Ubuntu 15.10, which included Boost 1.58. I was having following error while compiling srsgui:
$ make
[ 1%] Generating waterfallplot/moc_WaterfallplotWrapper.cxx
[ 3%] Generating __/include/srsgui/common/moc_Lineplot.cxx
[ 5%] Generating __/include/srsgui/common/moc_Pointplot.cxx
[ 7%] Generating __/include/srsgui/common/moc_Spectrogramplot.cxx
usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"
src/CMakeFiles/srsgui.dir/build.make:66: recipe for target 'src/__/include/srsgui/common/moc_Spectrogramplot.cxx' failed
make[2]: *** [src/__/include/srsgui/common/moc_Spectrogramplot.cxx] Error 1
CMakeFiles/Makefile2:121: recipe for target 'src/CMakeFiles/srsgui.dir/all' failed
make[1]: *** [src/CMakeFiles/srsgui.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
It seems that the problem is caused by Qt, and unfortunately it is fixed only in Qt 5.x and will be never backported to Qt 4.x. There is a workaround suggested in Qt bug tracker. I am not sure whether there is Qt 5 porting plan, and the patch is just a two liner:
diff --git a/include/srsgui/common/WaterfallData.h b/include/srsgui/common/WaterfallData.h
index 629a676..a289c6d 100755
--- a/include/srsgui/common/WaterfallData.h
+++ b/include/srsgui/common/WaterfallData.h
@@ -2,8 +2,10 @@
#define WATERFALLDATA_H
#include <qwt_raster_data.h>
+#ifndef Q_MOC_RUN
#include <boost/circular_buffer.hpp>
#include <boost/shared_ptr.hpp>
+#endif
#include <vector>
#include <algorithm>
#include <cmath>
I have installed srsRAN21.10 and srsGUI, and make test is successful.
when I run srsenb,
Trying to start a plot but plots are disabled (ENABLE_GUI constant in sf_worker.cc)
Hello I have problem to make this project due Qt version incompatibility since I have Qt5 installed in my ubuntu previously:
sudo apt-get install libqwt-qt5-dev qtbase5-dev give me:
libqwt-qt5-dev is already the newest version (6.1.4-1.1build1).
qtbase5-dev is already the newest version (5.12.8+dfsg-0ubuntu2.1).
but when make the project I have:
[ 80%] Linking C executable complexplot_test_c
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/libqwt-qt5.so: undefined reference to `qt_version_tag@Qt_5.12'
collect2: error: ld returned 1 exit status
make[2]: *** [test/c/CMakeFiles/complexplot_test_c.dir/build.make:100: test/c/complexplot_test_c] Error 1
make[1]: *** [CMakeFiles/Makefile2:218: test/c/CMakeFiles/complexplot_test_c.dir/all] Error 2
make: *** [Makefile:139: all] Error 2
this error is related with version incompatibility?.
Maybe could I modify any file for make it compatible...
thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.