Error compiling for board Arduino Uno. The system cannot find the file specified

OneDrive; do a search on this forum in the Installation/Troubleshooting section.

There is a setting in onedrive (something like download on demand or so).

Note
Thanks for using code tags in your first post; karma added.