<div dir="ltr"><div>Coincidentally, I sent a patch for this issue just a moment ago after hitting the same issue.</div><div><br></div><div>Regards,</div><div>Clayton<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 26, 2020 at 9:36 PM <<a href="mailto:tom@tswartz.net">tom@tswartz.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all:<br>
<br>
I'm trying to build the latest gr-osmosdr package from the gr3.8 branch, but I'm <br>
seeing some unusual errors, and I'm not quite sure what the deal is.<br>
<br>
I'll note the following:<br>
- I had errors related to existing python2 packages, so I tried building with Python3.<br>
  I'd be less than surprised if someone says that this is the cause of the issues, but<br>
  personally, I'd like to roll with the Py3 products from now on, what with Py2 being EOL…<br>
- OS is Arch.<br>
<br>
My cmake command was:<br>
```<br>
  cmake \<br>
    -DCMAKE_BUILD_TYPE=Release \<br>
    -DPYTHON_EXECUTABLE=$(which python3) \<br>
    -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python3*) \<br>
    -DPYTHON_LIBRARY=$(echo /usr/lib/libpython3.*.so) \<br>
    -DENABLE_DOXYGEN=1 \<br>
    -DCMAKE_INSTALL_PREFIX=/usr ../<br>
```<br>
<br>
<br>
Output from cmake:<br>
<br>
```<br>
-- ######################################################<br>
-- # Gnuradio enabled components                         <br>
-- ######################################################<br>
--   * Python support<br>
--   * sysmocom OsmoSDR<br>
--   * IQ File Source & Sink<br>
--   * Osmocom RTLSDR<br>
--   * RTLSDR TCP Client<br>
--   * Ettus USRP Devices<br>
--   * Osmocom MiriSDR<br>
--   * HackRF & rad1o Badge<br>
--   * nuand bladeRF<br>
--   * RFSPACE Receivers<br>
--   * AIRSPY Receiver<br>
--   * SoapySDR support<br>
--   * Red Pitaya SDR<br>
-- <br>
-- ######################################################<br>
-- # Gnuradio disabled components                        <br>
-- ######################################################<br>
--   * Osmocom IQ Imbalance Correction<br>
--   * AIRSPY HF+ Receiver<br>
--   * FreeSRP support<br>
-- <br>
-- Building for version: 0.2.0.0 / 0.2.0<br>
-- Using install prefix: /usr<br>
-- Configuring done<br>
CMake Error at lib/CMakeLists.txt:43 (add_library):<br>
  Target "gnuradio-osmosdr" links to target "gnuradio::filter" but the target<br>
  was not found.  Perhaps a find_package() call is missing for an IMPORTED<br>
  target, or an ALIAS target is missing?<br>
<br>
<br>
CMake Error at /usr/lib64/cmake/gnuradio/UseSWIG.cmake:573 (add_library):<br>
  Target "osmosdr_swig" links to target "gnuradio::filter" but the target was<br>
  not found.  Perhaps a find_package() call is missing for an IMPORTED<br>
  target, or an ALIAS target is missing?<br>
Call Stack (most recent call first):<br>
  /usr/lib64/cmake/gnuradio/GrSwig.cmake:133 (swig_add_library)<br>
  swig/CMakeLists.txt:42 (GR_SWIG_MAKE)<br>
<br>
<br>
CMake Error at lib/CMakeLists.txt:43 (add_library):<br>
  Target "gnuradio-osmosdr" links to target "gnuradio::filter" but the target<br>
  was not found.  Perhaps a find_package() call is missing for an IMPORTED<br>
  target, or an ALIAS target is missing?<br>
<br>
<br>
-- Generating done<br>
CMake Generate step failed.  Build files cannot be regenerated correctly.<br>
```<br>
<br>
Any feedback would be appreciated.<br>
Thanks,<br>
<br>
-- <br>
Tom Swartz<br>
<br>
</blockquote></div>