0

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?

redspah
  • 257
  • 3
  • 9

1 Answers1

1

Answer: Copy libstdc++6.dll from C:\mingw\bin into the executable's folder.

redspah
  • 257
  • 3
  • 9