The missing VCOMP140.DLL error indicates a problem with the Microsoft Visual C++ runtime that Vivado depends on. The DLL is either missing, corrupted, or the wrong version.
Use these steps:
- Repair or reinstall the Visual C++ Redistributable 2015–2022 (x64)
- Open Settings → Apps → Installed apps.
- Find all entries named “Microsoft Visual C++ 2015–2022 Redistributable (x64)”.
- For each one, choose Modify → Repair.
- If Repair is not available or fails, uninstall it, then reinstall the latest supported 2015–2022 x64 redistributable from Microsoft and reboot.
- Remove conflicting/old C++ redistributables
- In the same Installed apps list, remove obviously old or duplicate Visual C++ 2015–2019/2015–2022 entries that may conflict.
- Reboot after uninstalling, then ensure only the current 2015–2022 package is present.
- Check if Vivado installed its own older runtime
- If Vivado has a “redist” or “vcredist” folder and installed an older C++ runtime, it can overwrite newer DLLs.
- After repairing/reinstalling the latest redistributable, avoid re-running any bundled old vcredist installers from Vivado.
- If the error persists
- Uninstall Vivado.
- Repair the Visual C++ 2015–2022 (x64) redistributable again.
- Reinstall Vivado and test immediately after install.
This approach standardizes the Visual C++ runtime on the machine and prevents older DLLs from breaking applications that need VCOMP140.DLL.
References: