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

no matching function for call to 'Adafruit_FONA::Adafruit_FONA(SoftwareSerial*, int)' #13

Open
icaruspony opened this issue Sep 30, 2016 · 10 comments

Comments

@icaruspony
Copy link

I am getting this error:

no matching function for call to 'Adafruit_FONA::Adafruit_FONA(SoftwareSerial*, int)'

Please help.

@samyk
Copy link
Owner

samyk commented Jul 6, 2017

@icaruspony
Copy link
Author

icaruspony commented Jul 6, 2017 via email

@samyk
Copy link
Owner

samyk commented Jul 7, 2017

More details please

@JaspaJami
Copy link

Im getting also error from RF24.

Seems to be a lot of undefined reference errors.

Arduino: 1.8.5 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"
keysweeper_mcu_src.ino:1136: undefined reference to RF24::begin()' keysweeper_mcu_src.ino:810: undefined reference to RF24::setAutoAck(bool)'
keysweeper_mcu_src.ino:811: undefined reference to RF24::setPALevel(rf24_pa_dbm_e)' keysweeper_mcu_src.ino:812: undefined reference to RF24::setDataRate(rf24_datarate_e)'
keysweeper_mcu_src.ino:813: undefined reference to RF24::setPayloadSize(unsigned char)' keysweeper_mcu_src.ino:814: undefined reference to RF24::setChannel(unsigned char)'
keysweeper_mcu_src.ino:820: undefined reference to `RF24::openReadingPipe(unsigned char, unsigned long long)'
.............

@JaspaJami
Copy link

Seems to be somekind of problem when keeping RF24 libary with this code. When i install that as a library seems to work ok, dont know atm whats the problem (i did edit the path in RF24.h for the RF24_config.h)

@samyk
Copy link
Owner

samyk commented Jan 4, 2018

Using https://github.com/maniacbug/RF24 ?

@huskyachao
Copy link

Im getting also error from RF24.

Seems to be a lot of undefined reference errors.

Arduino: 1.8.5 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"
keysweeper_mcu_src.ino:1136: undefined reference to RF24::begin()' keysweeper_mcu_src.ino:810: undefined reference toRF24::setAutoAck(bool)'
keysweeper_mcu_src.ino:811: undefined reference to RF24::setPALevel(rf24_pa_dbm_e)' keysweeper_mcu_src.ino:812: undefined reference toRF24::setDataRate(rf24_datarate_e)'
keysweeper_mcu_src.ino:813: undefined reference to RF24::setPayloadSize(unsigned char)' keysweeper_mcu_src.ino:814: undefined reference toRF24::setChannel(unsigned char)'
keysweeper_mcu_src.ino:820: undefined reference to `RF24::openReadingPipe(unsigned char, unsigned long long)'
.............

Hi~I also meet with the same problem.Have you solved it? I use the Arduino IDE.

@ghost
Copy link

ghost commented Nov 29, 2018

@samyk
Have you had a moment to investigate this issue? I too am trying to replicate this project and am receiving a variety of undefined references all related to RF24 as describe above.

Happy to help with this issue further if I can.

All The Best,

@samyk
Copy link
Owner

samyk commented Nov 29, 2018

Are you using https://github.com/maniacbug/RF24? I believe that was the version used -- unfortunately there are a ton of forks of it and I'm not sure particularly which was the library of the week. I'd suggest just going into the RF24 .h files and moving those functions from private to public.

@ghost
Copy link

ghost commented Nov 30, 2018

I am. I played around with everything and got the code to compile. When I put the RF24.cpp file into the keysweeper_mcu_src directory, the code properly compiled. I didn't see that mentioned anywhere in the write up and I won't pretend to know why that made a difference. Hope that helps.

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

4 participants