This was already mentioned in one of the posts last week, someone else had compiling issues, the solution was going back to an earlier library i think. Maybe try the search on the forum?
Get
On Fri, Jan 20, 2017 at 10:30 AM -0500, "KC8WBK via Groups.Io"
<cruisenewsnet@...> wrote:
toggle quoted message
Show quoted text
Are these the correct sources for the most recent Raduino sketch for the Bitx40 and for the Si5351 library?
https://github.com/afarhan/bitx40
https://github.com/etherkit/Si5351Arduino
I noticed that there are a number of forks of the Si5351 library and it might explain the following errors when trying to verify raduino.ino:
raduino.ino: In function ¡®void calibrate()¡¯:
raduino.ino:281:91: error: no matching function for call to ¡®Si5351::set_freq(long long int, long long unsigned int, si5351_clock)¡¯
raduino.ino:281:91: note: candidate is:
In file included from raduino.ino:38:0:
/home/paul/sketchbook/libraries/Si5351/si5351.h:285:10: note: uint8_t Si5351::set_freq(uint64_t, si5351_clock)
? uint8_t set_freq(uint64_t, enum si5351_clock);
????????? ^
/home/paul/sketchbook/libraries/Si5351/si5351.h:285:10: note:?? candidate expects 2 arguments, 3 provided
raduino.ino: In function ¡®void setFrequency(long unsigned int)¡¯:
raduino.ino:312:75: error: no matching function for call to ¡®Si5351::set_freq(long long unsigned int, long long unsigned int, si5351_clock)¡¯
raduino.ino:312:75: note: candidate is:
In file included from raduino.ino:38:0:
/home/paul/sketchbook/libraries/Si5351/si5351.h:285:10: note: uint8_t Si5351::set_freq(uint64_t, si5351_clock)
? uint8_t set_freq(uint64_t, enum si5351_clock);
????????? ^
/home/paul/sketchbook/libraries/Si5351/si5351.h:285:10: note:?? candidate expects 2 arguments, 3 provided
raduino.ino:315:75: error: no matching function for call to ¡®Si5351::set_freq(long long unsigned int, long long unsigned int, si5351_clock)¡¯
raduino.ino:315:75: note: candidate is:
In file included from raduino.ino:38:0:
/home/paul/sketchbook/libraries/Si5351/si5351.h:285:10: note: uint8_t Si5351::set_freq(uint64_t, si5351_clock)
? uint8_t set_freq(uint64_t, enum si5351_clock);
????????? ^
/home/paul/sketchbook/libraries/Si5351/si5351.h:285:10: note:?? candidate expects 2 arguments, 3 provided
raduino.ino: In function ¡®void setup()¡¯:
raduino.ino:589:48: error: no matching function for call to ¡®Si5351::init(int, long int)¡¯
raduino.ino:589:48: note: candidate is:
In file included from raduino.ino:38:0:
/home/paul/sketchbook/libraries/Si5351/si5351.h:283:7: note: void Si5351::init(uint8_t, uint32_t, int32_t)
? void init(uint8_t, uint32_t, int32_t);
?????? ^
/home/paul/sketchbook/libraries/Si5351/si5351.h:283:7: note:?? candidate expects 3 arguments, 2 provided
raduino.ino:601:62: error: no matching function for call to ¡®Si5351::set_freq(long int, long long unsigned int, si5351_clock)¡¯
raduino.ino:601:62: note: candidate is:
In file included from raduino.ino:38:0:
/home/paul/sketchbook/libraries/Si5351/si5351.h:285:10: note: uint8_t Si5351::set_freq(uint64_t, si5351_clock)
? uint8_t set_freq(uint64_t, enum si5351_clock);
????????? ^
/home/paul/sketchbook/libraries/Si5351/si5351.h:285:10: note:?? candidate expects 2 arguments, 3 provided