discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unknown CMake command "pybind11_add_module" while cmake


From: Marcin Puchlik
Subject: Unknown CMake command "pybind11_add_module" while cmake
Date: Sun, 24 Oct 2021 21:02:29 +0200

Hi,
I am using GNU Radio version: 3.9.1.0 and I want to compile my OOT module. While running cmake I encounter following message:

-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'gmp'
--   Found gmp, version 6.2.0
-- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so  
-- Checking for module 'mpir >= 3.0'
--   No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
-- Found MPLIB: /usr/lib/x86_64-linux-gnu/libgmpxx.so  
-- Found Boost: /home/ubuntu/anaconda3/envs/hornet2/lib/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 filesystem system regex thread
-- Found Volk: Volk::volk  
-- User set python executable /home/ubuntu/anaconda3/envs/hornet2/bin/python
-- Found PythonInterp: /home/ubuntu/anaconda3/envs/hornet2/bin/python (found version "3.9.2")
-- Found PythonLibs: /home/ubuntu/anaconda3/envs/hornet2/lib/libpython3.9.so (found suitable exact version "3.9.2")
-- Found Git: /usr/bin/git  
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.17") found components: doxygen dot
-- Using install prefix: /usr/local
-- Building for version: 1.0.0.0 / 1.0.0
-- No C++ unit tests... skipping
-- PYTHON and GRC components are enabled
-- Python checking for pygccxml - not found
CMake Error at /home/ubuntu/anaconda3/envs/hornet2/lib/cmake/gnuradio/GrPybind.cmake:243 (pybind11_add_module):
  Unknown CMake command "pybind11_add_module".
Call Stack (most recent call first):
  python/bindings/CMakeLists.txt:35 (GR_PYBIND_MAKE_OOT)

Any guidance is appreciated
Cheers,
Marcin


-- Configuring incomplete, errors occurred!
See also "/db/Marcin/Gnu_Radio/gr-modulators/build/CMakeFiles/CMakeOutput.log".
See also "/db/Marcin/Gnu_Radio/gr-modulators/build/CMakeFiles/CMakeError.log".

reply via email to

[Prev in Thread] Current Thread [Next in Thread]