RE: [eigen] Compiling errors in Nuttx environment

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi there,

Update: This was a macros problem, so adding #undef to one of headers on the project that calls Eigen Core solved the first problem. But I'm still getting http://pastebin.com/bnxwa5uk.

Thanks! Best regards,

---
Nuno Marques
Tenente Aluno de Transmissões (Eng)

+351 912 090 991
Azambuja | Portugal

As the creation appears, the path is driven in the conscious feeling of madness and happiness, which returns, in multiple ways, to what we achieve in greatness...

Follow me in:
   

This message and any files herewith attached may contain confidential or privileged information and is intended solely for the use of the entity to which it is addressed. If you receive this message in error, please notify the sender immediately and delete this message and any files attached without copying them in any way.



From: n.marques21@xxxxxxxxxxx
To: eigen@xxxxxxxxxxxxxxxxxxx
Subject: [eigen] Compiling errors in Nuttx environment
Date: Fri, 14 Aug 2015 14:11:48 +0100

Hello all and thank you for accepting me in the mailing-list.

I have some issues that I would like to be resolved. I'm using the latest 3.2.90 version of Eigen in a Autopilot project called PX4, which uses a Nuttx RTOS in an ARM-based uC. Compiling one of the available builds, which uses an Eigen testing code, I get the following error: http://pastebin.com/7cb2rLsW.

Somehow it seems that there is some kind of incompatibility between the macros on NEWLIB and Eigen. I also suspect that numext:: may causing a conflict, because if I remove this before, for example, isfinite(), is able to get through. But then, another problem appears: http://pastebin.com/bnxwa5uk. For this one, I can't seem to find the solution.

The compilation toolchain and flag config is as the following: http://pastebin.com/nUJK2aQB.

Thanks in advance!

Best regards,

---
Nuno Marques
Tenente Aluno de Transmissões (Eng)

+351 912 090 991
Azambuja | Portugal

As the creation appears, the path is driven in the conscious feeling of madness and happiness, which returns, in multiple ways, to what we achieve in greatness...

Follow me in:
   

This message and any files herewith attached may contain confidential or privileged information and is intended solely for the use of the entity to which it is addressed. If you receive this message in error, please notify the sender immediately and delete this message and any files attached without copying them in any way.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/