title.
after compiling program:
#include <iostream> class test { public: int render() {return 4;} }; int main() { test b; std::cout << b.render() << std::endl; return 0; }
with command:
g++ .\src\test.cpp -lstdc++
the executable produced produces error message (paraphrased i'm translating):
entry point procedure __gxx_personality_v0 in library [path of executable] not found.
any suggestions?
answer: copy libstdc++6.dll c:\mingw\bin executable's folder.
Comments
Post a Comment