[swift-dev] Could not find a package configuration file provided by "Clang"

Arnold Schwaighofer aschwaighofer at apple.com
Thu Jul 21 10:37:18 CDT 2016


Somewhat wild guess. What is the version of your cmake install?

I think we started requiring some 3ish version recently.

Maybe you need a newer version …

> On Jul 20, 2016, at 2:07 PM, Erica Sadun via swift-dev <swift-dev at swift.org> wrote:
> 
> I started with an absolutely clean re-clone, used bash (normally I use tcsh),  made sure 
> to do `export PATH=/Applications/CMake.app/Contents/bin:$PATH`,  
> 
> CMake Error at cmake/modules/SwiftSharedCMakeConfig.cmake:155 (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.
> Call Stack (most recent call first):
>   cmake/modules/SwiftSharedCMakeConfig.cmake:212 (swift_common_standalone_build_config_clang)
>   CMakeLists.txt:398 (swift_common_standalone_build_config)
> 
> 
> -- Configuring incomplete, errors occurred!
> 
> I'm flummoxed. Anyone able to give me some pointers to get past this? 
> 
> Thanks in advance, -- E
> 
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev



More information about the swift-dev mailing list