And which GCC version is prefered? because boost 1.33 is not fully compatible 
with gcc 4.4.1
 
// Naderan *Mahmood;




________________________________
From: mihai pricopi <[email protected]>
To: Mahmood Naderan <[email protected]>
Sent: Sun, April 18, 2010 6:37:02 PM
Subject: Re: error make all (regarding boost)

You have to use boost 1.33.1. Flexus is compatible with this version.

 http://sourceforge.net/projects/boost/files/boost/1.33.1/



On Sun, Apr 18, 2010 at 3:48 PM, Mahmood Naderan <[email protected]> wrote:

Hi again,
>I supposed that "make install" is done, so I move on to "make all". I am using 
>Boost 1.42.0 which is the latest version but it seems that it is not fully 
>compatible with Flexus 3.0. For example the#include 
><boost/serialization/is_abstract.hpp> is incorrect because that file is now 
>moved so the correct syntax is #include <boost/type_traits/is_abstract.hpp>. I 
>am now stuck at this error:
>
>/home/mahmood/flexus-3.0.0/core/aux_/stats/base.hpp:141: error: expected 
>constructor, destructor, or type conversion before 'namespace'
>/home/mahmood/boost_1_42_0/boost/archive/basic_binary_oarchive.hpp: In member 
>function 'void 
>boost::archive::basic_binary_oarchive<Archive>::save_override(const 
>boost::archive::class_id_type&, int) [with Archive = 
>boost::archive::binary_oarchive]':
>/home/mahmood/boost_1_42_0/boost/archive/binary_oarchive_impl.hpp:51: 
>instantiated from 'void boost::archive::binary_oarchive_impl<Archive, Elem, 
>Tr>::save_override(T&, int) [with T = const boost::archive::class_id_type, 
>Archive = boost::archive::binary_oarchive, Elem = char, Tr = 
>std::char_traits<char>]'
>
>part of the code at that line is:
>BOOST_IS_ABSTRACT(Flexus::Stat::aux_::StatValueArrayBase)
>
>
>namespace boost {   // line 141: error
>namespace serialization {
>  template<class Archive>
>  inline void serialize( Archive & ar, 
>::boost::intrusive_ptr<Flexus::Stat::aux_::StatValueBase> const & t, const 
>unsigned int file_version ){
>      split_free(ar, t, file_version);
>  }
>  template<class Archive>
>  inline void serialize( Archive & ar, 
>::boost::intrusive_ptr<Flexus::Stat::aux_::StatValueArrayBase> const & t, 
>const unsigned int file_version ){
>      split_free(ar, t, file_version);
>  }
>}
>} 
>
> 
>Any idea is appreciated...
>
>// Naderan *Mahmood;
>
>
>



      

Reply via email to