Skip to content

Example Sketches for the LARA-R6 are not Compiling #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bboyho opened this issue Jul 8, 2024 · 2 comments
Closed

Example Sketches for the LARA-R6 are not Compiling #2

bboyho opened this issue Jul 8, 2024 · 2 comments

Comments

@bboyho
Copy link
Contributor

bboyho commented Jul 8, 2024

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:

  • Arduino IDE v2.3.2
  • esp32 by Espressif Systems 3.0.1: ESP32 Wrover Module
  • SparkFun u-Blox Cellular Arduino Library v1.0.0
  • LARA-R6 Examples 8.1 to 8.6

Steps to Reproduce

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>)'

Expected Behavior

The code should compile with no errors.

Actual Behavior

It does not compile. =\

@PaulZC
Copy link
Collaborator

PaulZC commented Jul 9, 2024

Thank you @bboyho !

Please update your copy of the cellular library to v1.0.1 - released just now. It includes changes from Jan 11th that were never released... :-}

@PaulZC
Copy link
Collaborator

PaulZC commented Jul 9, 2024

Closing...

@PaulZC PaulZC closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants