arduino-cli icon indicating copy to clipboard operation
arduino-cli copied to clipboard

Compilation error: No such file or directory

Open 3safiber opened this issue 2 years ago • 2 comments
trafficstars

Describe the problem

I cannot use any library that I download

To reproduce

I downloaded the library ArduinoJson then write the code:

#include <ArduinoJson.h>
void setup() {
}
void loop() {
}

Expected behavior

Screenshot 2023-09-16 190657

Arduino IDE version

2.2.1

Operating system

Windows

Operating system version

11

Additional context

No response

Issue checklist

  • [X] I searched for previous reports in the issue tracker
  • [X] I verified the problem still occurs when using the latest nightly build
  • [X] My report contains all necessary details

3safiber avatar Sep 16 '23 16:09 3safiber

Hi @3safiber. Thanks for your report. I'm going to ask you for some additional information.

Please do this:

  1. Select File > Preferences... from the Arduino IDE menus. The "Preferences" dialog will open.
  2. Copy the full path from the "Sketchbook location" field of the "Preferences" dialog.
  3. Paste the copied path in a comment here on the GitHub issue.

per1234 avatar Sep 16 '23 20:09 per1234

Hi @per1234 , this is the full path : c:\Users\salam\OneDrive\المستندات\Arduino

3safiber avatar Sep 19 '23 09:09 3safiber