This is my personal experience in building:
I have two PCs. On the first PC, cmake generation somehow passed by by doing:
After a month, I did try the same procedure on 2nd PC, and without success (there were some commits made to cmake part of sources, if not mistaken (2022-July end). Cmake generation finished only after such hard workaround:
-
Transfer whole 25 Gigs of build folder, containing kicad sources (excluding
kicad\build
subdir) + vcpkg folder to 2nd pc (at the same hdd folder destination):
-
Copy paste
vcpkg
folder from 1st pcâs%appdata%
folder to 2nd; -
Again, commenting out almost every env variable from OS, and cmake generation finished.
I did not ever ran clone vcpkg, bootstrap on the 2nd pc, and I naively believe that is the key to success (I also donât understand what these steps do, sorry ).
Now I have the only annoying problem: I have to comment out msys
from the path before every launch of VS, and de-comment after launch (this way I can use git from msys during VS session). Forgetting to comment msys env variable before VS start will cause cmake generation error (dod not saved a screenshot) and the only fix later is to âDelete cache and reconfigureâ.