Ryan:Thanks much! That got me past the numpy error and landed me in a pybind11 error:
-- Python checking for numpy - found -- Python checking for pygccxml - found CMake Error at CMakeLists.txt:334 (message): pybind11 version 2.0.1 < 2.42.0.1 is the latest from 'apt-get install pybind11'. I saw some stuff in the git 'issues' but not sure how to proceed.
I'm taking on building from source because of all the times (dozen?) I've attempted installation of UHD and gnuradio, the only successful ones are the ones obtained by building from source.
C On 10/27/21 1:39 PM, Ryan Volz wrote:
Hi Chad, You'll find a fix here, along with a link to the relevant bug report: https://github.com/gnuradio/gnuradio/pull/5256It's an unanticipated problem with the older version of CMake used with Ubuntu 18.04, but the fix will be in the next release.Cheers, Ryan On 10/27/21 2:50 PM, Chad Spooner wrote:All: I'm building gnuradio from source on an Ubuntu 18.04.6 system.I'm using the instructions from: https://wiki.gnuradio.org/index.php/InstallingGR#From_SourceWhen I get to the step:# Note: In the following command, you can add -DCMAKE_INSTALL_PREFIX=XXX to install GNU Radio into the PREFIX XXX; if not specified, then the PREFIX is /usr/local. See other CMake options in Common cmake flags.cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ../I get an error relating to numpy: -- User set python executable /usr/bin/python3CMake Error at cmake/Modules/GrPython.cmake:101 (target_link_libraries): Cannot specify link libraries for target "Python::NumPy" which is not builtby this project. Call Stack (most recent call first): CMakeLists.txt:318 (include) -- Configuring incomplete, errors occurred!numpy is installed and I can 'import numpy' successfully in python3. (In fact I had issued "apt-get install *numpy*" previously and it was successful.)I tried finding this error in my archive of gnuradio discussion-list emails, but came up empty, as did my google search.Any advice? Thanks, C -- Chad M. Spooner, PhD NorthWest Research Associates 301 Webster Street Monterey, CA 93940 cmspoo...@nwra.com 831 582 4904 cyclostationary.blog
-- Chad M. Spooner, PhD NorthWest Research Associates 301 Webster Street Monterey, CA 93940 cmspoo...@nwra.com 831 582 4904 cyclostationary.blog
smime.p7s
Description: S/MIME Cryptographic Signature