mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[GH-ISSUE #95] clang-c/Index.h doesn't exist #51
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @izabala123 on GitHub (Sep 21, 2022).
Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/95
ide/clang/clang.h includes <clang-c/Index.h>, but this file doesn't exist.
@klugier commented on GitHub (Sep 21, 2022):
Hello Inaki, please download latest nightly build (upp-win-16332.7z should be fine). It should contain needed header. It is located under bin/llvm. After that you need to modify your build method to include this file. The same is true for the lib - you need libclang.lib from bin/llvm. I hope this help.
@klugier commented on GitHub (Sep 21, 2022):
It should be automatically detect uopn setup (
e8035690b9/uppsrc/ide/InstantSetup.cpp (L202)), so I assume that there is no issue at the moment. Please very.@izabala123 commented on GitHub (Sep 22, 2022):
Thank you Klugier. Anyway I prefer to wait a little bit to have the GitHub sources updated. I also wanted to point out that this problem does not only happen with CLANG, but also with MSVC 2017.
@mirek-fidler commented on GitHub (Oct 11, 2022):
If you want "clean fix without reinstalling theide", I am afraid you will
need to download llvm and get those headers and libraries there. At this
point I am not even sure this will work (I mean if theide can be compiled)
with msvc and frankly I do not care.
Once the "use libclang" path was chosen, some options are now closed.
On Thu, Sep 22, 2022 at 1:29 PM Iñaki Zabala @.***>
wrote:
@izabala123 commented on GitHub (Oct 11, 2022):
Now I understand. clang includes and library are now included in U++ .zip. Once changed actual TheIDE setup options, new TheIDE compiles perfectly with CLANG. Knowing that MSVC is not supported for TheIDE, I have removed it from my personal unittest. Thank you.