Skip to content

Eigen::all Eigen::placeholders::all Eigen::indexing::all not available in example project #38

@paul0noah

Description

@paul0noah

Hi,

I wanted to update my old codebase so it works with new libigl buildsystem. My code uses Eigen::all almost in every function but when compiling i get the error:
no member named 'all' in namespace 'Eigen'

As a first debugging step I downloaded the libigl example project and built it (which worked fine). After that I added the following line of code after this line of to the main function of libigl example project:

std::cout << F(Eigen::all, 0) << std::endl;

With this line added i get the same error:

error: no member named 'all' in namespace 'Eigen'
    std::cout << F(Eigen::all, 1) << std::endl;
                   ~~~~~~~^

I found online several posts that say that Eigen::all changed to Eigen::placeholders::all or even Eigen::indexing::all. All of them i tried but the error still exists.

The eigen documnetation still suggests using all (see here) so i guess the error somehow is in the build system.

Thanks a lot for help in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions