-
Notifications
You must be signed in to change notification settings - Fork 7
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
Linux (Fedora), issues with "- -isystemThirdParty/Unix/LibCxx/include/c++/v1" #16
Comments
Dang. Yeah I test mine with Ubuntu. That error could mean a lot of things though.
In Ubuntu I'll try to find a source file that will error when that lib isn't included. My testing will have to be tomorrow though since I'm about to head to bed. Edit: Updated question 3 |
Yep, that path exist: I am trying to edit that line, but looks like no matter what I test, looks like it works: - -Isystem/ThirdParty/Unix/LibCxx/include/c++/v1
- -I/ThirdParty/Unix/LibCxx/include/c++/v1 |
So you're saying it works when you prepend a / to the start of the path? What version of UE are you using? |
Yep, I tried even using wrong paths and works like: Jaja, sorry I am using 5.4.3 Also, one thing, could you remove the last pop up message to setup clang, or set by default for linux OS, the path /usr/bin/clangd |
Cool! If it works on Ubuntu I'll prepend it with / as default. For /usr/bin/clangd , there could be problems with that since different Unreal version need different clangd versions to be the most compatible. What clangd version does /usr/bin/clangd have if someone had multiple clangd versions installed? For example in Ubuntu/UE5.4.# I installed llvm 16.0.6 and used the llvm-16 directory for clangd. In previous Unreal versions I used llvm-15, llvm-14 and so on with their specific versions. If you scroll down on this page for 'Compiler' you can see what version of clang/clangd is best/most compatible with the engine version. |
In Ubuntu, using 5.4.3, I removed the line and got errors. I added the line and prepended the path with a / and it failed. Your error could be because you're using an older or newer version of clangd that only works with relative paths when prepended with a / or something of that sort.
|
clangd --version ──(Sat,Aug10)─┘
clangd version 18.1.6 (Fedora 18.1.6-3.fc40)
Features: linux
Platform: x86_64-unknown-linux-gnu; target=x86_64-redhat-linux-gnu |
I've run into problems before using different clang/clangd versions. I've also run into problems running the same clang/clangd versions but a different version then was recommended by Epic. Of course I've also had success. That said I probably won't fix this. For best compatibility I would run clang/clangd 16.0.6 for UE 5.4.3. I will look out for this for whenever UE5 starts supporting future clang/clangd versions. Thanks! |
Hi!!!
Upgrading to the new plugin and UE, I got some issues with it. After some tries, I found that .clangd file, has this line, I removed and everything works fine:
Should I edit or leave it with out this line ?
This is for Fedora Linux
The text was updated successfully, but these errors were encountered: