Codelite 6.1.1 Clang runtime error

CodeLite installation/troubleshooting forum
fanssex
CodeLite Curious
Posts: 1
Joined: Thu Aug 28, 2014 11:43 am
Genuine User: Yes
IDE Question: C++
Contact:

Codelite 6.1.1 Clang runtime error

Post by fanssex » Thu Aug 28, 2014 11:48 am

I'm using Codelite 6.1.1 and LLVM 3.4.1 on Windows. The binaries I downloaded are from http://llvm.org/releases/3.4.1/LLVM-3.4.1-win32.exe. Everything compiles OK. But when I try to run it it always crashes, reporting seg error from libstdc++.

for example:

#include <iostream>

int main(int argc, char **argv)
{
std::cout << "Hello World" << std::endl; // this crashes
std::cout << "Hello World\n"; // this doesn't
printf("Hello World\n"); // this doesn't
return 0;
}

It seems the DLLs are mismatched, any idea on how to solve this?

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Codelite 6.1.1 Clang runtime error

Post by eranif » Thu Aug 28, 2014 12:04 pm

Like many other observed, ( not only on codelite web site ) clang is simply not ready to be used a compiler on
Windows. it has nothing to do with codelite, its just that llvm developers don't really give a f**k about Windows
Users...

You better stick to MinGW/VC for Windows development
Eran
Make sure you have read the HOW TO POST thread

Post Reply