Bug#876490: Does not compile with latest openvdb

Matteo F. Vescovi mfv at debian.org
Sat Sep 23 11:42:26 UTC 2017


Control: reopen -1
Control: retitle -1 Blender FTBFS with OpenVDB 4.0.x
Control: tag -1 + upstream

On 2017-09-22 at 20:34 (+0200), Mathieu Malaterre wrote:

[...]

> blender does not compile with upcoming openvdb. It fails with:
>
> /tmp/blender-2.78.c+dfsg0/intern/openvdb/intern/openvdb_writer.cc:48:36:
> error: no matching function for call to
> ‘std::vector<std::shared_ptr<openvdb::v4_0::GridBase>
>>::push_back(openvdb::v4_0::GridBase::ConstPtr)’
>   m_grids->push_back(grid.copyGrid());
>                                     ^
> In file included from /usr/include/c++/6/vector:64:0,
>                  from /usr/include/c++/6/bits/random.h:34,
>                  from /usr/include/c++/6/random:49,
>                  from /usr/include/openvdb/math/Math.h:45,
>                  from /usr/include/openvdb/Types.h:37,
>                  from /usr/include/openvdb/openvdb.h:35,
>                  from
> /tmp/blender-2.78.c+dfsg0/intern/openvdb/intern/openvdb_writer.h:29,
>                  from
> /tmp/blender-2.78.c+dfsg0/intern/openvdb/intern/openvdb_writer.cc:26:
> /usr/include/c++/6/bits/stl_vector.h:914:7: note: candidate: void
> std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp =
> std::shared_ptr<openvdb::v4_0::GridBase>; _Alloc =
> std::allocator<std::shared_ptr<openvdb::v4_0::GridBase> >;
> std::vector<_Tp, _Alloc>::value_type =
> std::shared_ptr<openvdb::v4_0::GridBase>]
>        push_back(const value_type& __x)
>        ^~~~~~~~~

I'll give blender 2.79 a try, even if I'm not sure it would help yet.

Gonna ping upstream anyway for a possible fix.
Thanks for reporting.

Cheers.

-- 
Matteo F. Vescovi || Debian Developer
GnuPG KeyID: 4096R/0x8062398983B2CF7A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 987 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20170923/4a047c5d/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list