Sometimes errors related to the toolchain occur when building, for example, after importing a project. In this case, setting the compiler version in the toolchain settings can solve the problem. This video shows how to set up the toolchain in e² studio 2022-01 or later.
Related resources: