Page 1 of 1

Codelite 6.1.1 Clang runtime error

Posted: Thu Aug 28, 2014 11:48 am
by fanssex
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?

Re: Codelite 6.1.1 Clang runtime error

Posted: Thu Aug 28, 2014 12:04 pm
by eranif
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