Pregunta

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?

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top