Re: [eigen] pathCC and Eigen

[ Thread Index | Date Index | More Archives ]

Thanks Gael! :) That was fast. You guys rock.

Is it already in trunk? I can give it a try in a few hours.

Point Cloud Library (PCL) -

On 06/13/2011 11:47 PM, Gael Guennebaud wrote:

indeed, the interface of the allocate function should be:

pointer allocate(size_type num, const void* hint = 0),

so basically, const void* instead of const_pointer*.

I'm committing the fix.


On Tue, Jun 14, 2011 at 2:34 AM, Radu B. Rusu<rusu@xxxxxxxxxxxxxxxx>  wrote:
Hi all,

I'm trying to get our project (PCL) to compile with pathCC, and ran into an
eigen allocator issue. Has anyone seen this in the past, or has any idea how
to solve it? Thanks

/work/local/opt/ekopath-4.0.10/include/4.0.10/stl/vector.ipp:85: error: no
matching function for call to 'std::vector<Foo,
::_C_VectorAlloc::allocate(size_t&, std::vector<Foo,
Eigen::aligned_allocator_indirection<Foo>  >* const)'
/usr/include/eigen3/Eigen/src/Core/util/Memory.h:618: note: candidates are:
T* Eigen::aligned_allocator<T>::allocate(size_t, const T**) [with T = Foo]

The structure basically looks like:

std::vector<Foo, Eigen::aligned_allocator<Foo>  >  Bar;

Point Cloud Library (PCL) -

Mail converted by MHonArc 2.6.19+