You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.