GNU Radio Companion WX Instrumentation

Petr picture Petr · May 28, 2017 · Viewed 9k times · Source

GNU Radio Companion 3.7.9

I've been looking and trying to fix my problem for 2 days on 2 different Linux systems (both Debian) Currently I am on Ubuntu 16.04. When I open GNU Radio Companion and grab a any WX GUI (for example: WX GUI FFT Sink) from the Instrumentation stack I always get the following error:

Can't generate this block in mode 'qt_gui'.

And if I click "View Flow Graphs Errors" it always says:

Block - wxgui_fftsink2_0 - WX GUI FFT Sink(wxgui_fftsink2): Can't generate this block in mode 'qt_gui'.

I've tried installing pretty much all dependencies I've came across on the Internet, and I don't even know what else. It happens also on my Kali linux Machine. I am using HackRF One. Everything else seems to be working fine besides this. If I run the command osmocom_fft I get working graph with signals. That means I cannot execute the flow graph at all.

Answer

Marcus Müller picture Marcus Müller · May 28, 2017

The error says what the problem is. In the "Options" Block, switch from Qt to wx. Problem solved.

Better yet, replace your wx widgets with the equivalent qt ones - the WX codebase has effectively gone unmaintained for years now, and we've removed the WX library from the current GNU Radio release, so don't design new flow graphs using WX, even if you're using the legacy GNU Radio 3.7.

I repeat: Do not use WX GUI for new GNU Radio applications.