Re: [Cppunit-devel] cppunit2 does not compile
Brought to you by:
blep
From: CppUnit d. m. l. <cpp...@li...> - 2006-09-06 17:35:29
|
CppUnit development mailing list wrote: > Hi! > > Thanks for your reply. > > On Tue, 2006-09-05 at 09:42 +0200, CppUnit development mailing list > wrote: > >> Did you download and unpacked scons-local package as indicated ? The >> error message seems to indicate you did not... >> The directory was added a few weeks ago in CVS. > > No I did not download the scons-local package, I thought this is only > necessary if you don't have scons installed at all. This should work, but change between Scons version are significant (in terms of feature). I think I'll add a check for a minimum Scons version. > So I now downloaded it and it starts compiling, but now I have a new > error: > > g++ -o buildscons/linux-gcc/src/cpputtest/main.o -c > -DCPPTL_NO_AUTOLINK -Iinclude -I. src/cpputtest/main.cpp > In file included from include/cpptl/smallmap.h:4, > from src/cpputtest/smallmaptest.h:4, > from src/cpputtest/main.cpp:10: > include/cpptl/_stlimpl.h: In function `void > CppTL::Impl::copy_with_construct_value(OutputIt, unsigned int, const > ValueType&)': include/cpptl/_stlimpl.h:115: error: `value' is not a > type > In file included from src/cpputtest/smallmaptest.h:4, > from src/cpputtest/main.cpp:10: > include/cpptl/smallmap.h: At global scope: > include/cpptl/smallmap.h:177: error: `Item' was not declared in this > scope > > > Any ideas? Yes, I just fixed that one yesterday. I had to use Comeau C++ to get a decent error message though (my version of gcc provided useless one, unlike yours) . Watch out for change in CVS for include/cpptl/_stlimp.h and include/cpptl/smallmap.h. > I have scons 0.96.1 installed and now I unpacked scons-local-0.96.92 > and latest cvs update from today. If you were using 0.96.1 it might explain the 'can not find tool' error. Option to specify a tool path in the scons Environment is fairly recent. I also noticed yesterday that reference documentation generation fails on Linux. You'll need to edit sconscruct and comment the last line. Change: buildProjectInDirectory( 'doc' ) to: #buildProjectInDirectory( 'doc' ) Sorry about this, Baptiste. > > Thanks, Fabian --- Baptiste Lepilleur <bl...@us...> CppUnit maintainer OpenTest and CppUnit 2 developer. |