Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
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....
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
Couldn't install Adafruit 1NA219 Library using Explorer (Read 227 times)
FrankP
Member
***
Offline



Posts: 103
Couldn't install Adafruit 1NA219 Library using Explorer
May 25th, 2019 at 3:14pm
 
VM version 1.1903.24

I was trying to install the Adafruit 1NA219 library via the VM Explorer dialog, but ran into the following problems:

- Searches for '1N', '1NA', '1NA219', and 'Adafruit 1N', etc all failed, even though the 'Adafruit 1NA219' library is clearly visible in the list.  Any reason for this (it also failed in the Arduino IDE, so it could be an IDE problem)

- I couldn't get the library to install by any combination of left and/or right clicks on the library label, once I found it.  To actually install the library, I had to launch the Arduino IDE and select 'Install' on the 'Adafruit 1NA219' line, and this worked properly.

Am I missing something?

TIA,


Frank
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Couldn't install Adafruit 1NA219 Library using Explorer
Reply #1 - May 25th, 2019 at 6:05pm
 
We will look at it.The Adafruit guys build with linux and the resulting zip file can be very complex. We use SharpZipLib for extracts,We will see if there is an update for the next release.

Installing a library is just a matter of unpacking the zip into document\arduino\libraries so you can always do it manually from git or as you say in arduino ide.

I can't see the  1NA219 in library manager. Did you install using library manager or from a zip you downloaded from the web. If a zip then please give url.

Thanks for the report.
Back to top
« Last Edit: May 25th, 2019 at 6:07pm by Visual Micro »  
WWW  
IP Logged
 
FrankP
Member
***
Offline



Posts: 103
Re: Couldn't install Adafruit 1NA219 Library using Explorer
Reply #2 - May 25th, 2019 at 11:19pm
 
Tim,

It's there (see attached image) - 'INA219 by Adafruit'.  Note that the '1' in the actual product has been changed to an 'I', so that's probably the reason the search function didn't work.

Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Couldn't install Adafruit 1NA219 Library using Explorer
Reply #3 - May 26th, 2019 at 1:44pm
 
Thanks, it installed okay for me. Maybe you just needed to click Re-scan after installing via Lib Manager
Back to top
 
WWW  
IP Logged
 
FrankP
Member
***
Offline



Posts: 103
Re: Couldn't install Adafruit 1NA219 Library using Explorer
Reply #4 - May 26th, 2019 at 11:21pm
 
Tim,

I'm pretty sure I clicked on 'Rescan' after attempting to install, but maybe not Wink

Frank
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print