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 User Libraries (Read 3072 times)
davidcoward
Junior Member
**
Offline


Posts: 56
Joined: Oct 5th, 2012
User Libraries
May 18th, 2014 at 10:45pm
Print Post  
Hi all

I'm using VS2012 and VM 1.1404.01.

VM can't seem to locate the user libraries and I can't find an option/place to specify them. 

A project compiles fine in the Arduino 1.0.5 dev environment, but not in VS unless I cheat and copy the library into the core library location which, of course, is a "bad" thing to do.

I did try the suggestion of deleting the .h and importing via the VS menu item, but it is blank.

David
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: User Libraries
Reply #1 - May 19th, 2014 at 10:21am
Print Post  
Hi David,

If you have your user libraries in a place other than "documents/arduino/libraries" then you can specify the sketchbook location in the same place your specify the ide location.  documents/arduino is the default sketchbook folder, user libraries are expected to be in a "libraries" folder below the sketchbook

Please see here http://www.visualmicro.com/page/User-Guide.aspx?doc=First-steps.html

Thanks
« Last Edit: May 19th, 2014 at 10:26am by Tim@Visual Micro »  
Back to top
IP Logged
 
davidcoward
Junior Member
**
Offline


Posts: 56
Joined: Oct 5th, 2012
Re: User Libraries
Reply #2 - May 19th, 2014 at 10:59am
Print Post  
Ah.

I just imported them via the Arduino IDE, which put them in Arduino/Libraries - ie at the same "level" as Arduino/Sketches. Then they appeared on the import menu in the Arduino IDE but not in VM. 

The problem was that I have my "Sketches" folder under "Arduino", but the sketchbook location in preferences was set to Arduino.

Fixed now.

Thanks for pointing me in the right direction.



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


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: User Libraries
Reply #3 - May 19th, 2014 at 11:01am
Print Post  
Great, thanks for the update
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint