Friday, May 31, 2024

gnuradio for windows built by mingw64

Hello All,

I have recently made a build of gnuradio for windows using msys2 and
mingw64. I have everything built, but am getting some odd behaviour
from python interacting with gnuradio. When I try to load any
gnuradio modules, the python interpreter hangs, indefinitely. I'm not
sure what I've done wrong. I'm attaching a gzipped copy of my
build.log, prepare.log and package.log files in case it helps diagnose
this problem.

I've tried more than one python module, for example in python, from
gnuradio import gr, etc. and nothing does anything but hang the shell.
I did try to use gdb to debug this, but all I got from gdb was four
threads created and 3 exiting with 'exit code 0'. I'm not too
confident with gdb, so if anyone has any tricks for me to try, please
let me know.

My environment is mingw64, gcc-14.1, boost-1.85.0, codec2-1.2.0,
gcc-libs-14.0, gmp-6.3.0, gsl-2.8, libad9361-iio-0.3, libuhd-4.6.0.0,
libunwind-18.1.6, volk-3.1.2, python-click-8.1.7,
python-click-plugins-1.1.1, python-mako-1.3.3,
python-matplotlib-3.8.3, python-numpy-1.2.6, python-pygccxml-2.5.0,
python-pyaml-23.12.0, python-pyzmq-25.1.2, python-scipy-1.12.0,
python-thrift-0.20.0, SDL-1.2.15+r419+gef3a6c05, soapy-sdr-0.8.1,
spdlog-1.13.0, thrift-0.20.0, cmake-3.29.3, ninja-1.12.1,
cppzmq-4.10.0, fftw-3.3.10, gtk3-3.24.42, jack2-1.9.22, libiio-0.25,
libsndfile-1.2.2, portaudio-1~19.7.0, pybind11-2.11.1,
python-cairo-1.26.1, python-gobject-3.48.2, python-pyqt5-5.15.10,
python-pyqtgraph-0.13.3, qt5-base-5.15.13, qwt-qt5-6.2.0,
zeromq-4.3.5.

I had to use one patch to get gnuradio to build with mingw. I added
wsock32 as a library to a CMakeLists.txt and I'm attaching that as
well. Looking for some ideas as to what might be wrong.

Thanks in advance,

Chris

No comments:

Post a Comment