Paul Melis | 25 Jul 15:39 2012
Picon
Picon

Boost 1.40.0 still supported?

Hi,

On an Ubuntu 10.04.4 LTS system (x86_64) Blender no longer builds, due
to an error related to boost. Is Boost 1.40.0 not supported anymore?
It's the version of Boost included with 10.04.4 LTS.

...
[ 85%] Building CXX object
intern/cycles/util/CMakeFiles/cycles_util.dir/util_cache.cpp.o
/home/paulmlocal/c/blender-svn/intern/cycles/util/util_cache.cpp: In
member function ‘void ccl::Cache::clear_except(const std::string&, const
std::set<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > >&)’:
/home/paulmlocal/c/blender-svn/intern/cycles/util/util_cache.cpp:118:
error: ‘struct std::basic_string<char, std::char_traits<char>,
std::allocator<char> >’ has no member named ‘string’
make[2]: ***
[intern/cycles/util/CMakeFiles/cycles_util.dir/util_cache.cpp.o] Error 1
make[1]: *** [intern/cycles/util/CMakeFiles/cycles_util.dir/all] Error 2
make: *** [all] Error 2

Looks like this change to use .string() was introduced here:

------------------------------------------------------------------------
r48836 | nazgul | 2012-07-11 16:48:47 +0200 (Wed, 11 Jul 2012) | 8 lines

Patch #32074: Fix compilation with boost 1.50
(Continue reading)

Thomas Dinges | 25 Jul 16:43 2012

Re: Boost 1.40.0 still supported?

Hi,
yes we upgraded to only support Boost filesystem 3.
So please update your Boost version, boost 1.40 is ancient (2009). ;-)

Regards,
Thomas

Am 25.07.2012 15:39, schrieb Paul Melis:
> Hi,
>
> On an Ubuntu 10.04.4 LTS system (x86_64) Blender no longer builds, due
> to an error related to boost. Is Boost 1.40.0 not supported anymore?
> It's the version of Boost included with 10.04.4 LTS.
>
IRIE Shinsuke | 25 Jul 18:46 2012
Picon

Re: Boost 1.40.0 still supported?

Hi,

Build fails on Ubuntu 11.04 (Natty) that Boost version is 1.42.  Also,
the build should fail on Debian stable (Squeeze).

I think these distributions are not so ancient because it was released
only one year ago or is a latest release.

Thomas, can attached patch be applied?  This patch uses filesystem v2
if Boost version is less than 1.44.

--

-- 
IRIE Shinsuke

12/07/25, Thomas Dinges wrote:
> Hi,
> yes we upgraded to only support Boost filesystem 3.
> So please update your Boost version, boost 1.40 is ancient (2009). ;-)
>
> Regards,
> Thomas
>
> Am 25.07.2012 15:39, schrieb Paul Melis:
>> Hi,
>>
>> On an Ubuntu 10.04.4 LTS system (x86_64) Blender no longer builds, due
>> to an error related to boost. Is Boost 1.40.0 not supported anymore?
>> It's the version of Boost included with 10.04.4 LTS.
>>
> _______________________________________________
(Continue reading)

Sergey Sharybin | 25 Jul 22:27 2012
Picon

Re: Boost 1.40.0 still supported?

Hi,

We actually have got precompiled boost libraries in svn, but it could be
issues using
them on really older systems. We've got quite enough CentOS users i.e.

Commited the patch, thanks for it!

On Wed, Jul 25, 2012 at 6:46 PM, IRIE Shinsuke <irieshinsuke <at> yahoo.co.jp>wrote:

> Hi,
>
> Build fails on Ubuntu 11.04 (Natty) that Boost version is 1.42.  Also,
> the build should fail on Debian stable (Squeeze).
>
> I think these distributions are not so ancient because it was released
> only one year ago or is a latest release.
>
> Thomas, can attached patch be applied?  This patch uses filesystem v2
> if Boost version is less than 1.44.
>
> --
> IRIE Shinsuke
>
>
> 12/07/25, Thomas Dinges wrote:
>
>> Hi,
>> yes we upgraded to only support Boost filesystem 3.
>> So please update your Boost version, boost 1.40 is ancient (2009). ;-)
(Continue reading)


Gmane