Problems With ILI9341 Library

Hi,

I have this problem with certain project, that was working fine. But today when I try to upload it shows me this error:

libraries\Adafruit_ILI9341\Adafruit_ILI9341.cpp.o: In function `Adafruit_ILI9341::begin(unsigned long)':

D:\Program Files (x86)\Arduino\portable\sketchbook\libraries\Adafruit_ILI9341/Adafruit_ILI9341.cpp:189: undefined reference to `Adafruit_SPITFT::initSPI(unsigned long, unsigned char)'

collect2.exe: error: ld returned 1 exit status

I tried uninstalling the library and installing it again, but the same error occurs. There is only one ILI9341 library in my computer just the one that im u
folder on my arduino. Any idea of what is happening?

Have you installed the Adafruit_GFX library? It's required by the Adafruit_ILI9341 library. If you did, is it up-to-date?

Yes and yes, everything was working fine I don't know what happened

Have you considered posting the sketch in case anyone else has the same set up or its an error in the programming ?

I am sure you know how to use code tags.

Bob.

Yes and yes, everything was working fine I don't know what happened

Activate verbose output during compilation in the preferences and post the complete output you get. My guess is that the IDE sees multiple versions of some libraries and chooses the wrong ones.