No such file or directory but I already had this file

I downloaded a project online and tried to run it, but I got an error message which is :
Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Uno"

simpleMovements:1:10: fatal error: Braccio++.h: No such file or directory

compilation terminated.

exit status 1

Braccio.h: No such file or directory

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

However, I already had this file in my libraries.

Then what can I do to fix this error?

Thank you!!!

what do you have in that folder if you go look into your hard drive (Library folder)

That's all I have in this folder

OK sounds pretty OK. if you open one of their examples, does it compile?

EDIT: hold on, the compiler complains about Braccio++.h ➜ is that another library?

➜ post the full error

@alex_wu do not post in the installation and troubleshooting section about YOUR project.
Moved it here.

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Uno"

simpleMovements:13:10: fatal error: Braccio.h: No such file or directory

Multiple libraries were found for "Braccio.h"

compilation terminated.

Used: C:\Users\Yunchen Wu\OneDrive\文档\Arduino\libraries\Braccio

Not used: C:\Users\Yunchen Wu\OneDrive\文档\Arduino\libraries\arduino-library-braccio-master

exit status 1

Braccio.h: No such file or directory

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I run it again and the error message is shown here.

so you have multiple libraries. I'd suggest you get rid of all of them and only install the one you want

You have to dig a little deeper; what is in the src folder?

Okay, I will try that and see what happens, thank you!

Unfortunately, the Arduino IDE does not correctly support paths with characters like 文档. This is the cause of the errors you have been getting.

As a workaround to the bug in the Arduino IDE, please do this:

  1. Select File > Preferences from the Arduino IDE menus.
  2. Set the "Sketchbook location" preference to a path that contains only ASCII characters.
  3. Click the OK button.

Now try compiling your sketch again.


Unrelated to the error you had, but FYI, the "Arduino_Braccio_plusplus" library was written for use with the Arduino Nano RP2040 Connect board. I don't think you'll have any chance of using that library with an Arduino Uno board.

I think the original Braccio library should be usable with the Uno though.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.