usually, this error doesn't appear if you've somehow installed a bunch of stuff on your computer
idk how to solve this otherwise.
Alongside your regular "rust" compilation rules:
In order for this to work:
- Have VS 2022 installed and make sure you install the basics for the "2022" one
- Reroute the CMake path to the Visual Studio 2022 one (in
C:/Program Files/Visual Studio 2022/
) searchcmake.exe
, then add the folder where CMake is into your system path above most things else - Have LLVM installed,
winget install LLVM.LLVM
- Set
LIBCLANG_PATH
, the environment variable, to the LLVM bin folder (probably in program files / LLVM)