Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic VS2022 'Install a library from a zip' does not load examples (Read 998 times)
Lee Critchlow
Junior Member
**
Offline


Posts: 18
Location: TN
Joined: Jul 19th, 2022
VS2022 'Install a library from a zip' does not load examples
Aug 10th, 2022 at 12:33pm
Print Post  
Installing grbl-Mega-edge.zip using the 'Install a library from a zip' in Micro Explorer loads the library but does not populate the the examples into the Library Examples. Therefore, I cannot create a Project directly from grbl examples. Cry
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2174
Joined: Feb 13th, 2019
Re: VS2022 'Install a library from a zip' does not load examples
Reply #1 - Aug 10th, 2022 at 12:39pm
Print Post  
Thanks for the report.  

Question

Have you run the vMicro > General > Rescan Toolchains and Libraries since installing the library from ZIP?

Info

Installing a library is simply a matter of extracting the zip to the libraries location. You can extact the libraries manually if they have failed to extract.
« Last Edit: Aug 10th, 2022 at 6:37pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Lee Critchlow
Junior Member
**
Offline


Posts: 18
Location: TN
Joined: Jul 19th, 2022
Re: VS2022 'Install a library from a zip' does not load examples
Reply #2 - Aug 11th, 2022 at 5:36pm
Print Post  
Yes, I've clicked Rescan after installing the library.
The manual install folder is two levels down in the zip file, which I believe is the problem when installing by zip. Huh
When I copy the folder manually the library appears in Examples. Angry
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: VS2022 'Install a library from a zip' does not load examples
Reply #3 - Aug 12th, 2022 at 11:24pm
Print Post  
We have looked at the "grbl-Mega-edge" library and it does not conform to the arduino standard. The Arduino IDE refuses to unzip it.

One issue is that the gtihub zip contains others files and folders. It is not possible to know which folder is the library folder. An modern arduino library would have a library.properties text file in the library root and an \src folder containing the library sources.

After unzipping the library manually it was recognized by both Visual Micro and the Arduino IDE
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint