I need help with linking HX8340B library

I am using 2.2" LCD with HX8340B controller. I downloaded the library from Adafruit, but the header file does not link after uploading the library (the header file name does not change color as it suppose to) I tried to replace the word Adafruit with Arduino in the .cpp and .h files I also tried to copy and paste the .cpp inside the sketch just to make it work. I got no result.
Any suggestions.

FYI, if you expect anyone to be able to help you then you should post the link for the library.
Adafruit has several displays and a search on their website for "2.2 lcd" yields nothing.
Is this the page you are referring to ?

Is this tutorial the right one to wire up your display ?

How about posting the link for the library download page ?

Thank you raschemmel for your suggestion.
The link for the library I downloaded:

I am using 2.2" LCD with HX8340B controller.

Where did you get it ? (link ?) (assuming Adafruit , from you comments)
FYI, when you post here on the forum, you are expected to provide a complete SITREP (milspeak for SITUATION REPORT),
so we don't have to play 20 questions (ie: did you do this ? have you read this ? how is it connected ? etc....)
So question #1.
Where did you get it ?
question #2
What documentation do you have ?
question #3
What communication protocol are you using (SPI , I2C etc...?)
question #4
What code are you using /running ? (post code)
question #5[/u
Do you know how to install libraries ? (It seems, by your answers that this would be a YES.)
Is it a shield (photo on Adafruit page doesn't look like a plug & play shield, so how is it wired to arduino ?)
Do you see how this could turn into "20 questions ?"

This is the screen I am using and the link to where I bought it "iMall"

I installed many libraries before for different applications, but never for LCD screen.

There is an example with in the library to display a bmp file that what I was trying to test the screen with, but the problem is the the header file when I upload the library it suppose to change its color to show it was linked, but it did not.

I use SPI wihch is already included in the .cpp file for the library

I'll try loading the library when I get home.
Where do you look on the screen to see if the header file linked ?
You are talking about the compiler output when you load the file ?
Which IDE version are you using ?
Do you have any other TFT libraries installed ?
Do you have the Breakout ? (Shown on the page below ?)

You saw this right ?

This is a library for the Adafruit 2.2" SPI display.
This library works with the Adafruit 2.2" TFT Breakout w/SD card
----> 2.2 18-bit color TFT LCD display with microSD card breakout [HX8340BN] : ID 797 : Adafruit Industries, Unique & fun DIY electronics and kits

Check out the links above for our tutorials and wiring diagrams.
These displays use SPI to communicate, 3 or 4 pins are required
to interface (RST is optional).

I am using 1.0.5 IDE version
Not the breakout
The only two libraries I am trying to import are
#include <Adafruit_GFX.h>
#include <Adafruit_HX8340B.h>
P.S the only reaction I am getting from the LCD is its backlight is on once I connected it to the Arduino UNO

Do you understand that it says "This library works with the breakout..."
Do you know if that means "ONLY works with the breakout" ?
or
"ALSO works with the breakout ?"
Have you tried sending Adafruit an email ?

I don't see any mention in your post about which uController you are using .
What are you using , an UNO ?
You unzipped the adafruit library to you "libraries" folder and opened the IDE and selected
"File\Examples\hx8340bmp" ?

I found out that the problem is the protocol the library is using is SPI and and protocol the LCD is using is I2C thats why its not working.

so it's working now?

Not yet. I am looking for the proper library.

Why don't you connect it up as SPI ?
It's only 4 wires.
Do you need the breakout bd for that ?
I'm assuming you're familiar with both wiring arrangements ?

So, do you mean I can replace the pins name inside the library then upload it as its SPI?
If you have the breakout bd for that, you will be so kind.

From you reply it would seem you do not understand the wiring differences as they pertain to
SPI and I2C .
They are totally different and as you found out, you have to use the right software for each.
So do you or do you not know how to wire it up as SPI and I2C ?
I am not sure if you have made that clear or if I am misunderstanding you.