Home › Forums › EasyTransfer Library Support Forum › "no matching function for call to begin()" trying to compile the samples › Reply To: "no matching function for call to begin()" trying to compile the samples
Thank you Michael for continuing to try to get this working. I’ve downloaded and installed your fork. Indeed it compiles on the Leonardo profile. However, I still have troubles compiling it for my Teensy. It’s different now though:
In file included from EasyTransfer_RX_Example.pde:1:
C:\Program Files\Arduino\libraries\EasyTransfer/EasyTransfer.h:50: error: ‘Serial_’ has not been declared
C:\Program Files\Arduino\libraries\EasyTransfer/EasyTransfer.h:62: error: ISO C++ forbids declaration of ‘Serial_’ with no type
C:\Program Files\Arduino\libraries\EasyTransfer/EasyTransfer.h:62: error: expected ‘;’ before ‘*’ token
EasyTransfer_RX_Example.pde: In function ‘void setup()’:
EasyTransfer_RX_Example:19: error: no matching function for call to ‘EasyTransfer::begin(byte*, unsigned int, usb_serial_class*)’
C:\Program Files\Arduino\libraries\EasyTransfer/EasyTransfer.h:50: note: candidates are: void EasyTransfer::begin(uint8_t*, uint8_t, int*)
I thought I’d try a couple things. I verified that my hardware profile for the teensy indicates an mcu of “atmega32u4”, it did. I also took out the ifndef’s so that it only selected the __atmega32u4__ calls, still no dice.
Does the error message mean that the sample sketch is not passing in the Serial reference to the easytransfer.h?