
g++ -I/afs/in2p3.fr/home/m/mauger/sw/pba_help/pba_help_trunk/include -I/usr/local/boost/include/boost-1_34_1 -I/usr/local/boost/include/boost-1_34_1 -fPIC prg_test.cxx -o prg_test -L/usr/local/boost/lib -lboost_serialization-gcc34 -L/usr/local/boost/lib -lboost_filesystem-gcc34 In file included from prg_test.cxx:15: /afs/in2p3.fr/home/m/mauger/sw/pba_help/pba_help_trunk/include/boost/pba/portable_binary_oarchive.hpp:65: error: wrong number of template arguments (1, should be 3) /usr/local/boost/include/boost-1_34_1/boost/archive/binary_oarchive_impl.hpp:28: error: provided for `template
class boost::archive::binary_oarchive_impl' /afs/in2p3.fr/home/m/mauger/sw/pba_help/pba_help_trunk/include/boost/pba/portable_binary_oarchive.hpp:73: error: wrong number of template arguments (1, should be 3) /usr/local/boost/include/boost-1_34_1/boost/archive/binary_oarchive_impl.hpp:28: error: provided for `template class boost::archive::binary_oarchive_impl' /afs/in2p3.fr/home/m/mauger/sw/pba_help/pba_help_trunk/include/boost/pba/portable_binary_oarchive.hpp:73: error: ISO C++ forbids declaration of `archive_base_t' with no type ...
Hi again, I'm checking PBA stuff under my other main production system (Scientific Linux [~RedHat] under 64 bits processors and gcc 3.4). I use boost 1_34 and get this message while building a sample program that works perfectly under boost 1.33 (with Ubuntu/32bits box/gcc4). Did I miss some important notice? Here is the nasty message: then follows very similar error messages... <<< I looks as if there is difference between boost release. thanks for a hint. frc -- Francois Mauger Laboratoire de Physique Corpusculaire de Caen et Universite de Caen ENSICAEN - 6, Boulevard du Marechal Juin, 14050 CAEN Cedex, FRANCE e-mail: mauger@lpccaen.in2p3.fr tel.: (0/+33) 2 31 45 25 12 fax: (0/+33) 2 31 45 25 49