Hello friends.
I am starting to learn CNC issues. I have an Arduino Uno, arduino IDE 2.0.4 for 64 bit Windows. The IDE environment doesn't want to take grbl.zip and keeps saying "Compilation error: grbl.h: No such file or directory".
I already uninstalled it and installed it again. Still the same problem, but a different library, e.g. for ESP 8266 or servo takes normally. Thanks for advice.
Remove the shield from the Arduino UNO.
This topic is also covered in a few places within this section so you could also look up GRBL with the forums own search.
I have not tried it with the latest IDE but I know for sure it works with the legacy IDE 1.8.x
Also which version of GRBL and please mention if it is an offshoot eg 32 bit GRBL or ESP GRBL.
A link to your source would be of benefit.
You might have to strip any extra folders off the library especially if it has the word MASTER in it.
GRBL is loaded GitHub - grbl/grbl: An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino, For Arduino UNO.
I'm using a 64-bit computer, the IDE for it is 2.0.4. GRBL is from Github's grbl site, the latest out there. Now I tried to google "GRBL 64 bit" and it shows something, but I have to study. Well thank you
I used Grbl.h, compiled and downloaded it...
Ok that is a decent source.
32bit refers to the GRBL library and is nothing to do with your actual computer !
It is meant for boards other than the regular Arduinos.
Going to try IDE 2.0.4 here to do an upload to a UNO in a short while.
Will report back.
Download GitHub - gnea/grbl: An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino (or GitHub - gnea/grbl-Mega: An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560) as a .zip file using the green "Code v" button and selecting "Download ZIP"
Unpack the "grbl-master.zip" file.
Copy the 'grbl' folder (from the expanded grbl-master folder) into the 'libraries' folder of your sketchbook folder.
Select Tools -> Manage Libraries... to re-scan the libraries folder.
Close the Library Manager dialog.
Select your Arduino UNO bord (or Arduino MEGA 2560 board) and the corresponding serial port.
Select File -> Examples -> grbl -> grblUpload.
Upload that 'example' to your Arduino and that should install grbl.
Confirmed working with 2.0.4 here and GRBL 1.1F
Johnwasser, thanks for your tutorial, I have it and grbl works. I can study CNC further. Meanwhile, my Arduino IDE has been uploaded from version 2.04 to version 2.1.
Thanks to everyone who helped me.
A post was split to a new topic: Fatal error: grbl.h: No such file or directory
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.