rigexpert / gr-rigexpert

Fobos SDR receiver Complex IQ signal source block for GnuRadio. Full sourse code.
GNU Lesser General Public License v2.1
22 stars 4 forks source link

RigExpert block is missing #7

Open heroInCommunity opened 1 month ago

heroInCommunity commented 1 month ago

I did installation as it is described in the doc, although I don't get the block with changing md5 hash, so I did not change it.

Then I run gnuradio-companion & but in the list of components at the right panel I don't see 'RigExpert' block and could not find it with Ctrl+F as well.

I am using Ubuntu 22.04.

GNURadio I've installed using command sudo apt-get install gnuradio

Please help me understand what is going wrong.

heroInCommunity commented 1 month ago

Here are the outputs from installation:

/git/gr-rigexpert/build$ cmake .. -- The CXX compiler identification is GNU 11.4.0 -- The C compiler identification is GNU 11.4.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Build type not specified: defaulting to release. -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'gmp' -- Found gmp, version 6.2.1 -- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Using GMP. -- Found MPLIB: /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.74.0") found components: date_time program_options system regex thread unit_test_framework -- Found Volk: Volk::volk
-- User set python executable /usr/bin/python3 -- Found PythonInterp: /usr/bin/python3 (found version "3.10.12") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so (found suitable exact version "3.10.12") -- Performing Test HAVE_VISIBILITY_HIDDEN -- Performing Test HAVE_VISIBILITY_HIDDEN - Success -- Performing Test HAVE_WARN_SIGN_COMPARE -- Performing Test HAVE_WARN_SIGN_COMPARE - Success -- Performing Test HAVE_WARN_ALL -- Performing Test HAVE_WARN_ALL - Success -- Performing Test HAVE_WARN_NO_UNINITIALIZED -- Performing Test HAVE_WARN_NO_UNINITIALIZED - Success -- Found Git: /usr/bin/git
-- Extracting version information from git describe... fatal: No annotated tags can describe '72e693dbbc7c66030baf505d22d9d76dc95297c7'. However, there were unannotated tags: try --tags. -- Checking for module 'libusb-1.0' -- Found libusb-1.0, version 1.0.25

OS: Linux LIBUSB_LIBRARIES: /usr/lib/x86_64-linux-gnu/libusb-1.0.so LIBUSB_INCLUDE_DIRS: /usr/include/libusb-1.0 -- Using install prefix: /usr/local -- Building for version: 1.0.0.0 / 1.0.0 -- No C++ unit tests... skipping -- PYTHON and GRC components are enabled -- Python checking for pygccxml - found -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Found pybind11: /usr/include (found version "2.9.1") -- Configuring done -- Generating done -- Build files have been written to: /home/hic/git/gr-rigexpert/build

~/git/gr-rigexpert/build$ make [ 11%] Building CXX object lib/CMakeFiles/gnuradio-RigExpert.dir/fobos_sdr_impl.cc.o [ 22%] Building C object lib/CMakeFiles/gnuradio-RigExpert.dir//fobos/fobos.c.o [ 33%] Linking CXX shared library libgnuradio-RigExpert.so [ 33%] Built target gnuradio-RigExpert [ 44%] Generating init.pyc [ 55%] Generating init__.pyo [ 55%] Built target pygen_python_RigExpert_1edc18b5a880f96b7c4482a27549afec [ 55%] Built target copy_module_for_tests [ 66%] Copying RigExpert docstring templates as pybind headers ... [ 66%] Built target RigExpert_docstrings [ 77%] Building CXX object python/RigExpert/bindings/CMakeFiles/RigExpert_python.dir/fobos_sdr_python.cc.o [ 88%] Building CXX object python/RigExpert/bindings/CMakeFiles/RigExpert_python.dir/python_bindings.cc.o [100%] Linking CXX shared module RigExpert_python.cpython-310-x86_64-linux-gnu.so lto-wrapper: warning: using serial compilation of 2 LTRANS jobs [100%] Built target RigExpert_python [100%] Built target copy_bindings_for_tests

/git/gr-rigexpert/build$ sudo make install Consolidate compiler generated dependencies of target gnuradio-RigExpert [ 33%] Built target gnuradio-RigExpert [ 55%] Built target pygen_python_RigExpert_1edc18b5a880f96b7c4482a27549afec [ 55%] Built target copy_module_for_tests [ 66%] Built target RigExpert_docstrings

/git/gr-rigexpert/build$ sudo make install Consolidate compiler generated dependencies of target gnuradio-RigExpert [ 33%] Built target gnuradio-RigExpert [ 55%] Built target pygen_python_RigExpert_1edc18b5a880f96b7c4482a27549afec [ 55%] Built target copy_module_for_tests [ 66%] Built target RigExpert_docstrings Consolidate compiler generated dependencies of target RigExpert_python [100%] Built target RigExpert_python [100%] Built target copy_bindings_for_tests Install the project... -- Install configuration: "Release" -- Installing: /usr/local/lib/cmake/gnuradio-RigExpert/gnuradio-RigExpertConfig.cmake -- Installing: /etc/udev/rules.d/fobos-sdr.rules -- Installing: /usr/local/include/gnuradio/RigExpert/api.h -- Installing: /usr/local/include/gnuradio/RigExpert/fobos_sdr.h -- Installing: /usr/local/lib/x86_64-linux-gnu/libgnuradio-RigExpert.so.1.0.0.0 -- Installing: /usr/local/lib/x86_64-linux-gnu/libgnuradio-RigExpert.so.1.0.0 -- Installing: /usr/local/lib/x86_64-linux-gnu/libgnuradio-RigExpert.so -- Installing: /usr/local/lib/cmake/gnuradio-RigExpert/gnuradio-RigExpertTargets.cmake -- Installing: /usr/local/lib/cmake/gnuradio-RigExpert/gnuradio-RigExpertTargets-release.cmake -- Installing: /usr/local/lib/cmake/gnuradio-RigExpert/gnuradio-RigExpertConfig.cmake -- Installing: /usr/local/lib/python3.10/dist-packages/gnuradio/RigExpert/init.py -- Installing: /usr/local/lib/python3.10/dist-packages/gnuradio/RigExpert/init.pyc -- Installing: /usr/local/lib/python3.10/dist-packages/gnuradio/RigExpert/init.pyo -- Installing: /usr/local/lib/python3.10/dist-packages/gnuradio/RigExpert/RigExpert_python.cpython-310-x86_64-linux-gnu.so -- Set runtime path of "/usr/local/lib/python3.10/dist-packages/gnuradio/RigExpert/RigExpert_python.cpython-310-x86_64-linux-gnu.so" to "" -- Installing: /usr/local/share/gnuradio/grc/blocks/RigExpert_fobos_sdr.block.yml

heroInCommunity commented 1 month ago

When I run gnuradio-companion it says

<<< Welcome to GNU Radio Companion 3.10.7.0 >>>

Block paths: /usr/share/gnuradio/grc/blocks

heroInCommunity commented 1 month ago

Ok, I see that for some reason RigExpert block was installed in /usr/local/share/gnuradio instead of just /usr/share/gnuradio. It is weird

heroInCommunity commented 1 month ago

Managed to get that block appearing and working fine. Although, SoapySDR plugin is still not working in GNU Radio

rigexpert commented 3 weeks ago

The repository was updated. Please try to pull it and build with new instructions.