When I go to verify or compile any script, an error saying, "The system cannot find the file specified."
Error code when I verify a blank script
I am coding for a robot and began getting this error after installing the "LIDAR-Lite_v3" library. I have uninstalled and reinstalled Arduino and cleared the "C:\Users\Ryano\OneDrive\Documents\Arduino" folder so that the LiDAR library was not in the libraries folder.
There is still an issue after doing this. When I first create a new sketch it verifies. When I save it, then it throws this error. It says that it is having issues compiling to the mega, but if I change the board type it gives exactly the same error with that particular board. This leads me to believe that the board is not the issue.
Also, it is only the sketches in "C:\Users\Ryano\OneDrive\Documents\Arduino" that don't work. Example sketches work just find and finish compiling.
I've looked at other questions concerning this type of issue, but none of them are particular to my case.