Skip to content

Built Native failed #553

@johnson3d

Description

@johnson3d

1: Built LLVM.sln with vs2022
2: cmake -DCMAKE_INSTALL_PREFIX=../install -DPATH_TO_LLVM=../../../../llvm-project/artifacts/install -G "Visual Studio 17 2022" -A x64 -Thost=x64 ../../..

I will get the output:
Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045.
CMake Error at sources/libClangSharp/CMakeLists.txt:36 (find_package):
Could not find a package configuration file provided by "Clang" with any of
the following names:

ClangConfig.cmake
clang-config.cmake

Add the installation prefix of "Clang" to CMAKE_PREFIX_PATH or set
"Clang_DIR" to a directory containing one of the above files. If "Clang"
provides a separate development package or SDK, be sure it has been
installed.

-- Configuring incomplete, errors occurred!

When i set CMAKE_PREFIX_PATH = llvm-project/artifacts/install, That output is same

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions