Hi, the problem comes from an error in the CMake module installed with Gnuradio 3.9.2. I turns out that it is working flawlessly with version 3.9.3.
To make the package compile with version 3.9.2 (the one in the official repo), the CMakeFiles.txt file must be patched adding these lines:
########################################################################
# PyBind11 Related
########################################################################
find_package(pybind11 REQUIRED)
execute_process(
COMMAND "${PYTHON_EXECUTABLE}" -c
"try:\n import numpy\n import os\n inc_path = numpy.get_include()\n if os.path.exists(os.path.join(inc_path, 'numpy', 'arrayobject.h')):\n print(inc_path, end='')\nexcept:\n pass"
OUTPUT_VARIABLE PYTHON_NUMPY_INCLUDE_DIR)
Pinned Comments