Skip to content
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

build failure with new updated lib #5

Closed
RichNeese opened this issue Feb 14, 2018 · 0 comments
Closed

build failure with new updated lib #5

RichNeese opened this issue Feb 14, 2018 · 0 comments

Comments

@RichNeese
Copy link

Arduino: 1.8.5 (Windows 10), TD: 1.40, Board: "Arduino Nano, ATmega328P"

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino: In function 'void calibrate()':

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:267:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

   printLine2("Calibrated    ");

                              ^

bitx40:273: error: no matching function for call to 'Si5351::set_correction(int32_t&)'

   si5351.set_correction(cal);

                            ^

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:273:32: note: candidate is:

In file included from C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:38:0:

C:\Users\kb3vgw\Documents\Arduino\libraries\Si5351Arduino-master\src/si5351.h:292:7: note: void Si5351::set_correction(int32_t, si5351_pll_input)

void set_correction(int32_t, enum si5351_pll_input);

   ^

C:\Users\kb3vgw\Documents\Arduino\libraries\Si5351Arduino-master\src/si5351.h:292:7: note: candidate expects 2 arguments, 1 provided

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino: In function 'void checkButton()':

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:466:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

 printLine2("VFOs reset!");

                         ^

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino: In function 'void setup()':

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:561:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

printLine1("Raduino v1.01");

                         ^

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:562:29: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

printLine2(" ");

                         ^

bitx40:590: error: no matching function for call to 'Si5351::set_correction(int32_t&)'

si5351.set_correction(cal);

                        ^

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:590:28: note: candidate is:

In file included from C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:38:0:

C:\Users\kb3vgw\Documents\Arduino\libraries\Si5351Arduino-master\src/si5351.h:292:7: note: void Si5351::set_correction(int32_t, si5351_pll_input)

void set_correction(int32_t, enum si5351_pll_input);

   ^

C:\Users\kb3vgw\Documents\Arduino\libraries\Si5351Arduino-master\src/si5351.h:292:7: note: candidate expects 2 arguments, 1 provided

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino: In function 'void loop()':

bitx40:615: error: no matching function for call to 'Si5351::set_correction(int)'

 si5351.set_correction(0);

                        ^

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:615:28: note: candidate is:

In file included from C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:38:0:

C:\Users\kb3vgw\Documents\Arduino\libraries\Si5351Arduino-master\src/si5351.h:292:7: note: void Si5351::set_correction(int32_t, si5351_pll_input)

void set_correction(int32_t, enum si5351_pll_input);

   ^

C:\Users\kb3vgw\Documents\Arduino\libraries\Si5351Arduino-master\src/si5351.h:292:7: note: candidate expects 2 arguments, 1 provided

C:\Users\kb3vgw\Documents\Arduino\bitx40\bitx40.ino:616:33: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

 printLine2("Calibration... ");

                             ^

Multiple libraries were found for "si5351.h"
Used: C:\Users\kb3vgw\Documents\Arduino\libraries\Si5351Arduino-master
Not used: C:\Users\kb3vgw\Documents\Arduino\libraries\Etherkit_Si5351
exit status 1
no matching function for call to 'Si5351::set_correction(int32_t&)'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

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

1 participant