[Owasp-esapi-c++] Boost and unit test

Jeffrey Walton noloader at gmail.com
Wed Aug 3 02:07:22 EDT 2011


Hi All,

I've got boost-test installed (version 1.44). According to
http://www.boost.org/doc/libs/1_44_0/libs/test/doc/html/faq.html:
    ...to use Unit Test Framework you may either include the
    <boost/test/unit_test.hpp> and link with
    libunit_test_framework.lib...

When linking, I'm getting an undefined reference to the unit testing
library. In fact, I can't even find the lib on my system:

[jeffrey at studio owasp-esapi-c++]$ find /usr -name unit_test_framework.lib
find: `/usr/lib64/audit': Permission denied
[jeffrey at studio owasp-esapi-c++]$ find /usr -name unit_test
find: `/usr/lib64/audit': Permission denied
[jeffrey at studio owasp-esapi-c++]$

Any ideas on what I should be linking to?

Jeff


More information about the Owasp-esapi-c++ mailing list