Ask for the error when I use Eigen Library

Dear All,

I am using Eigen Library in here:
https://github.com/bolderflight/Eigen

I downloaded an added this library in folder C:\Program Files (x86)\Arduino\libraries. After that I run the example eigenTest.ino. But it has some errors as below:

In file included from C:\Program Files (x86)\Arduino\libraries\Eigen-master/Eigen.h:61:0,

from C:\Program Files (x86)\Arduino\libraries\Eigen-master\examples\eigenTest\eigenTest.ino:5:

C:\Program Files (x86)\Arduino\libraries\Eigen-master/Eigen/Core:96:19: fatal error: complex: No such file or directory

#include

^

compilation terminated.

Could you help me?? How to import Eigen Library? I am running on Win 10 64 bit.

Thank you so much for your help!

Best Regards,

Which board do you have selected in the Tools > Board menu?

Hi Pert,

I used Arduino/Genuino Uno with board information: VID: 1A86, PID: 7523. Could you help me?

Many thanks.

From the readme:

This library is known to work with Teensy 3.x, Teensy LC, and STM32L4 Ladybug devices.

The file named complex is part of the Standard Template Library (STL). That is not installed for the Arduino AVR Boards (e.g. Uno) by default due to their limited resources. You can install a 3rd party library that provides the STL. There are a couple options and I haven't used any of them. Here's one: