Codelite 6.1.1 Clang runtime error
Posted: 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?
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?