Bug 453976

Summary: Error : pybind11
Product: [Applications] audiotube Reporter: wartin.lindkvist <wartin.lindkvist>
Component: generalAssignee: Jonah Brüchert <jbb>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description wartin.lindkvist@gmail.com 2022-05-18 10:09:51 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. pip install pybind11
2. cmake ..



OBSERVED RESULT
CMake Error at CMakeLists.txt:38 (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.


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kde neon
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Jonah Brüchert 2022-05-28 00:26:38 UTC
Installing pybind11 from source or from your distribution should fix this. When installed from pip, it doesn't seem to be in the default cmake package path.
Comment 2 Jonah Brüchert 2022-12-23 22:40:14 UTC
Closing this, since it's just a matter of installing the right package from the distribution.