ClangSwift
ClangSwift copied to clipboard
"'clang-c/Platform.h' file not found" after brew install --with-toolchain
I ran brew install with tool chain llvm and I still get "'clang-c/Platform.h' file not found". Not sure if I am missing a step.
You need a pkg-config file.
sudo swift ClangSwift/utils/make-pkgconfig.swift
@ddddxxx what to do if I'm getting this:
Running /usr/bin/which /usr/local/opt/llvm/bin/llvm-config...
error: Failed to find llvm-config. Ensure llvm-config is installed and in your PATH
?
Is there a build instruction? Or at least a list of system requirements to have?
Update: brew install llvm
helped