Arduino outputs this message when trying to compile:
C:\Users\...\Documents\GitHub\SparkFun_RTK_EVK\Example_Sketches\8_1_LARA_UART_Test\8_1_LARA_UART_Test.ino: In constructor 'LARA_R6_Derived::LARA_R6_Derived()':
C:\Users\...\Documents\GitHub\SparkFun_RTK_EVK\Example_Sketches\8_1_LARA_UART_Test\8_1_LARA_UART_Test.ino:64:60: error: no matching function for call to 'SparkFun_ublox_LARA_R6001D::SparkFun_ublox_LARA_R6001D(<brace-enclosed initializer list>)'
64 | LARA_R6_Derived() : SparkFun_ublox_LARA_R6001D{LARA_PWR}{} // Pass the LARA_PWR pin into the class so the library can powerOn / powerOff
| ^
In file included from c:\Users\...\Documents\Arduino\libraries\SparkFun_u-blox_Cellular_Arduino_Library\src/SparkFun_u-blox_Cellular_Arduino_Library.h:1,
from C:\Users\...\Documents\GitHub\SparkFun_RTK_EVK\Example_Sketches\8_1_LARA_UART_Test\8_1_LARA_UART_Test.ino:58:
c:\Users\...\Documents\Arduino\libraries\SparkFun_u-blox_Cellular_Arduino_Library\src/sfe_lara_r6.h:16:7: note: candidate: 'SparkFun_ublox_LARA_R6001D::SparkFun_ublox_LARA_R6001D()'
16 | class SparkFun_ublox_LARA_R6001D : public SparkFun_ublox_LARA_R6
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\...\Documents\Arduino\libraries\SparkFun_u-blox_Cellular_Arduino_Library\src/sfe_lara_r6.h:16:7: note: candidate expects 0 arguments, 1 provided
c:\Users\...\Documents\Arduino\libraries\SparkFun_u-blox_Cellular_Arduino_Library\src/sfe_lara_r6.h:16:7: note: candidate: 'SparkFun_ublox_LARA_R6001D::SparkFun_ublox_LARA_R6001D(const SparkFun_ublox_LARA_R6001D&)'
c:\Users\...\Documents\Arduino\libraries\SparkFun_u-blox_Cellular_Arduino_Library\src/sfe_lara_r6.h:16:7: note: no known conversion for argument 1 from 'const int' to 'const SparkFun_ublox_LARA_R6001D&'
c:\Users\...\Documents\Arduino\libraries\SparkFun_u-blox_Cellular_Arduino_Library\src/sfe_lara_r6.h:16:7: note: candidate: 'SparkFun_ublox_LARA_R6001D::SparkFun_ublox_LARA_R6001D(SparkFun_ublox_LARA_R6001D&&)'
c:\Users\...\Documents\Arduino\libraries\SparkFun_u-blox_Cellular_Arduino_Library\src/sfe_lara_r6.h:16:7: note: no known conversion for argument 1 from 'const int' to 'SparkFun_ublox_LARA_R6001D&&'
exit status 1
Compilation error: no matching function for call to 'SparkFun_ublox_LARA_R6001D::SparkFun_ublox_LARA_R6001D(<brace-enclosed initializer list>)'
Subject of the Issue
LARA-R6 examples in this repo do not seem to compile. This is more of a lower priority. =)
Your Workbench
I was trying to compile the example skteches for the LARA-R6 using the following:
Steps to Reproduce
Arduino outputs this message when trying to compile:
Expected Behavior
The code should compile with no errors.
Actual Behavior
It does not compile. =\