[GH-ISSUE #95] clang-c/Index.h doesn't exist #51

Closed
opened 2026-05-05 03:36:17 -06:00 by gitea-mirror · 5 comments
Owner

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.

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.
Author
Owner

@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.

<!-- gh-comment-id:1254019513 --> @klugier commented on GitHub (Sep 21, 2022): Hello Inaki, please download latest nightly build ([upp-win-16332.7z](https://www.ultimatepp.org/downloads/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.
Author
Owner

@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.

<!-- gh-comment-id:1254220783 --> @klugier commented on GitHub (Sep 21, 2022): It should be automatically detect uopn setup (https://github.com/ultimatepp/ultimatepp/blob/e8035690b984f06c1d3794b6ef6b4dcd2e0505b4/uppsrc/ide/InstantSetup.cpp#L202), so I assume that there is no issue at the moment. Please very.
Author
Owner

@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.

<!-- gh-comment-id:1254892865 --> @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.
Author
Owner

@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:

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.


Reply to this email directly, view it on GitHub
https://github.com/ultimatepp/ultimatepp/issues/95#issuecomment-1254892865,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARH23ZMVXE3E3BIFRBS4JLV7Q7ILANCNFSM6AAAAAAQR5BERU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

<!-- gh-comment-id:1274250896 --> @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: > 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. > > — > Reply to this email directly, view it on GitHub > <https://github.com/ultimatepp/ultimatepp/issues/95#issuecomment-1254892865>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AARH23ZMVXE3E3BIFRBS4JLV7Q7ILANCNFSM6AAAAAAQR5BERU> > . > You are receiving this because you are subscribed to this thread.Message > ID: ***@***.***> >
Author
Owner

@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.

<!-- gh-comment-id:1275260838 --> @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.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/ultimatepp#51
No description provided.