Skip to content

pcl_surface occur build error with certain Eigen versions #1496

Closed
@UnaNancyOwen

Description

@UnaNancyOwen

Build pcl_surface

PCL(pcl_surface) can't build with certain version of Eigen in Visual Studio.
These combination is follows Visual Studio versions and Eigen versions.

PCL(pcl_surface) master/HEAD e97b664

Visual Studio 2013 Update5 Visual Studio 2015 Update1
Eigen 3.2.6 success failure
Eigen 3.2.7 success failure
Eigen 3.3.0 beta1 failure success
Eigen 3.3.0 dev branch/HEAD (e97b664) failure success

[Error] Visual Studio 2015 Update1 + Eigen 3.2.7

c:\program files\eigen\include\eigen3\eigen\src\core\products\generalmatrixmatrix.h(62): fatal error C1001: INTERNAL COMPILER ERROR
c:\program files\eigen\include\eigen3\eigen\src\core\products\generalmatrixmatrix.h(62): fatal error C1001: INTERNAL COMPILER ERROR
cl : Command line error D8040: error creating or communicating with child process.

This error that caused in Eigen.
You can be solved by version up to Eigen 3.3.0.
This case is no problem.

[Error] Visual Studio 2013 Update5 + Eigen 3.3.0 beta1

error C2664: 'Eigen::aligned_allocator<U>::aligned_allocator(const Eigen::aligned_allocator<U> &)' : cannot convert parameter 1 from  'std::allocator<T>' to 'const Eigen::aligned_allocator<U> &'  C:\Program Files\Boost\include\boost-1_59\boost\unordered\detail\allocate.hpp   489
error C2664: 'Eigen::aligned_allocator<U>::aligned_allocator(const Eigen::aligned_allocator<U> &)' : cannot convert parameter 1 from 'std::allocator<T>' to 'const Eigen::aligned_allocator<U> &'   C:\Program Files\Boost\include\boost-1_59\boost\unordered\detail\allocate.hpp   489
error C2664: 'Eigen::aligned_allocator<U>::aligned_allocator(const Eigen::aligned_allocator<U> &)' : cannot convert parameter 1 from 'std::allocator<T>' to 'const Eigen::aligned_allocator<U> &'   C:\Program Files\Boost\include\boost-1_59\boost\unordered\detail\allocate.hpp   489

Maybe, I think this error that caused in PCL.
I don’t know the cause of error in this environment (PCL master/HEAD + Eigen 3.3.0 + Visual Studio 2013).

Do you have any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions