I have a makefile as described here in the answer:
I have in my cpp file:
#include "CppUTest/CommandLineTestRunner.h"
int main(int ac, const char** av)
{
/* These checks are here to make sure assertions outside test runs don't crash */
CHECK(true);
LONGS_EQUAL(1, 1);
return CommandLineTestRunner::RunAllTests(ac, av);
}
Then I get the error:
undefined reference to `CommandLineTestRunner::RunAllTests(int, char const**)'
Any ideas what to try?