# B4R QuestionUnderstanding Libraries & Folders

#### iCAB

##### Well-Known Member
Longtime User
Hi All

So we do have the following library folders:

• C:\Program Files (x86)\Arduino\libraries
• C:\Users\iCAB\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\libraries
• C:\Users\iCAB\Documents\Arduino\libraries
• C:\Program Files (x86)\Anywhere Software\B4R\Libraries

1. Can someone clarify the priority order for the above listed

2. How do B4R libraries get included, are they copied to any of the Arduino folders at all?

3. In rESP32Bluetooth, I see one .cpp file and one .h, while in rAdafruitGFX I see 2 .cpp files and 2.files, Why and how are they supposed to be used?

4. When adding B4R libraries to the AdditionalLibraries folder do we have to add any files to any of the Arduino folders?

Thanks
iCAB

#### Erel

##### B4X founder
Staff member
Longtime User
B4R has two libraries folders:
Internal folder - C:\Program Files (x86)\Anywhere Software\B4R\Libraries
Additional folder - set under Tools - Configure Paths.

The internal folder has higher priority.

In rESP32Bluetooth, I see one .cpp file and one .h, while in rAdafruitGFX I see 2 .cpp files and 2.files, Why and how are they supposed to be used?
You just need to copy the xml file and the library folder.

When adding B4R libraries to the AdditionalLibraries folder do we have to add any files to any of the Arduino folders?
Only if the library installation instructions say so. In most cases no.

Replies
7
Views
483
Replies
14
Views
7K
Replies
2
Views
1K
Replies
1
Views
9K
Replies
13
Views
12K