Question about "cppunit" use

Neil Hodge neil.hodge at gmail.com
Sat Nov 10 19:27:30 UTC 2012


I am using the git/latest version on OS X 10.8, with the cmake command

cmake -DCMAKE_BUILD_TYPE=Release \
     -DCMAKE_OSX_DEPLOYMENT_TARGET=10.8 \
     -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" \
     -DENABLE_STATIC=ON \
     -DCMAKE_INSTALL_PREFIX="/Users/nhodge/bin/taglib-1.8_install" \
     -DBUILD_EXAMPLES=ON \
     -DBUILD_TESTS=ON


When I run "make check", I get the error

In file included from /Users/nhodge/bin/taglib-latest/tests/test_mpeg.cpp:1:
In file included from 
/opt/local/include/cppunit/extensions/HelperMacros.h:9:
In file included from /opt/local/include/cppunit/TestCaller.h:5:
In file included from /opt/local/include/cppunit/TestCase.h:6:
/opt/local/include/cppunit/TestAssert.h:49:12: error: call to function 
'operator<<' that is neither visible in the template definition nor 
found by argument-dependent lookup
         ost<< x;
            ^

Note that the version of cppunit I am using is the latest via MacPorts.

Any thoughts?  Thanks.

Neil


More information about the taglib-devel mailing list