This is my first post. So if something is incorrect in formatting text, please tell me about it.
I'm the most beginner of beginners. I was wondering whether it's possible to make llvm compiler works in Code::Blocks. I'M USING WINDOWS 10. I've tried a lot different solution that was written here on stackoverflow, but 100% of them were for Linux users, and nothing helped me.
The problem is next. I installed LLVM, installed Code::Blocks, creating new the-best-project-ever-developed-by-mankind Hello world output into console, and actually it's written already by Code::Blocks base for C++ console projects, and I can't build it. Fresh simple project impossible to build out-of-box. The error I get is:
D:\projects\c++\cpptest\egergerger\main.cpp|1|fatal error: 'iostream' file not found
When I tried to run it from cmd.exe it throws me:
D:\projects\c++\cpptest\egergerger>clang main.cpp
clang: warning: unable to find a Visual Studio installation; try running Clang from a developer command prompt [-Wmsvc-not-found]
main.cpp:1:10: fatal error: 'iostream' file not found
#include <iostream>
Now I'm wondering whether it's even possible to make Clang/LLVM compiler works in Code:Blocks Windows edition using Widows OS.
Just now also tried to use something called msys2, didn't helped me.
Thanks!
I'm expecting to build simple Hello world program using Clang/LLVM and Code:Blocks.