-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Guide #10
Comments
If you have built Clang/LLVM from the supplied makefile in So simply rebuild ClangKit from Xcode... |
And where can I view these libraries in the Xcode project? Linked frameworks and libraries? |
They are set in the target's build settings ( |
Even though I've done that, I am still getting the following verbose message in the CKDiagnotic: |
Must there be a clang directory in the ClangKit Framework's root? |
No, there's not... Clang include are not copied into the framework. |
The include directory is not being copied into the framework. |
I have no idea about what you are trying to achieve. If you don't give me some context, I won't be able to help you...
I cannot read your mind... |
|
Ok, so this is a runtime issue. Again, as mentioned in your previous issue, if What version of macOS/Xcode are you using? |
The latest of both. |
Ok, I'll see if I can update the example, so it's more clear. The error you are getting just means you need to supply additional arguments to the translation unit, as you would do for a usual compiler. |
OK, I've added an example in 6e2a2f5. Depending on your Xcode version, ClangKit may report other diagnostics, because the LLVM libraries need to be updated for the latest macOS SDKs. I'll try to update them, but I'm on other things right now. |
On downloading and running the latest ClangKit build, I am getting the following verbose message on compilation of the Objective C Code through CKTranslationUnit:ignoring nonexistent directory "/Users/Gurmeher/Library/Developer/Xcode/DerivedData/ClangKit-fawyikkexkgzgxawdfflitbxsezj/Build/Products/Debug/ClangKit.framework/Versions/A/clang/3.7.0/include" Also, the CKDiagnostic objects returned from the CKTranslation are as follows:2017-05-10 17:11:02.145609 ClangKitTest[796:17080] Diagnostic: <CKDiagnostic: 0x1015a9a80>: Error[19:21] - expected a type |
That's what I told you in my previous comment. |
I have rebuilt the latest LLVM and Clang from source. However, I am unable to find the static libraries from the build named as follows: |
In the new build? Have you tried removing it from the LD flags? |
Do you mean removing -libclang from the LDFlags? |
Your installation guide instructs to build the LLVM sources using the makefile.
After running the makefile, what must be done?
The text was updated successfully, but these errors were encountered: