autowarefoundation / autoware_ai

Apache License 2.0
27 stars 11 forks source link

Autoware 1.14.0 build error: ‘Index’ in namespace ‘Eigen’ does not name a type #789

Closed LongruiDong closed 3 years ago

LongruiDong commented 3 years ago

I follow autoware wiki to build autoware 1.14.0 step by step, when I begin to build (without CUDA), error occurs:

error: ‘Index’ in namespace ‘Eigen’ does not name a type   return state_(static_cast<Eigen::Index>(IDX::X));

my environment: ubuntu 18.04 ros Melodic ,Eigen 3.2.10

and here is my error log from terminal

So how can I solve this error? I also posted this question on ros.org

Thanks in advance!

LongruiDong commented 3 years ago

Ok, It is because the version of Eigen is old, I downgrade autoware to 1.12.0 and update Eigen to 3.3.7, and then build successfully.