[CastXML] Problem building castxml

Ron Garret ron at flownet.com
Tue Oct 4 19:07:27 EDT 2016


That did it.  Thanks!

On Oct 4, 2016, at 11:13 AM, Michka Popoff <michkapopoff at gmail.com> wrote:

> Hi
> 
> I think that with llvm 3.8 provided by homebrew, the —with-clang is now implicit,
> so you do not need it anymore (which saves some build time).
> 
> You can then just call something like this:
> 
> cmake CastXMLSourceDir -DLLVM_DIR=/usr/local/Cellar/llvm/3.8.1/share/llvm/cmake/
> 
> and it should work. Adapt the path accordingly if LLVMConfig.cmake or llvm-config.cmake
> are installed somewhere else.
> 
> Michka
> 
>> On 4 Oct 2016, at 20:08, Brad King <brad.king at kitware.com> wrote:
>> 
>> 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
>> _______________________________________________
>> CastXML mailing list
>> CastXML at public.kitware.com
>> http://public.kitware.com/mailman/listinfo/castxml
> 



More information about the CastXML mailing list