-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Taichi Legacy cmake returning errors #5895
Comments
Hi @aagrawal05. Could you try compiling with clang? My environment is Ubuntu 20.04 & clang++-8 and I can successfully build the legacy branch. |
Ok, edited the CMakeLists.txt and built again with clang++14. Gives a different error. |
Yes, maybe clang 10 or 8 if possible! |
Ok, so I've tried with clang++-11 which seems to be the lowest that 22.04 can install and gives the same error as clang++-14. I'll try building from source but is there any other way to compile this? Or alternatively could you please direct me on how to install clang++-8 or 10 on Ubuntu 22.04? Thanks in advance |
Our installation document provides a clang10 tool chain that you can use |
Hi @aagrawal05. If you haven't succeeded yet, could you try Ubuntu 20.04 (in docker if you don't have another environment)? |
Alright, I'll try that. |
I assume the problem has been resolved so I'm closing this issue. Feel free to reopen if you meet further problems. |
Are you able to solve the issue? I'm still having the same issue even switching to clang10 on ubuntu20.04 by changing the "g++" to "clang" in the |
Describe the bug
When installing taichi from the legacy branch, lots of errors when building on cmake
To Reproduce
cloning and running install.py --> https://github.com/taichi-dev/taichi/blob/legacy/install.py
or equivalently from following https://github.com/taichi-dev/taichi/blob/5ab90f03ef37701506c7034c3f1955d225b39957/docs/installation.rst
Log/Screenshots
https://pastebin.com/xqGQc4iB
Additional comments
Running on Ubuntu 22.04
The text was updated successfully, but these errors were encountered: