B4R Question Understanding Libraries & Folders

iCAB

Well-Known Member
Licensed User
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
  • C:\B4RProjects\B4RAdditionalLibraries

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
Licensed User
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.
 
Upvote 0
Top