Registered Member
|
Hi,
I have had versions 3.2.4 - 3.2.8 of the Eigen library successfully compiling with an example program on a Linux system (Xubuntu, "Wily Werewolf") using the Arduino/Teensyduino IDE (v1.6.. When I try to swap in version 3.3.1 beta 1, however, a number of errors are generated, e.g. :
(There are others like that, though excluded here). It seems to me that perhaps the 3.3.1 version of the library might require some specific compiler directives that were not needed before. Can anyone tell me if that is correct and if so, what those directives should be? Or, if I am completely off base and someone can point that out (along with a solution), I'd be appreciative. Regards, Matt |
Moderator
|
Either #include Eigen's headers first, or #undef the offending macros like "round" before including Eigen's header (or any c++ header):
#ifdef round #undef round #endif |
Registered Member
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft