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 library couldn't be found by include (Read 1757 times)
0xCDCDCDCD
Junior Member
**
Offline


Posts: 11
Joined: Jan 14th, 2018
User library couldn't be found by include
Aug 10th, 2018 at 2:53am
Print Post  
Hi,

I added a .zip library but I'm unable to include it without manually extract it somewhere.

Did I miss something?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12190
Location: United Kingdom
Joined: Apr 10th, 2010
Re: User library couldn't be found by include
Reply #1 - Aug 10th, 2018 at 3:32pm
Print Post  
Did you check the Add Library menu item? It has an "Add from Zip" which extracts it to the arduino sketchbook\libraries folder usually mydocuments\arduino\libraries
  
Back to top
IP Logged
 
0xCDCDCDCD
Junior Member
**
Offline


Posts: 11
Joined: Jan 14th, 2018
Re: User library couldn't be found by include
Reply #2 - Aug 10th, 2018 at 10:38pm
Print Post  
Hi,

Sorry for the non-existing details.

Yes I did use the "Add from Zip" from the Add Library menu.
I did see the folder extracted in the C:\Users\Suisse00\Documents\Arduino\libraries\ and when trying to open the include file from visual studio it open a message error listing all sources directories which include C:\Users\Suisse00\Documents\Arduino\libraries\.

Should your extension add sub-directory as well as a source directory?

I have to
Code (C++)
Select All
#include <myextension/the file> 

in order to use the library (but I could include the file directly in the arduino IDE)
« Last Edit: Aug 10th, 2018 at 11:09pm by 0xCDCDCDCD »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12190
Location: United Kingdom
Joined: Apr 10th, 2010
Re: User library couldn't be found by include
Reply #3 - Aug 11th, 2018 at 8:52pm
Print Post  
Did the project build?
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint