Clion 2017.1 Trying to run Hello world. The program is successfully assembled, but when launched it drops from

 During startup program exited with code 0xc0000018. 

If you run in debug mode with a break to main , then it turns out that main not called - the program crashes somewhere else before.

I compiled MinGW with gcc versions 4.7.1 , 5.1.0 and 6.3.0 - all the same. All on Windows.

Actually, what to do?


By the way, in Code :: Block with the same compiler gcc 4.7.1 everything is successfully assembled and works - the problem is somewhere in clion-e


Added program code

 #include <iostream> using namespace std; int main() { cout << "Hello world!" << endl; return 0; } 
  • 3
    Still, I would like to look at the source - is there exactly only Hello world and everything? ... - Harry
  • @Harry, added program code. There just Hello world. It normally gathers and is started in CodeBlock, but falls at start if to collect in CLion. The compiler is the same. When you start in debug mode, even the breakpoint that is on the Maine does not work - Andrei Kurulyov

0