Compiling python on windows with vs

Thomas Schweikle tschweikle at bfs.de
Tue Jun 13 03:01:37 EDT 2023


Hi!

Trying to compile python on windows leads to following error:

   _testimportmultiple.vcxproj -> 
C:\Users\sct-muc\Documents\Projekte\cpython\PCbuild\amd64\_testimportmultiple.pyd
   _testmultiphase.c
      Bibliothek 
"C:\Users\sct-muc\Documents\Projekte\cpython\PCbuild\amd64\_testmultiphase.lib" 
und Objekt "C:\Users\sct-muc\Docume
   nts\Projekte\cpython\PCbuild\amd64\_testmultiphase.exp" werden erstellt.
   Code wird generiert.
   Codegenerierung ist abgeschlossen.
   _testmultiphase.vcxproj -> 
C:\Users\sct-muc\Documents\Projekte\cpython\PCbuild\amd64\_testmultiphase.pyd
   _testconsole.c
C:\Users\sct-muc\Documents\Projekte\cpython\PC\_testconsole.c(13,10): 
fatal  error C1083: Datei (Include) kann nicht geöffnet werde
n: "..\modules\_io\_iomodule.h": No such file or directory 
[C:\Users\sct-muc\Documents\Projekte\cpython\PCbuild\_testconsole.vcxpro
j]

Fehler beim Buildvorgang.

if I rename "Modules" to "modules" it will find 
"..\modules\_io\_iomodule.h" but wont find "..\Modules\..."

Since Git enables Windows NTFS case sensitivity while checking out 
sources ... is it a bug or a "feature"? And: is there a simple 
workaround available besides disabling case sensitivity (which will 
break others)?
-- 
Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 321 bytes
Desc: OpenPGP digital signature
URL: <https://mail.python.org/pipermail/python-list/attachments/20230613/7606ef6f/attachment.sig>


More information about the Python-list mailing list