[CastXML] Problem building castxml

Brad King brad.king at kitware.com
Tue Oct 4 14:08:27 EDT 2016


On 10/04/2016 01:55 PM, Ron Garret wrote:
>   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.  If "LLVM"
>   provides a separate development package or SDK, be sure it has been
>   installed.

Please see instructions here:

  https://github.com/CastXML/CastXML#build

You need to have the LLVM/Clang SDK available.

On macOS one may use homebrew to get it:

    brew install llvm --with-clang --with-libcxx --with-rtti

Or, one may build it from source using upstream instructions.

-Brad


More information about the CastXML mailing list