Closed ZhongLingXiao closed 1 year ago
Which compiler did you use to build Aurora?
Also, even though I built Aurora successively on WSL2 two weeks ago, Aurora does not officially support WSL2. As far as I am aware, there is no Vulkan support on WSL2 yet (i.e. you cannot run Aurora).
I just tested it in WSL2. The errors you had are likely triggered by gcc. I got the same errors with gcc but built successfully with clang-11. clang-11 is the only compiler Aurora officially supported (for now).
I am closing the ticket. Please try building with clang-11. If you encounter any build errors, please feel free to reopen this ticket or create a new one.
OS : WSL2 ubuntu 20.04 Branch : main
After execute cmd :
cmake --build Build
, it fail to build the project and show error below.It seems this error is related to compile flag in cmake file:
This will works after remove
-Wpedantic -Werror
, however I suppose there may be a more decent way to deal with this issue.