Arduino Forum

Products => Arduino Due => Topic started by: Field88 on Jan 17, 2014, 12:55 pm

Title: Arduino DUE + 3.2" TFT LCD no matching function for call to 'Adafruit_GFX
Post by: Field88 on Jan 17, 2014, 12:55 pm
I've downloaded all these 3 files (http://www.elechouse.com/elechouse/index.php?main_page=product_info&products_id=2217) and put them in my library like I should. I also have the newest Arduino Programming Software 1.5.5.
But when I load the example(tft_hx8352_grapics) and want to download it to my Arduino DUE, these Errors were shown.
 
Arduino: 1.5.5-r2 (Windows 7), Board: "Arduino Due (Programming Port)"
\libraries\tft_shield_master\tftlib.cpp: In constructor 'TFTLCD::TFTLCD()':
\libraries\tft_shield_master\tftlib.cpp:8: error: no matching function for call to 'Adafruit_GFX::Adafruit_GFX()'
\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:17: note: candidates are: Adafruit_GFX::Adafruit_GFX(int16_t, int16_t)
\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13: note:  Adafruit_GFX::Adafruit_GFX(const Adafruit_GFX&)
\libraries\tft_shield_master\tftlib.cpp: In member function 'void TFTLCD::begin()':
\libraries\tft_shield_master\tftlib.cpp:40: error: 'constructor' was not declared in this scope

Maybe someone else had this problem also once, or know what to do and can help me?
Thank you very much!
Title: Re: Arduino DUE + 3.2" TFT LCD no matching function for call to 'Adafruit_GFX
Post by: MarkT on Jan 17, 2014, 01:15 pm
Not surprising really as someone's removed the constructor.
Title: Re: Arduino DUE + 3.2" TFT LCD no matching function for call to 'Adafruit_GFX
Post by: Field88 on Jan 17, 2014, 01:23 pm

Not surprising really as someone's removed the constructor.


Sorry I'm a newbie, what does that mean or better: how can I solve this problem?

Thank you!