bladeRF
bladeRF copied to clipboard
pybind11 version 2.2.4 CMake Error
Relevant system specs:
OS: MX x86_64
Kernel: 5.8.0-3-amd64
When attempting pybombs prefix init ~/pybombs/bladeRF -a bladeRF -R gnuradio-default
I recieved a CMake Error
with message pybind11 version 2.2.4 < 2.4
. See the below output
\- gnuradio [INFO] Phase 1 complete: All binary dependencies installed. [INFO] Phase 2: Recursively installing source packages to prefix: [INFO] Installing [WARNING] Build dir already exists: /home/-------/pybombs/bladeRF/src/gnuradio/build Configuring: (100%) [=============================================================================] [WARNING] Configuration failed. Re-trying with higher verbosity. -- Build type set to RelWithDebInfo. -- -- The build system will automatically enable all components. -- Use -DENABLE_DEFAULT=OFF to disable components by default. -- Boost version: 1.67.0 -- Found the following Boost libraries: -- date_time -- program_options -- filesystem -- system -- regex -- thread -- unit_test_framework -- chrono -- atomic -- -- Configuring testing-support support... -- Dependency Boost_unit_test_framework_FOUND = -- Disabling testing-support support. -- Override with -DENABLE_TESTING=ON/OFF -- Extracting version information from git describe... -- Compiler Version: cc (Debian 8.3.0-6) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Compiler Flags: /usr/bin/cc:::-O2 -g -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized /usr/bin/c++:::-O2 -g -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -- ADDING PERF COUNTERS -- User set python executable /usr/bin/python3 -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3.6.5") -- Python checking for numpy - found -- Python checking for pygccxml - found -- Found PythonInterp: /usr/bin/python3 (found version "3.7.3") CMake Error at CMakeLists.txt:340 (message): pybind11 version 2.2.4I was able to correct this issue by using the following commands:
sudo apt remove pybind11-dev python3-pybind11 pip3 install pybind11Then running
pybombs prefix init ~/pybombs/bladeRF -a bladeRF -R gnuradio-default
again.I forked and updated the wiki for pull request, but I couldn't the request to complete. Updated
Getting Started: Linux
page
CMake Error at CMakeLists.txt:338 (find_package): By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "pybind11", but CMake did not find one.
Could not find a package configuration file provided by "pybind11" with any of the following names:
pybind11Config.cmake
pybind11-config.cmake
Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set "pybind11_DIR" to a directory containing one of the above files. If "pybind11" provides a separate development package or SDK, be sure it has been installed.