Hello, im trying to add grbl as a library in IDE and it is giving me complications. I am following the instructions that i am seeing everywhere:
1)Download the zip file from github.
2)Unzip the zip file
3) Open IDE and add a library via Sketch/Include Library/Add .Zip Library
4) Then i go to my documents folder(where i have the unzipped folder) and then open grbl_mstr, following that i then click on the grbl folder, press open, and it litterally opens the folder instead of adding it.
Does anyone have a solution to this or has dealt with this already?
Im going to leave this thread here for anyone that needs it. I resorted to downloading the legacy edition instead of using the new 2.0 version of IDE. This immediately fixed the problem. I would still like to use 2.0 however if anyone know a way to fix it on the newer version.
The lack of support for using "Add .ZIP Library" to install libraries from folders in addition to ZIP files as you can in Arduino IDE 1.x is a known deficiency in Arduino IDE 2.x:
The subject was discussed with the Arduino IDE 2.x development team some time back and unfortunately due to technical limitations it is not possible to emulate the behavior of the Arduino IDE 1.x "Add .ZIP Library" feature in this respect. So in Arduino IDE 2.x "Add .ZIP Library" can only be used with ZIP files.
I saw that the official Grbl installation instructions relied on this capability. I have added Arduino IDE 2.x-specific instructions to their documentation to prevent others from experiencing the same problem:
Since you have already installed the Grbl library using Arduino IDE 1.x, you can simply go back to using Arduino IDE 2.x without any need to install the library again.
Please let me know if you encounter any problems.
The problem is that the Grbl library is in a subfolder of the repository:
The "Add .ZIP Library" feature (in all IDE versions) requires that the library be in the root folder of the ZIP archive. If it is not, the installation fails with an error something like:
Error: Request installZip failed with message: 13 INTERNAL: Library install failed: library not valid
Unzipping the file and then using "Add .ZIP Library" to install the library from the subfolder of the unzipped folder was the workaround for that situation.
Thanks for that. I have GRBL installed but can't remember how I did that. For me, if one way does not work, I install manually without even thinking about it.
Hi @teory. Please carefully follow the instructions that are provided here:
If there is anything in the instructions you don't understand, or if you have any problems while following them, then provide a detailed description of the dilemma in a reply here and we'll provide assistance.