Summary
I'm trying to build Vanadium on Windows without Docker, following the repository documentation.
The configuration fails because CMake cannot locate the LLVM package configuration (LLVMConfig.cmake), even though LLVM 22.1.8 is installed from the official LLVM website.
It appears that the official Windows installer does not include the CMake package files required by:
find_package(LLVM REQUIRED CONFIG)
As a result, the project cannot be configured.
Environment
- OS: Windows 11 24H2
- Vanadium: current master
- LLVM: 22.1.8 (official installer)
- CMake: 4.4.0-rc3
- Ninja: 1.13.2
- Clang: 22.1.8
- Python: 3.14
- Git: 2.54
Configuration command
cmake .. -G Ninja ^
-DCMAKE_C_COMPILER=clang ^
-DCMAKE_CXX_COMPILER=clang++
Error
Could not find a package configuration file provided by "LLVM"
with any of the following names:
LLVMConfig.cmake
llvm-config.cmake
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH
or set LLVM_DIR to a directory containing one of the above files.
Investigation
The LLVM installation is correctly detected:
clang --version
clang version 22.1.8
InstalledDir: C:\Program Files\LLVM\bin
The installation directory contains:
C:\Program Files\LLVM
├── bin
├── include
├── lib
└── share
However,
C:\Program Files\LLVM\lib\cmake\llvm
contains only:
LLVMConfigExtensions.cmake
and does not contain:
- LLVMConfig.cmake
- LLVMConfigVersion.cmake
Also:
returns no executable.
Therefore the official Windows LLVM installation appears not to provide the CMake package required by Vanadium.
Questions
-
Which LLVM distribution is expected for Windows builds?
-
Is the project intended to build with the official LLVM installer?
-
Is there an additional package that Windows users should install?
Thanks a lot.
Summary
I'm trying to build Vanadium on Windows without Docker, following the repository documentation.
The configuration fails because CMake cannot locate the LLVM package configuration (
LLVMConfig.cmake), even though LLVM 22.1.8 is installed from the official LLVM website.It appears that the official Windows installer does not include the CMake package files required by:
As a result, the project cannot be configured.
Environment
Configuration command
Error
Investigation
The LLVM installation is correctly detected:
The installation directory contains:
However,
contains only:
and does not contain:
Also:
returns no executable.
Therefore the official Windows LLVM installation appears not to provide the CMake package required by Vanadium.
Questions
Which LLVM distribution is expected for Windows builds?
Is the project intended to build with the official LLVM installer?
Is there an additional package that Windows users should install?
Thanks a lot.