acquiring libraries

Newby questions here regarding acquiring libraries.
So I have HelloWorld_i2c.ino, a sample program from the Liquid Crystal library.

HelloWorld_i2c.ino has
#include "LiquidCrystal.h"
So I downloaded the complete folder for the file.

But then, the LiquidCrystal.h has:
#include <inttypes.h>
#include "Print.h"

Searching this site and the internet, the only source I could find of Print.h is at Github, but it was just the raw file, "Print.h". I was also able to find "Print.cpp" on another Github page. So I copied the code from both and created "Print.h" and "Print.cpp" files and stuffed them into a "Print" folder.

Is there somewhere I can download a complete folder with those two files plus a "keywords.txt" file and examples?

And then I went to do the same with <inttypes.h>, but I could only find the "inttypes.h" file, I could not find an "inttypes.cpp" file.
Same question.

Thanks, LesB

I using a mac, so this is how I find those files

The libraries folder which includes LiquidCrystal is location at

Machintosh SSD ▸ Applications ▸ Arduino ▸ Contents ▸ Resources ▸ Java

The print.h and print.cpp is located at

Machintosh SSD ▸ Applications ▸ Arduino ▸ Contents ▸ Resources ▸ Java ▸ hardware ▸ arduino ▸ cores ▸ arduino

I found 6 different inttypes files, so wasn't sure how to help you on that one
I hope this helps?

Thanks, I was able to find a trove of libraries, on a PC inside the "arduino.h" folder. It included "Print.h" and "Print.cpp" .

It didn't include a "inttypes.h" file, but I did find the one at Github. A question here would be, is "inttypes.h" good to go without an accompanying "inttypes.cpp" file?

lesizz:
A question here would be, is "inttypes.h" good to go without an accompanying "inttypes.cpp" file?

Yes. In some cases a .h file just defines some constants and doesn't need any executable code.

Thanks for the help so far.

Now that I have these libraries installed, I have run into the following problem:

The Liquid_Crystal.h library in turn lists:

#include <inttypes.h>
#include "Print.h"
#include "Adafruit_MCP23008.h"

I have added those three libraries to the library folder. When I compile the sketch that uses "Liquid_Crystal.h" (HelloWorld_i2c.ino ) I get an error message that "Adafruit_MCP23008.h" does not exist. I have double-checked the spelling of the library file and its folder. I can't figure why this library is not recognized, especially since the other two I installed along with it are presumably recognized.

Here's the error message:

Arduino: 1.0.6 (Windows 7), Board: "Arduino Uno"
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\standard -ID:\My Cubby\Arduino\libraries\Wire -ID:\My Cubby\Arduino\libraries\LiquidCrystal C:\Users\Les_B\AppData\Local\Temp\build9076396422179337879.tmp\HelloWorld_i2c.cpp -o C:\Users\Les_B\AppData\Local\Temp\build9076396422179337879.tmp\HelloWorld_i2c.cpp.o  
In file included from HelloWorld_i2c.ino:19:
D:\My Cubby\Arduino\libraries\LiquidCrystal/LiquidCrystal.h:6:31: error: Adafruit_MCP23008.h: No such file or directory
In file included from HelloWorld_i2c.ino:19:
D:\My Cubby\Arduino\libraries\LiquidCrystal/LiquidCrystal.h:120: error: 'Adafruit_MCP23008' does not name a type

There are many "Liquid Crystal" libraries. You have to use one that supports your LCD hardware. Usually you can find the right library via a pointer in the product description of the product you bought.

What LCD are you using?

I'm using this one because it is visible in daylight.
Also helps that it works on 3.3V and works over an I2C interface: