No such file or directory

I realise there has been a discussion about this subject already, but I'm having the same problem as previous members. I'm trying to install GRBL onto an Arduino Uno. Ive downloaded the Master from Github and followed the instructions from various video's and Github but am getting the following error message:

/Users/peter/Documents/Arduino/grbl-master/grbl/examples/grblUpload/grblUpload.ino:27:10: fatal error: grbl.h: No such file or directory
#include <grbl.h>
^~~~~~~~
compilation terminated.
exit status 1

Compilation error: grbl.h: No such file or directory

Is there a fix that a a mere mortal can understand as the forum responses from the old topic confused the life out of me. I have no coding experience so be gentle.
Im using a MacBook M3

How did you install the library after you downloaded it?

Please post the full error message by copying it using the convenient button in the IDE

After unzipping to a directory of your choice, copy the grbl directory (screenshot below) to the libraries directory.

After that you can navigate to the examples directory in libraries/grbl and open the grblUpload example [edit]or open the example from the examples menu[/edit].

Hi Thanks for the reply.
I put the GRBL folder into the Mac library and opened grbl/upload from there, it still says:

/Library/grbl/examples/grblUpload/grblUpload.ino:27:10: fatal error: grbl.h: No such file or directory
#include <grbl.h>
^~~~~~~~
compilation terminated.
exit status 1

Compilation error: grbl.h: No such file or directory
Is the screenshot you posted from windows software? It looks completely different to my Mac

No idea about Macs but I think you put it in the wrong directory.

In the IDE, open file / preferences and check the sketchbook directory. Using your file explorer, go to that directory, there should be a libraries directory; the grbl directory must be placed in there.

Perhaps a little terminology confusion here I think? The grbl folder does not go into the Mac Library (the /Library folder in the root of the system disk). Please remove it from there. The Arduino IDE has a specific place to store shared libraries that are used in sketches. In your home folder there should be an Arduino folder and in that folder there should be a 'libraries' folder. In there you should see a list of libraries that you may have downloaded at some point. The extracted grbl directory should go in there.

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