Open dcnieho opened 1 year ago
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
related to https://github.com/microsoft/vcpkg/issues/34876 ?
My builds using pybind11 fail because Python.h cannot be found. How do i fix this?
I am building from Visual Studio 17.4.1, and my project has vcpkg integration switched on. Also manifest is on, install vcpkg dependencies is on, and autolink is on and an installed directory is specified. my manifest file contains the following:
Environment
To Reproduce Make a project with the above vcpkg settings and manifest file, then try to compile:
Expected behavior Should work ;)
Failure logs Building from MSVC (when previous runs have already vcpkg-installed the dependencies without trouble) produces this error:
Additional context I am not sure how to list the contents of a vcpkg install directory through manifest, but can list this:
vcpkg_installed_python_wrapper\x64-windows\include
contains a folderpython3.9
which containsPython.h
, but its not found when including pybind11 (which is atvcpkg_installed_python_wrapper\x64-windows\include\pybind11
)