Bug 453976 - Error : pybind11
Summary: Error : pybind11
Status: RESOLVED NOT A BUG
Alias: None
Product: audiotube
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jonah Brüchert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-18 10:09 UTC by wartin.lindkvist@gmail.com
Modified: 2022-12-23 22:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.