-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Unable to build on Ubuntu 18.04 with clang/clang++ 10.0 or 7.0 #808
Comments
Just guessing here, did you install all packages mentioned here? |
Yes. |
Then I'm at a loss here. Hope somebody else can help 😞 |
Someone has a similar issue in rdkit/rdkit. it should be a misconfigured clang. Can you build a regular cpp hello world with clang ? If you manage can you try to build revery-ui/esy-skia master ? |
I don't know enough C++ to write this myself but I found this code online: #include <iostream>
int main() {
std::cout << "Hello World!";
return 0;
} And it seems like I can't build it:
So perhaps you're right that this is a clang configuration problem. |
It is fine if you don't know enough C++. This example your provide is valid. I was able to compile on my linux. So the issue is with you I should first try applying his answer: https://stackoverflow.com/a/31187510/7227940 (maybe you could use a more recent gcc). In case you still have your problem, we had issue with clang in Centos. What we have used is:
revery/scripts/docker-build.sh Line 1 in 16c2132
Hope it help |
Thanks for pointing out the GH Action script -- that's helpful. I already have all those packages installed (just run the same command from the script -- all already installed). I'm trying with two clang versions, 7 and 10, both installed using pre-built executables in https://releases.llvm.org/download.html. Both are failing with the same error. I should add that, |
Hmm, I don't see how clang is installed in the GA action script. Any ideas? |
Searched for an existing bug report but no luck..
esy build
Tried with clang 10.0 and 7.0. Got the same error in both cases:
The text was updated successfully, but these errors were encountered: