I downloaded the 1.11.2 CPPUnit and successfully ran ./configure.
When I run the 'make', I am getting the following error :
g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../../include /usr/local/bin/g++ -c TestAssert.cpp -Wp,-MD,.deps/TestAssert.TPlo -DPIC
In file included from TestAssert.cpp:7:
../../include/cppunit/TestAssert.h: In function `static class string CppUnit::assertion_traits<double>::toString(double)':
../../include/cppunit/TestAssert.h:79: implicit declaration of function `int CppUnit::sprintf(...)'
*** Error code 1
make: Fatal error: Command failed for target `TestAssert.lo'
Any ideas ??
Thanks,
KK
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded the 1.11.2 CPPUnit and successfully ran ./configure.
When I run the 'make', I am getting the following error :
g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../../include /usr/local/bin/g++ -c TestAssert.cpp -Wp,-MD,.deps/TestAssert.TPlo -DPIC
In file included from TestAssert.cpp:7:
../../include/cppunit/TestAssert.h: In function `static class string CppUnit::assertion_traits<double>::toString(double)':
../../include/cppunit/TestAssert.h:79: implicit declaration of function `int CppUnit::sprintf(...)'
*** Error code 1
make: Fatal error: Command failed for target `TestAssert.lo'
Any ideas ??
Thanks,
KK
There was a missing #include <stdio.h> in TestAssert.h.
Either get revision 1.28 of this file or add it yourself.
Thanks for reporting this,
Baptiste.