It seems that configure does not detect any of the following headers:
<strstream.h>
<strstream>
<sstream>
You need at least one of those to use CppUnit (it defines ostringstream or a
similar class).
Either STL are not installed and configure failed for some reasons. Anyway,
try to make a sample program to see which includes is available and tweak
you config-auto.h as required. Tests concerning this includes can be found
in include/cppunit/Portability.h, around line #180.
Baptiste.
----- Original Message -----
From: <wa...@ma...>
To: <cpp...@li...>
Sent: Thursday, January 23, 2003 3:32 PM
Subject: [Cppunit-devel] problem with install cppunit on cygwin
> Hi:
> I follow the install step in "instll-unxt" to install cppunit.
>
> First i enter ./configure --disable-shared on the shell of the cygwin.
>
> it runed without errors. Second, i press "make", errors occured, the shell
>
> printed "/../include/cppunit/Portability.h:81: #error Cannot define
>
> CppUnit::OStringStream." and the make stopped. I was eager to compile
>
> the package. Can you give a solution to me? or some advise? thank you
>
> very much.
>
>
> Best Regards!
> test dept. Eastcomtd
> Lun Wang
> office: 507
> tel(o): 86-10-62973322-5577
> the second Street,Shangdi Information Industry Base
> Haidian District,Beijing,China
> Post Code:100085
> NHM??.
|