Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 

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 and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Library installation (upgrade) problem (Read 440 times)
Acuario
Full Member
***
Offline



Posts: 184
Library installation (upgrade) problem
May 26th, 2022 at 5:27am
 
I'm trying to upgrade (via Micro Explorer) the GFX by Adafruit library.
VM says I have Version 1.10.13 installed , click to install V1.11.1
Click and I get the normal Install message box.
Click OK and I get a message box 'The destination folder already exists' etc...
Click Yes to remove folder
Message box 'Unable to install the new library. Object reference not set to an instance of object.

Other library updates that I have done are ok.

..and now the strange stuff.
The library has been added to the sketch that I have open - I didn't add it as I don't use this library in this sketch.
Checking again in Micro explorer it now tells me the V.11.1 is installed.
Back to top
« Last Edit: May 26th, 2022 at 5:34am by Acuario »  
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1459
Re: Library installation (upgrade) problem
Reply #1 - May 26th, 2022 at 6:23pm
 
Thanks for the report.

The latest release (22.04.29-4) should resolve this issue, and can be downloaded from the top of the board below:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
Back to top
 
 
IP Logged
 
Acuario
Full Member
***
Offline



Posts: 184
Re: Library installation (upgrade) problem
Reply #2 - May 29th, 2022 at 8:53am
 
Hi,
I don't know if this is related or different..

I have the ESP32SSDP library V1.1.1 installed. On Github the latest version is 1.2.0
In the library manager V1.1.1 is still shown.
The library is not shown in the list of installed libraries (Library Manager) on my machine.
If I go to the list of Authors, select Me-No-Dev it shows ESP32SSDP Version 1.1.1
If I click on it it offers the option to install
Click install and I get a message box 'Unable to install.. Download failed etc..

Removing the library from the directory I can now install it with the 'Install from ZIP' option
The library still is not listed in the list of installed libraries (after Refresh).
The correct version (1.2.0) is now listed under Me-No-Dev
The library is also listed in the list of user installed libraries (from Add Library) - this I didn't previously check.
Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1459
Re: Library installation (upgrade) problem
Reply #3 - May 30th, 2022 at 11:10am
 
Thanks for the report.

This is a different issue, as the library has the url to the GitHub repository, the "click to install" action fails as it is expecting a ZIP file containing the library to be available at this url.

The install from ZIP option is the best route at present, and we will update if we can automatically install libraries from a GitHub repo in a future release.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print