📌  相关文章
📜  python python3-pybind11_2.5.0.bb:do_configure) 失败,退出代码为 '1' - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:07.384000             🧑  作者: Mango

代码示例1
My work around (for now, until yocto is verified on Ubuntu 20.04) were to tell CMake where the Phyton executable is located:
In python3-pybind11_2.5.0.bb recipe alter the EXTRA_OECMAKE variable like:

EXTRA_OECMAKE =  "-DPYBIND11_TEST=OFF \
        -DPYTHON_EXECUTABLE=${RECIPE_SYSROOT_NATIVE}/usr/bin/python3-native/python3.7 \
"