when i compile Cppunit in cygwin firat i run ./configure. Ok! second i run make, errors occured as the folllowing: anybodu can solve the problem?
$ make Making all in src make[1]: Entering directory `/home/wangl/cppunit-1.8.0/src' Making all in cppunit make[2]: Entering directory `/home/wangl/cppunit-1.8.0/src/cppunit' source='Asserter.cpp' object='Asserter.lo' libtool=yes \ depfile='.deps/Asserter.Plo' tmpdepfile='.deps/Asserter.TPlo' \ depmode=gcc /bin/sh ../../config/depcomp \ /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I.. /../include -g -O2 -c -o Asserter.lo `test -f Asserter.cpp || echo './'`Asserter.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../../include -g -O2 -c Asserter.cpp -W p,-MD,.deps/Asserter.TPlo In file included from ../../include/cppunit/Asserter.h:4, from Asserter.cpp:1: ../../include/cppunit/Portability.h:81: #error Cannot define CppUnit::OStringStream. make[2]: *** [Asserter.lo] Error 1 make[2]: Leaving directory `/home/wangl/cppunit-1.8.0/src/cppunit' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/wangl/cppunit-1.8.0/src' make: *** [all-recursive] Error 1
Log in to post a comment.
when i compile Cppunit in cygwin
firat i run ./configure. Ok!
second i run make, errors occured as the folllowing:
anybodu can solve the problem?
$ make
Making all in src
make[1]: Entering directory `/home/wangl/cppunit-1.8.0/src'
Making all in cppunit
make[2]: Entering directory `/home/wangl/cppunit-1.8.0/src/cppunit'
source='Asserter.cpp' object='Asserter.lo' libtool=yes \ depfile='.deps/Asserter.Plo' tmpdepfile='.deps/Asserter.TPlo' \ depmode=gcc /bin/sh ../../config/depcomp \ /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I..
/../include -g -O2 -c -o Asserter.lo `test -f Asserter.cpp || echo './'`Asserter.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../config -I../../include -I../../include -g -O2 -c Asserter.cpp -W
p,-MD,.deps/Asserter.TPlo
In file included from ../../include/cppunit/Asserter.h:4,
from Asserter.cpp:1:
../../include/cppunit/Portability.h:81: #error Cannot define CppUnit::OStringStream.
make[2]: *** [Asserter.lo] Error 1
make[2]: Leaving directory `/home/wangl/cppunit-1.8.0/src/cppunit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wangl/cppunit-1.8.0/src'
make: *** [all-recursive] Error 1