Closed Luporosso76 closed 1 year ago
It compiles fine for me.
I would check that you're using the latest version of the libraries directly from GitHub, sometimes the Arduino IDE doesn't pickup version updates.
HI, You are right. I installed the package from github and with that I can compile. Arduino IDE loaded version 5.6.0
A thousand thanks Alessandro
HI, when I compile I have the following error. Can you help me understand the problem? Thank you Alessandro
####################### In file included from /tmp/arduino-sketch-96B8BA06D0DBE4A712B21060E2BF6926/sketch/fifo_spi.ino.cpp:1:0: /home/lupo/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/complex:69:30: error: expected unqualified-id before 'const' template _Tp abs(const complex<_Tp>&);
^
/home/lupo/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/complex:69:30: error: expected ')' before 'const'
/home/lupo/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/complex:69:30: error: expected ')' before 'const'
/home/lupo/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/complex:601:5: error: expected unqualified-id before 'const'
abs(const complex<_Tp>& z) { return complex_abs(__z); }
^
/home/lupo/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/complex:601:5: error: expected ')' before 'const'
/home/lupo/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/complex:601:5: error: expected ')' before 'const'
/home/lupo/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/complex: In static member function 'static _Tp std::_Norm_helper::_S_do_it(const std::complex<_Tp>&)':
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
In file included from /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/Core:50:0, from /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/eigen.h:36, from /home/lupo/Arduino/libraries/Bolder_Flight_Systems_MPU9250/src/mpu9250.h:38, from /tmp/.arduinoIDE-unsaved2023126-411621-4ib43m.yuken/fifo_spi/fifo_spi.ino:26: /home/lupo/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/complex: In function 'std::complex<_Tp> std::__complex_log(const std::complex<_Tp>&)': /home/lupo/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/complex:773:26: error: expected primary-expression before '(' token { return complex<_Tp>(log(std::abs(z)), std::arg(z)); } ^ In file included from /tmp/arduino-sketch-96B8BA06D0DBE4A712B21060E2BF6926/sketch/fifo_spi.ino.cpp:1:0: /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/complex: In function 'std::complex<_Tp> std::__complex_sqrt(const std::complex<_Tp>&)': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/complex: In function '_Tp std::fabs(const std::complex<_Tp>&)': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h: At global scope: /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h:1509:5: error: expected unqualified-id before 'const' abs(const T &x) { ^ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:18: note: in definition of macro 'abs'
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h:1509:5: error: expected ')' before 'const' abs(const T &x) { ^ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:18: note: in definition of macro 'abs'
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h:1509:5: error: expected ')' before 'const' abs(const T &x) { ^ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:18: note: in definition of macro 'abs'
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h:1517:5: error: expected unqualified-id before 'const' abs(const T &x) { ^ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:18: note: in definition of macro 'abs'
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h:1517:5: error: expected ')' before 'const' abs(const T &x) { ^ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:18: note: in definition of macro 'abs'
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h:1517:5: error: expected ')' before 'const' abs(const T &x) { ^ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:18: note: in definition of macro 'abs'
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h: In static member function 'static bool Eigen::internal::scalar_fuzzy_default_impl<Scalar, false, false>::isMuchSmallerThan(const Scalar&, const OtherScalar&, const RealScalar&)': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h:1885:20: note: in expansion of macro 'abs' return numext::abs(x) <= numext::abs(y) * prec; ^~~ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h:1885:38: note: in expansion of macro 'abs' return numext::abs(x) <= numext::abs(y) * prec; ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h: In static member function 'static bool Eigen::internal::scalar_fuzzy_default_impl<Scalar, false, false>::isApprox(const Scalar&, const Scalar&, const RealScalar&)': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h:1890:20: note: in expansion of macro 'abs' return numext::abs(x - y) <= numext::mini(numext::abs(x), numext::abs(y)) * prec; ^~~ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h:1890:55: note: in expansion of macro 'abs' return numext::abs(x - y) <= numext::mini(numext::abs(x), numext::abs(y)) * prec; ^~~ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctions.h:1890:71: note: in expansion of macro 'abs' return numext::abs(x - y) <= numext::mini(numext::abs(x), numext::abs(y)) * prec; ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/GenericPacketMath.h: In function 'Packet Eigen::internal::pabs(const Packet&)': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/GenericPacketMath.h:535:40: note: in expansion of macro 'abs' pabs(const Packet& a) { return numext::abs(a); } ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctionsImpl.h: In function 'std::complex<_Tp> Eigen::internal::complex_sqrt(const std::complex<_Tp>&)': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctionsImpl.h:137:46: note: in expansion of macro 'abs' const T w = numext::sqrt(T(0.5) (numext::abs(x) + numext::hypot(x, y))); ^~~ In file included from /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/Core:173:0, from /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/eigen.h:36, from /home/lupo/Arduino/libraries/Bolder_Flight_Systems_MPU9250/src/mpu9250.h:38, from /tmp/.arduinoIDE-unsaved2023126-411621-4ib43m.yuken/fifo_spi/fifo_spi.ino:26: /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctionsImpl.h:143:24: error: expected primary-expression before '(' token : std::complex(numext::abs(y) / (2 w), y < zero ? -w : w );
^
In file included from /tmp/arduino-sketch-96B8BA06D0DBE4A712B21060E2BF6926/sketch/fifo_spi.ino.cpp:1:0:
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctionsImpl.h:143:33: note: in expansion of macro 'abs' : std::complex(numext::abs(y) / (2 * w), y < zero ? -w : w );
^~~
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctionsImpl.h: In function 'std::complex<_Tp> Eigen::internal::complex_rsqrt(const std::complex<_Tp>&)':
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctionsImpl.h:176:46: note: in expansion of macro 'abs' const T w = numext::sqrt(T(0.5) (numext::abs(x) + abs_z)); ^~~ In file included from /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/Core:173:0, from /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/eigen.h:36, from /home/lupo/Arduino/libraries/Bolder_Flight_Systems_MPU9250/src/mpu9250.h:38, from /tmp/.arduinoIDE-unsaved2023126-411621-4ib43m.yuken/fifo_spi/fifo_spi.ino:26: /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctionsImpl.h:184:24: error: expected primary-expression before '(' token : std::complex(numext::abs(y) / (2 w * abs_z), y < zero ? woz : -woz );
^
In file included from /tmp/arduino-sketch-96B8BA06D0DBE4A712B21060E2BF6926/sketch/fifo_spi.ino.cpp:1:0:
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctionsImpl.h:184:33: note: in expansion of macro 'abs' : std::complex(numext::abs(y) / (2 w abs_z), y < zero ? woz : -woz );
^~~
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctionsImpl.h: In function 'std::complex<_Tp> Eigen::internal::complex_log(const std::complex<_Tp>&)':
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/MathFunctionsImpl.h:190:17: note: in expansion of macro 'abs' T a = numext::abs(z); ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/arch/Default/Half.h: At global scope: /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/arch/Default/Half.h:646:48: error: expected unqualified-id before 'const' EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC half abs(const half& a) { ^ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:18: note: in definition of macro 'abs'
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/arch/Default/Half.h:646:48: error: expected ')' before 'const' EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC half abs(const half& a) { ^ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:18: note: in definition of macro 'abs'
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/arch/Default/Half.h:646:48: error: expected ')' before 'const' EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC half abs(const half& a) { ^ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:18: note: in definition of macro 'abs'
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/arch/Default/BFloat16.h:488:52: error: expected unqualified-id before 'const' EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 abs(const bfloat16& a) { ^ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:18: note: in definition of macro 'abs'
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/arch/Default/BFloat16.h:488:52: error: expected ')' before 'const' EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 abs(const bfloat16& a) { ^ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:18: note: in definition of macro 'abs'
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/arch/Default/BFloat16.h:488:52: error: expected ')' before 'const' EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 abs(const bfloat16& a) { ^ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:18: note: in definition of macro 'abs'
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/UnaryFunctors.h: In member function 'const result_type Eigen::internal::scalar_abs_op::operator()(const Scalar&) const':
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/UnaryFunctors.h:44:111: note: in expansion of macro 'abs' EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const Scalar& a) const { return numext::abs(a); } ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/UnaryFunctors.h: In member function 'const result_type Eigen::internal::abs_knowing_score<Scalar, >::operator()(const Scalar&, const Score&) const':
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/UnaryFunctors.h:76:125: note: in expansion of macro 'abs' EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const Scalar& a, const Score&) const { return numext::abs(a); } ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/UnaryFunctors.h: In member function 'const Scalar Eigen::internal::scalar_sign_op<Scalar, true, is_integer>::operator()(const Scalar&) const': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/UnaryFunctors.h:992:28: note: in expansion of macro 'abs' real_type aa = numext::abs(a); ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/NullaryFunctors.h: In constructor 'Eigen::internal::linspaced_op_impl<Scalar, false>::linspaced_op_impl(const Scalar&, const Scalar&, Eigen::Index)': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/NullaryFunctors.h:49:20: note: in expansion of macro 'abs' m_flip(numext::abs(high)<numext::abs(low)) ^~~ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/NullaryFunctors.h:49:38: note: in expansion of macro 'abs' m_flip(numext::abs(high)<numext::abs(low)) ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/NullaryFunctors.h: In constructor 'Eigen::internal::linspaced_op_impl<Scalar, true>::linspaced_op_impl(const Scalar&, const Scalar&, Eigen::Index)': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/NullaryFunctors.h:96:92: note: in expansion of macro 'abs' m_divisor(convert_index((high>=low?num_steps:-num_steps)+(high-low))/((numext::abs(high-low)+1)==0?1:(numext::abs(high-low)+1))),
^~~
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/NullaryFunctors.h:96:123: note: in expansion of macro 'abs' m_divisor(convert_index((high>=low?num_steps:-num_steps)+(high-low))/((numext::abs(high-low)+1)==0?1:(numext::abs(high-low)+1))),
^~~
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/functors/NullaryFunctors.h:97:43: note: in expansion of macro 'abs' m_use_divisor(num_steps>1 && (numext::abs(high-low)+1)<num_steps) ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/../plugins/ArrayCwiseUnaryOps.h: At global scope: /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:19: error: expected unqualified-id before ')' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/../plugins/ArrayCwiseUnaryOps.h:52:1: note: in expansion of macro 'abs' abs() const ^~~ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:20: error: expected ')' before '>' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/../plugins/ArrayCwiseUnaryOps.h:52:1: note: in expansion of macro 'abs' abs() const ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/StableNorm.h: In member function 'typename Eigen::NumTraits<typename Eigen::internal::traits::Scalar>::Real Eigen::MatrixBase::hypotNorm() const':
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/StableNorm.h:244:20: note: in expansion of macro 'abs' return numext::abs(coeff(0,0)); ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/DiagonalMatrix.h: In member function 'bool Eigen::MatrixBase::isDiagonal(const RealScalar&) const':
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/DiagonalMatrix.h:345:40: note: in expansion of macro 'abs' RealScalar absOnDiagonal = numext::abs(coeff(j,j)); ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/TriangularMatrix.h: In member function 'bool Eigen::MatrixBase::isUpperTriangular(const RealScalar&) const':
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/TriangularMatrix.h:673:37: note: in expansion of macro 'abs' RealScalar absValue = numext::abs(coeff(i,j)); ^~~ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/TriangularMatrix.h:680:18: note: in expansion of macro 'abs' if(numext::abs(coeff(i, j)) > threshold) return false; ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/TriangularMatrix.h: In member function 'bool Eigen::MatrixBase::isLowerTriangular(const RealScalar&) const':
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/TriangularMatrix.h:696:37: note: in expansion of macro 'abs' RealScalar absValue = numext::abs(coeff(i,j)); ^~~ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Core/TriangularMatrix.h:704:18: note: in expansion of macro 'abs' if(numext::abs(coeff(i, j)) > threshold) return false; ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/LU/InverseImpl.h: In static member function 'static void Eigen::internal::compute_inverse_and_det_with_check<MatrixType, ResultType, 3>::run(const MatrixType&, const typename MatrixType::RealScalar&, ResultType&, typename ResultType::Scalar&, bool&)': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/LU/InverseImpl.h:196:33: note: in expansion of macro 'abs' invertible = Eigen::numext::abs(determinant) > absDeterminantThreshold; ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Geometry/Quaternion.h: In member function 'typename Eigen::internal::traits::Scalar Eigen::QuaternionBase::angularDistance(const Eigen::QuaternionBase&) const':
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Geometry/Quaternion.h:768:53: note: in expansion of macro 'abs' return Scalar(2) * atan2( d.vec().norm(), numext::abs(d.w()) ); ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Geometry/Quaternion.h: In member function 'Eigen::Quaternion<typename Eigen::internal::traits::Scalar> Eigen::QuaternionBase::slerp(const Scalar&, const Eigen::QuaternionBase&) const':
/home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Geometry/Quaternion.h:788:25: note: in expansion of macro 'abs' Scalar absD = numext::abs(d); ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Geometry/Hyperplane.h: In member function 'Eigen::Hyperplane<_Scalar, _AmbientDim, Options>::Scalar Eigen::Hyperplane<_Scalar, _AmbientDim, Options>::absDistance(const VectorType&) const': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Geometry/Hyperplane.h:148:91: note: in expansion of macro 'abs' EIGEN_DEVICE_FUNC inline Scalar absDistance(const VectorType& p) const { return numext::abs(signedDistance(p)); } ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Geometry/Hyperplane.h: In member function 'Eigen::Hyperplane<_Scalar, _AmbientDim, Options>::VectorType Eigen::Hyperplane<_Scalar, _AmbientDim, Options>::intersection(const Eigen::Hyperplane<_Scalar, _AmbientDim, Options>&) const': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Geometry/Hyperplane.h:197:20: note: in expansion of macro 'abs' if(numext::abs(coeffs().coeff(1))>numext::abs(coeffs().coeff(0))) ^~~ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Geometry/Hyperplane.h:197:51: note: in expansion of macro 'abs' if(numext::abs(coeffs().coeff(1))>numext::abs(coeffs().coeff(0))) ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h: In function 'Eigen::ComputationInfo Eigen::internal::computeFromTridiagonal_impl(DiagType&, SubDiagType&, Eigen::Index, bool, MatrixType&)': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:520:19: note: in expansion of macro 'abs' if (numext::abs(subdiag[i]) < considerAsZero) { ^~~ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:526:57: note: in expansion of macro 'abs' if (scaled_subdiag * scaled_subdiag <= (numext::abs(diag[i])+numext::abs(diag[i+1]))) { ^~~ /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:526:78: note: in expansion of macro 'abs' if (scaled_subdiag scaled_subdiag <= (numext::abs(diag[i])+numext::abs(diag[i+1]))) { ^~~ /home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h: In function 'void Eigen::internal::tridiagonal_qr_step(RealScalar, RealScalar, Index, Index, Scalar, Index)': /home/lupo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:66:16: error: expected unqualified-id before '(' token
define abs(x) ((x)>0?(x):-(x))
/home/lupo/Arduino/libraries/Bolder_Flight_Systems_Eigen/src/Eigen/src/Eigenvalues/SelfAdjointEigenSolver.h:851:19: note: in expansion of macro 'abs' mu -= numext::abs(e); ^~~
exit status 1
Compilation error: exit status 1 ##################