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 Library not in in drop down list (Read 3690 times)
level6
Junior Member
**
Offline


Posts: 18
Joined: Mar 21st, 2018
Library not in in drop down list
Apr 3rd, 2018 at 7:25pm
Print Post  
I'm working on a simple project with the SparkFun Pro Micro AtMega 32u4, emulating a keyboard. I wanted to reference the Keyboard library in my project but it was not available in the list of built in libraries, even though it was listed under Managed Libraries in VM Explorer. I ended up just copying the source code for Keyboard to my project folder.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Library not in in drop down list
Reply #1 - Apr 3rd, 2018 at 7:42pm
Print Post  
Which Visual Studio IDE?
Where was the Keyboard library located?
  
Back to top
IP Logged
 
level6
Junior Member
**
Offline


Posts: 18
Joined: Mar 21st, 2018
Re: Library not in in drop down list
Reply #2 - Apr 3rd, 2018 at 11:39pm
Print Post  
VS 2017
Library was located at C:\Program Files (x86)\Arduino\libraries\Keyboard
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Library not in in drop down list
Reply #3 - Apr 4th, 2018 at 11:26am
Print Post  
In Visual Micro have you set the application to "Arduino 1.6-1.9" or "No IDE"?
  
Back to top
IP Logged
 
level6
Junior Member
**
Offline


Posts: 18
Joined: Mar 21st, 2018
Re: Library not in in drop down list
Reply #4 - Apr 4th, 2018 at 3:13pm
Print Post  
It is set to Arduino 1.6/1.9
« Last Edit: Apr 4th, 2018 at 3:13pm by level6 »  
Back to top
 
IP Logged
 
level6
Junior Member
**
Offline


Posts: 18
Joined: Mar 21st, 2018
Re: Library not in in drop down list
Reply #5 - Apr 9th, 2018 at 7:37pm
Print Post  
What is the fix to this problem? I tried creating another project that references the LUFA library and I'm encountering the same issue. The library manager shows it as being installed but the dropdown list of libraries does not show it. In fact the dropdown library list seems to be missing a bunch of libraries that are installed. 

Is there a path that I need include in a setting somewhere? When I bring up IDE Locations I get this unusable dialog box due to the fact that I'm using a high resolution laptop.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Library not in in drop down list
Reply #6 - Apr 9th, 2018 at 7:42pm
Print Post  
Do the libraries have a library.properties text file in their folders?

If so what is in architectures=??

I suspect the architectures= contains the wrong values.

In that case Visual Micro should allow you to add the library #include(s) manually and the compile should work okay but they will not be shown in the libraries list.

If you want to change architectures=?? to architectures=* then click Re-scan or restart the ide they should appear in the libraries list but if they are incompatible with your board that can't be helped.
  
Back to top
IP Logged
 
level6
Junior Member
**
Offline


Posts: 18
Joined: Mar 21st, 2018
Re: Library not in in drop down list
Reply #7 - Apr 10th, 2018 at 1:33am
Print Post  
Thanks. I believe have the problem sorted out now.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint