문제

I've got a very small and simple github project which I would like to integrate with travis-ci.org (.travis.yml file). Unfortunately, compilation fails (travis console log), the compiler cannot find cppunit even though I run sudo apt-get ... to install it.

The test/list_test.h file has got the following line:

#include <cppunit/TestFixture.h>

As I said, travis compiler cannot find cppunit headers. Can anyone point me out what am I doing wrong?

도움이 되었습니까?

해결책

CMake was OK. Travis Script was also OK. But the cppunit package was mistaken. It should be libcppunit-dev instead of libcppunit-1.12-1

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top