I installed minGW g++ on windows 10. When I compile any code that uses STL containers, even such simple as
#include <iostream>
#include <vector>
using namespace std;
int main()
{
vector<int> b;
b.push_back(42);
cout << b[0];
}
It compiles, but when I try to run it I get error:
“The procedure entry point __gxx_personality_v0 could not be located in the dynamic link library [my exe path]"
I'm compiling just with:
g++ a.cpp
Aucun commentaire:
Enregistrer un commentaire