May 12, 2009
CppUTest - Compiling on OSX

CppUTest wouldn’t link properly when I ran it initially. ld complained about the table of contents missing from lib/libCppUTest.a.

Ran the following

ranlib lib/*.a && make

Seemed to work… Not sure if anything is missing

Remember to export the CppUTest path, if you do end up in this situation, or the handy scripts (NewClass and the like) won’t work properly because they won’t know how to call each other:

cd /path/to/someDir/CppUTest/

export CPP_U_TEST=$(pwd)