Reputation: 277
Title.
After successfully compiling this program:
#include <iostream>
class test
{
public:
int Render() {return 4;}
};
int main()
{
test b;
std::cout << b.Render() << std::endl;
return 0;
}
With this command:
g++ .\src\test.cpp -lstdc++
The executable produced produces error message (paraphrased as I'm translating):
Entry point for procedure __gxx_personality_v0 in library [path of executable] not found.
Any suggestions?
Upvotes: 0
Views: 904
Reputation: 277
Answer: Copy libstdc++6.dll from C:\mingw\bin into the executable's folder.
Upvotes: 1