first try with CppUnit: undefined reference to `TestCalculator::TestCalculator()

  • longii
    longii
    2013-12-10

    Problem solved: missing declaration (not related anyhow to CppUnit)

    wrong:
    class Calculator {
    public:
    Calculator();
    ...

    correct:
    class Calculator {
    public:
    Calculator(){};
    ...