Bug#876490: Does not compile with latest openvdb

Mathieu Malaterre malat at debian.org
Fri Sep 22 18:34:50 UTC 2017


Package: blender
Version: 2.78.a+dfsg0-4
Severity: important

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)
       ^~~~~~~~~



More information about the pkg-multimedia-maintainers mailing list