You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Program python3 found: YES
Program C:\Python311\python found: YES (C:\Python311\python.exe)
Could not find Python3 library 'C:\Python311\libs\libpython311.a'
Run-time dependency python found: NO (tried sysconfig)
meson.build:33:12: ERROR: Python dependency not found
The text was updated successfully, but these errors were encountered:
Thanks for the report @dcrowe777. We were just looking at that exact line in gh-13851 and wondering if it was used at all. I'm curious about your use case, could you elaborate?
It seems like we may need:
Cygwin/MinGW support, both Python and the package depending on it built with 'gcc': .a
All built with MSVC/Clang-cl/Intel: .lib
For each of those, we will then need libpython{vernum} or libpython{vernum}t, depending on is_freethreaded. Unclear to me if we also need stable ABI variants. And I guess we probably shouldn't support the "mixed compilers" use case for static linking (libpython313.lib + 'gcc').
meson/mesonbuild/dependencies/python.py
Line 220 in 1feb771
statically linked python fails on windows with :
Program python3 found: YES
Program C:\Python311\python found: YES (C:\Python311\python.exe)
Could not find Python3 library 'C:\Python311\libs\libpython311.a'
Run-time dependency python found: NO (tried sysconfig)
meson.build:33:12: ERROR: Python dependency not found
The text was updated successfully, but these errors were encountered: