gr-bladeRF
gr-bladeRF copied to clipboard
Error when following installation procedure
Hello I am trying to build gr-BladeRF for the source by following the procedure on the github: git clone https://github.com/Nuand/gr-bladeRF.git cd gr-bladeRF mkdir build cd build cmake .. make -j4 sudo make install
However I am running into some error and the overall blocks (Source and Sink from BladeRF are not existing in the grc files) Here is what shows up in my terminal:
MyComputer:~$ git clone https://github.com/Nuand/gr-bladeRF.git
Cloning into 'gr-bladeRF'...
remote: Enumerating objects: 673, done.
remote: Counting objects: 100% (255/255), done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 673 (delta 204), reused 199 (delta 162), pack-reused 418
Receiving objects: 100% (673/673), 245.17 KiB | 2.21 MiB/s, done.
Resolving deltas: 100% (432/432), done.
MyComputer:~$ cd gr-bladeRF/
MyComputer:~/gr-bladeRF$ mkdir build
MyComputer:~/gr-bladeRF$ cd build
MyComputer:~/gr-bladeRF/build$ cmake ..
-- The CXX compiler identification is GNU 11.3.0
-- The C compiler identification is GNU 11.3.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.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- 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
-- 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.6")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.10.so (found suitable exact version "3.10.6")
-- Found Git: /usr/bin/git
-- Extracting version information from git describe...
-- The build system will automatically enable all components. -- Use -DENABLE_DEFAULT=OFF to disable components by default. -- Checking for module 'libbladeRF' -- Found libbladeRF, version 2.4.1-git-unknown -- Found libbladeRF: /usr/include, /usr/lib/x86_64-linux-gnu/libbladeRF.so -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- 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 high resolution timing... -- Performing Test HAVE_CLOCK_GETTIME -- Performing Test HAVE_CLOCK_GETTIME - Success -- Performing Test HAVE_MACH_ABSOLUTE_TIME -- Performing Test HAVE_MACH_ABSOLUTE_TIME - Failed -- Performing Test HAVE_QUERY_PERFORMANCE_COUNTER -- Performing Test HAVE_QUERY_PERFORMANCE_COUNTER - Failed -- High resolution timing supported through clock_gettime.
-- Configuring nuand bladeRF support... -- Dependency LIBBLADERF_FOUND = TRUE -- Enabling nuand bladeRF support. -- Override with -DENABLE_BLADERF=ON/OFF -- Using install prefix: /usr/local -- Building for version: 92ecd5c6 / 1.0.0git -- No C++ unit tests... skipping -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- PYTHON and GRC components are enabled -- Python checking for pygccxml - found -- Configuring done -- Generating done -- Build files have been written to: /home/MyName/gr-bladeRF/build MyComputer:~/gr-bladeRF/build$ make -j4 [ 6%] Generating init.pyc [ 12%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/source_impl.cc.o [ 12%] Built target pygen_apps_9a6dd [ 18%] Copying bladeRF docstring templates as pybind headers ... [ 25%] Generating bladeRF_source.block.yml [ 31%] Generating init.pyo [ 37%] Generating bladeRF_sink.block.yml [ 37%] Built target pygen_python_464ee copy docstrings to /home/MyName/gr-bladeRF/build/python/bindings/source_pydoc.h copy docstrings to /home/MyName/gr-bladeRF/build/python/bindings/sink_pydoc.h [ 43%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/sink_impl.cc.o [ 43%] Built target bladeRF_docstrings [ 50%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/ranges.cc.o [ 50%] Built target bladeRF_grc_yaml_blocks [ 56%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/bladerf/bladerf_source_c.cc.o [ 62%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/bladerf/bladerf_sink_c.cc.o In file included from /home/MyName/gr-bladeRF/lib/bladerf/common_sync_block.h:3, from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_source_c.h:24, from /home/MyName/gr-bladeRF/lib/source_impl.h:12, from /home/MyName/gr-bladeRF/lib/source_impl.cc:8: /home/MyName/gr-bladeRF/lib/bladerf/bladerf_common.h:293:3: error: ‘bladerf_feature’ does not name a type; did you mean ‘bladerf_sptr’? 293 | bladerf_feature _feature; | ^~~~~~~~~~~~~~~ | bladerf_sptr In file included from /home/MyName/gr-bladeRF/lib/bladerf/common_sync_block.h:3, from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_sink_c.h:24, from /home/MyName/gr-bladeRF/lib/sink_impl.h:5, from /home/MyName/gr-bladeRF/lib/sink_impl.cc:8: /home/MyName/gr-bladeRF/lib/bladerf/bladerf_common.h:293:3: error: ‘bladerf_feature’ does not name a type; did you mean ‘bladerf_sptr’? 293 | bladerf_feature _feature; | ^~~~~~~~~~~~~~~ | bladerf_sptr In file included from /home/MyName/gr-bladeRF/lib/bladerf/common_sync_block.h:3, from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_source_c.h:24, from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_source_c.cc:42: /home/MyName/gr-bladeRF/lib/bladerf/bladerf_common.h:293:3: error: ‘bladerf_feature’ does not name a type; did you mean ‘bladerf_sptr’? 293 | bladerf_feature _feature; | ^~~~~~~~~~~~~~~ | bladerf_sptr /home/MyName/gr-bladeRF/lib/bladerf/bladerf_source_c.cc: In member function ‘virtual int bladerf_source_c::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/MyName/gr-bladeRF/lib/bladerf/bladerf_source_c.cc:286:18: error: ‘BLADERF_FORMAT_SC8_Q7’ was not declared in this scope; did you mean ‘BLADERF_FORMAT_SC16_Q11’? 286 | if (_format == BLADERF_FORMAT_SC8_Q7 || _format == BLADERF_FORMAT_SC8_Q7_META) { | ^~~~~~~~~~~~~~~~~~~~~ | BLADERF_FORMAT_SC16_Q11 /home/MyName/gr-bladeRF/lib/bladerf/bladerf_source_c.cc:286:54: error: ‘BLADERF_FORMAT_SC8_Q7_META’ was not declared in this scope; did you mean ‘BLADERF_FORMAT_SC16_Q11_META’? 286 | if (_format == BLADERF_FORMAT_SC8_Q7 || _format == BLADERF_FORMAT_SC8_Q7_META) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | BLADERF_FORMAT_SC16_Q11_META make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:76: lib/CMakeFiles/gnuradio-bladeRF.dir/source_impl.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:90: lib/CMakeFiles/gnuradio-bladeRF.dir/sink_impl.cc.o] Error 1 make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:118: lib/CMakeFiles/gnuradio-bladeRF.dir/bladerf/bladerf_source_c.cc.o] Error 1 In file included from /home/MyName/gr-bladeRF/lib/bladerf/common_sync_block.h:3, from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_sink_c.h:24, from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_sink_c.cc:42: /home/MyName/gr-bladeRF/lib/bladerf/bladerf_common.h:293:3: error: ‘bladerf_feature’ does not name a type; did you mean ‘bladerf_sptr’? 293 | bladerf_feature _feature; | ^~~~~~~~~~~~~~~ | bladerf_sptr /home/MyName/gr-bladeRF/lib/bladerf/bladerf_sink_c.cc: In member function ‘virtual int bladerf_sink_c::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/MyName/gr-bladeRF/lib/bladerf/bladerf_sink_c.cc:259:18: error: ‘BLADERF_FORMAT_SC8_Q7’ was not declared in this scope; did you mean ‘BLADERF_FORMAT_SC16_Q11’? 259 | if (_format == BLADERF_FORMAT_SC8_Q7) { | ^~~~~~~~~~~~~~~~~~~~~ | BLADERF_FORMAT_SC16_Q11 /home/MyName/gr-bladeRF/lib/bladerf/bladerf_sink_c.cc:269:61: error: ‘BLADERF_FORMAT_SC8_Q7_META’ was not declared in this scope; did you mean ‘BLADERF_FORMAT_SC16_Q11_META’? 269 | if (BLADERF_FORMAT_SC16_Q11_META == _format || _format == BLADERF_FORMAT_SC8_Q7_META) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | BLADERF_FORMAT_SC16_Q11_META /home/MyName/gr-bladeRF/lib/bladerf/bladerf_sink_c.cc: In member function ‘int bladerf_sink_c::transmit_with_tags(const void*, int)’: /home/MyName/gr-bladeRF/lib/bladerf/bladerf_sink_c.cc:380:12: error: ‘BLADERF_FORMAT_SC8_Q7’ was not declared in this scope; did you mean ‘BLADERF_FORMAT_SC16_Q11’? 380 | case BLADERF_FORMAT_SC8_Q7: | ^~~~~~~~~~~~~~~~~~~~~ | BLADERF_FORMAT_SC16_Q11 /home/MyName/gr-bladeRF/lib/bladerf/bladerf_sink_c.cc:381:12: error: ‘BLADERF_FORMAT_SC8_Q7_META’ was not declared in this scope; did you mean ‘BLADERF_FORMAT_SC16_Q11_META’? 381 | case BLADERF_FORMAT_SC8_Q7_META: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | BLADERF_FORMAT_SC16_Q11_META /home/MyName/gr-bladeRF/lib/bladerf/bladerf_sink_c.cc:434:20: error: ‘BLADERF_FORMAT_SC8_Q7’ was not declared in this scope; did you mean ‘BLADERF_FORMAT_SC16_Q11’? 434 | if (_format == BLADERF_FORMAT_SC8_Q7 || _format == BLADERF_FORMAT_SC8_Q7_META) { | ^~~~~~~~~~~~~~~~~~~~~ | BLADERF_FORMAT_SC16_Q11 /home/MyName/gr-bladeRF/lib/bladerf/bladerf_sink_c.cc:434:56: error: ‘BLADERF_FORMAT_SC8_Q7_META’ was not declared in this scope; did you mean ‘BLADERF_FORMAT_SC16_Q11_META’? 434 | if (_format == BLADERF_FORMAT_SC8_Q7 || _format == BLADERF_FORMAT_SC8_Q7_META) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | BLADERF_FORMAT_SC16_Q11_META make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:132: lib/CMakeFiles/gnuradio-bladeRF.dir/bladerf/bladerf_sink_c.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:251: lib/CMakeFiles/gnuradio-bladeRF.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 MyComputer:~/gr-bladeRF/build$ sudo make install [sudo] password for MyName: Consolidate compiler generated dependencies of target gnuradio-bladeRF [ 6%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/source_impl.cc.o In file included from /home/MyName/gr-bladeRF/lib/bladerf/common_sync_block.h:3, from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_source_c.h:24, from /home/MyName/gr-bladeRF/lib/source_impl.h:12, from /home/MyName/gr-bladeRF/lib/source_impl.cc:8: /home/MyName/gr-bladeRF/lib/bladerf/bladerf_common.h:293:3: error: ‘bladerf_feature’ does not name a type; did you mean ‘bladerf_sptr’? 293 | bladerf_feature _feature; | ^~~~~~~~~~~~~~~ | bladerf_sptr make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:76: lib/CMakeFiles/gnuradio-bladeRF.dir/source_impl.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:251: lib/CMakeFiles/gnuradio-bladeRF.dir/all] Error 2 make: *** [Makefile:146: all] Error 2
Any idea of what I could be doing wrong ? I am quite new to these kind of problems. Thanks ! Best, Max
I'm also receiving the same error message on Ubuntu 20.04 with GRC 3.10
Hi @hardcidr I was able to go around this problem at least and by building BladeRF from the source at this link https://github.com/Nuand/bladeRF. I previsouly uninstalled BladeRF cli.
However now I get a different error.
When building gr-bladeRF from the source: MyComputer:~/gr-bladeRF/build$ make -j4
[ 16%] Built target doxygen_target [ 16%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/source_impl.cc.o [ 16%] Built target pygen_apps_9a6dd [ 22%] Built target pygen_python_464ee [ 33%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/ranges.cc.o [ 33%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/sink_impl.cc.o /home/MyName/gr-bladeRF/lib/ranges.cc:18:10: fatal error: osmosdr/ranges.h: No such file or directory 18 | #include <osmosdr/ranges.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. In file included from /home/MyName/gr-bladeRF/lib/../include/bladeRF/sink.h:6, from /home/MyName/gr-bladeRF/lib/sink_impl.h:4, from /home/MyName/gr-bladeRF/lib/sink_impl.cc:8: /home/MyName/gr-bladeRF/lib/../include/bladeRF/ranges.h:21:10: fatal error: osmosdr/api.h: No such file or directory 21 | #include <osmosdr/api.h> | ^~~~~~~~~~~~~~~ compilation terminated. [ 44%] Built target bladeRF_grc_yaml_blocks [ 50%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/bladerf/bladerf_source_c.cc.o make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:90: lib/CMakeFiles/gnuradio-bladeRF.dir/sink_impl.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:104: lib/CMakeFiles/gnuradio-bladeRF.dir/ranges.cc.o] Error 1 In file included from /home/MyName/gr-bladeRF/lib/../include/bladeRF/source.h:13, from /home/MyName/gr-bladeRF/lib/source_impl.h:11, from /home/MyName/gr-bladeRF/lib/source_impl.cc:8: /home/MyName/gr-bladeRF/lib/../include/bladeRF/ranges.h:21:10: fatal error: osmosdr/api.h: No such file or directory 21 | #include <osmosdr/api.h> | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:76: lib/CMakeFiles/gnuradio-bladeRF.dir/source_impl.cc.o] Error 1 In file included from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_common.h:34, from /home/MyName/gr-bladeRF/lib/bladerf/common_sync_block.h:3, from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_source_c.h:24, from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_source_c.cc:42: /home/MyName/gr-bladeRF/lib/../include/bladeRF/ranges.h:21:10: fatal error: osmosdr/api.h: No such file or directory 21 | #include <osmosdr/api.h> | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:118: lib/CMakeFiles/gnuradio-bladeRF.dir/bladerf/bladerf_source_c.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:268: lib/CMakeFiles/gnuradio-bladeRF.dir/all] Error 2 make: *** [Makefile:146: all] Error 2
MyComputer:~/gr-bladeRF/build$ sudo make install
[ 5%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/source_impl.cc.o In file included from /home/MyName/gr-bladeRF/lib/../include/bladeRF/source.h:13, from /home/MyName/gr-bladeRF/lib/source_impl.h:11, from /home/MyName/gr-bladeRF/lib/source_impl.cc:8: /home/MyName/gr-bladeRF/lib/../include/bladeRF/ranges.h:21:10: fatal error: osmosdr/api.h: No such file or directory 21 | #include <osmosdr/api.h> | ^~~~~~~~~~~~~~~
MyComputer:~/gr-bladeRF/build$ make -j4
[ 16%] Built target doxygen_target [ 16%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/source_impl.cc.o [ 16%] Built target pygen_apps_9a6dd [ 22%] Built target pygen_python_464ee [ 33%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/ranges.cc.o [ 33%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/sink_impl.cc.o /home/MyName/gr-bladeRF/lib/ranges.cc:18:10: fatal error: osmosdr/ranges.h: No such file or directory 18 | #include <osmosdr/ranges.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. In file included from /home/MyName/gr-bladeRF/lib/../include/bladeRF/sink.h:6, from /home/MyName/gr-bladeRF/lib/sink_impl.h:4, from /home/MyName/gr-bladeRF/lib/sink_impl.cc:8: /home/MyName/gr-bladeRF/lib/../include/bladeRF/ranges.h:21:10: fatal error: osmosdr/api.h: No such file or directory 21 | #include <osmosdr/api.h> | ^~~~~~~~~~~~~~~ compilation terminated. [ 44%] Built target bladeRF_grc_yaml_blocks [ 50%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/bladerf/bladerf_source_c.cc.o make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:90: lib/CMakeFiles/gnuradio-bladeRF.dir/sink_impl.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:104: lib/CMakeFiles/gnuradio-bladeRF.dir/ranges.cc.o] Error 1 In file included from /home/MyName/gr-bladeRF/lib/../include/bladeRF/source.h:13, from /home/MyName/gr-bladeRF/lib/source_impl.h:11, from /home/MyName/gr-bladeRF/lib/source_impl.cc:8: /home/MyName/gr-bladeRF/lib/../include/bladeRF/ranges.h:21:10: fatal error: osmosdr/api.h: No such file or directory 21 | #include <osmosdr/api.h> | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:76: lib/CMakeFiles/gnuradio-bladeRF.dir/source_impl.cc.o] Error 1 In file included from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_common.h:34, from /home/MyName/gr-bladeRF/lib/bladerf/common_sync_block.h:3, from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_source_c.h:24, from /home/MyName/gr-bladeRF/lib/bladerf/bladerf_source_c.cc:42: /home/MyName/gr-bladeRF/lib/../include/bladeRF/ranges.h:21:10: fatal error: osmosdr/api.h: No such file or directory 21 | #include <osmosdr/api.h> | ^~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [lib/CMakeFiles/gnuradio-bladeRF.dir/build.make:118: lib/CMakeFiles/gnuradio-bladeRF.dir/bladerf/bladerf_source_c.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:268: lib/CMakeFiles/gnuradio-bladeRF.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 MyComputer:~/gr-bladeRF/build$ sudo make install [ 5%] Building CXX object lib/CMakeFiles/gnuradio-bladeRF.dir/source_impl.cc.o In file included from /home/MyName/gr-bladeRF/lib/../include/bladeRF/source.h:13, from /home/MyName/gr-bladeRF/lib/source_impl.h:11, from /home/MyName/gr-bladeRF/lib/source_impl.cc:8: /home/MyName/gr-bladeRF/lib/../include/bladeRF/ranges.h:21:10: fatal error: osmosdr/api.h: No such file or directory 21 | #include <osmosdr/api.h> | ^~~~~~~~~~~~~~~
So I figured I would build gr-osmosdr from source but I am also running into some errors:
So I figured I would build gr-osmosdr from source but I am also running into some errors:
I am using the following commands from the gr-osmosdr github
"git clone git://git.osmocom.org/gr-osmosdr cd gr-osmosdr/ mkdir build cd build/ cmake ../ make sudo make install sudo ldconfig"
An this is what I get at the cmake part:
CMake Error at /usr/lib/cmake/pybind11/pybind11Tools.cmake:165 (add_library): Target "osmosdr_python" links to target "sndfile::sndfile" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GrPybind.cmake:261 (pybind11_add_module) python/bindings/CMakeLists.txt:28 (GR_PYBIND_MAKE_OOT)
CMake Error at lib/CMakeLists.txt:51 (add_library): Target "gnuradio-osmosdr" links to target "sndfile::sndfile" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing?
I am going to check for similar errors on the osmosdr git and post it here if I fix the issue !
Best, Maxence
@hardcidr I fixed the issue ! I installed libsndfile using: sudo apt-get install -y libsndfile-dev which allowed me to build gr-osmosdr from source WHICH allowed me to build gr-BladeRF from source.
I now have access the the bladeRF blocks in GnuRadio !
Please let me know if you need extra help !
Best, Maxence
21 | #include <osmosdr/api.h>
shouldn't CMake be configured to detect that header and bail out if it's not available?