rui314 / mold

Mold: A Modern Linker 🦠
MIT License
13.69k stars 448 forks source link

ninja error "FindFirstFileExA" during build on windows with vs2022 #1260

Open leonidgorbachev opened 1 month ago

leonidgorbachev commented 1 month ago

I did nothing special to reproduce this on new clean machine:

the result of ninja is: [467/467] Linking CXX executable mold.exe ninja: error: FindFirstFileExA(Note: including file: C:/Program Files (x86)/Windows Kits/10/include/10.0.22621.0/shared): The filename, directory name, or volume label syntax is incorrect.

Folder "C:/Program Files (x86)/Windows Kits/10/include/10.0.22621.0/shared" exists and the content of folder seems to be correct.

rui314 commented 1 month ago

I don't have a Windows machine. The only harness ensuring mold can be built on Windows is our GitHub buildbot. Did you have any idea why it failed in your configuration?