Hi Elmore,

looks like you use Python to 3.13, but for some reason your pybind11 is linked against Python 3.11. Well, that might have different reasons, but it looks like an issue of inconsistent updates. It's not a GNU Radio bug!

Best regards,
Marcus

On 2026-03-14 10:13 PM, Elmore Family wrote:
I recently upgraded to the subject version and am now missing some blocks.
I tried to rebuild one of my blocks and the following was the result:
cmake ../
CMake Deprecation Warning at CMakeLists.txt:12 (cmake_minimum_required):
   Compatibility with CMake < 3.10 will be removed from a future version of
   CMake.
   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
   to tell CMake that the project requires at least <min> but has been updated
   to work with policies introduced by <max> or earlier.
-- The CXX compiler identification is GNU 14.2.0
-- The C compiler identification is GNU 14.2.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.
-- Using GMP.
CMake Warning (dev) at /usr/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
   Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
   --help-policy CMP0167" for policy details.  Use the cmake_policy command to
   set the policy and suppress this warning.
Call Stack (most recent call first):
   /usr/lib/aarch64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:28 
(find_dependency)
   CMakeLists.txt:77 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Found Boost: /usr/lib/aarch64-linux-gnu/cmake/Boost-1.83.0/BoostConfig.cmake (found suitable version "1.83.0", minimum required is "1.83.0") found components: date_time program_options system regex thread unit_test_framework
-- User set python executable /usr/bin/python3
CMake Warning (dev) at /usr/lib/aarch64-linux-gnu/cmake/gnuradio/GrPython.cmake:21 (find_package):
   Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
   are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
   the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
   /usr/lib/aarch64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:37 (include)
   CMakeLists.txt:77 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Found PythonInterp: /usr/bin/python3 (found version "3.13.5")
CMake Warning (dev) at /usr/lib/aarch64-linux-gnu/cmake/gnuradio/GrPython.cmake:27 (find_package):
   Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
   are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
   the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
   /usr/lib/aarch64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:37 (include)
   CMakeLists.txt:77 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.11.so (Required is exact version "3.13")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found pybind11: /usr/include (found version "2.13.6")
-- Using install prefix: /usr/local
-- Building for version: v1.0-compat-xxx-xunknown / 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 (10.5s)
CMake Error in python/bindings/CMakeLists.txt:
   Imported target "pybind11::module" includes non-existent path
     "/usr/include/python3.11"
   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
   * The path was deleted, renamed, or moved to another location.
   * An install or uninstall procedure did not complete successfully.
   * The installation package was faulty and references files it does not
   provide.
-- Generating done (0.2s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
What is happening here?
Jim

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig- email&utm_content=emailclient> Virus-free.www.avg.com <http://www.avg.com/email-signature? utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


Reply via email to