alex toftul via llvm-dev
2021-Oct-11 21:24 UTC
[llvm-dev] errors trying to build llvm from sources using ninja on Windows 10
Hello, dear friends! I am trying to build from sources and install llvm on windows 10. Installed all the prerequisites successfully. Then: git clone https://github.com/llvm/llvm-project.git cd llvm-project mkdir build cd build cmake –G Ninja -DLLVM_ENABLE_PROJECTS=clang ../llvm ninja The output of the last command can be found in the attached .txt file. Could somebody help me figure out what is going on? I am absolutely new to the subject so please be understanding. Thanks in advance! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211011/c9c50768/attachment.html> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ninja_out.txt URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211011/c9c50768/attachment.txt>
Hans Wennborg via llvm-dev
2021-Oct-12 11:57 UTC
[llvm-dev] errors trying to build llvm from sources using ninja on Windows 10
Hi Alex, It looks like your MinGW toolchain doesn't provide std::mutex. Maybe you need a newer MinGW version. You could also try building with Visual Studio Build Tools (https://aka.ms/buildtools). Thanks, Hans On Mon, Oct 11, 2021 at 11:42 PM alex toftul via llvm-dev <llvm-dev at lists.llvm.org> wrote:> > Hello, dear friends! > I am trying to build from sources and install llvm on windows 10. Installed all the prerequisites successfully. > Then: > git clone https://github.com/llvm/llvm-project.git > cd llvm-project > mkdir build > cd build > cmake –G Ninja -DLLVM_ENABLE_PROJECTS=clang ../llvm > ninja > The output of the last command can be found in the attached .txt file. > > Could somebody help me figure out what is going on? I am absolutely new to the subject so please be understanding. > Thanks in advance! > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev