Failed compilation make px4_fmu-v5_default using eigen library

Hi everyone ,I’m trying to compile make px4_fmu-v5_default in order to upload my custom firmware on my pixhawk 4 holybro but i get some errors related to includes.

In particular i added a controller module that uses Eigen, and in simulation everything works and i’m able to compile (I added the library in the lib folder).

Adding my module in the cmake of fmu-v5 i get this error messages

I already tried to clean everything and search for some flags to add but I’m quite new to this kind of stuff.

I’d really appreciate any help.

I think your source code has some error with #include . If that is in your cpp code. try to comment and compiled it again :slight_smile:

Have you resolved this issue?