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 Where is exactly library directory ? (Read 731 times)
amorosik2
Newbies
*
Offline


Posts: 2
Joined: Dec 6th, 2021
Where is exactly library directory ?
Feb 13th, 2024 at 6:33am
Print Post  
I'm using an Heltec Wifi Kit 32, version 3 card

https://heltec.org/project/wifi-kit32-v3/

I use Visual Micro with Visual Studio 2019 and I'm finding that some examples provided by the manufacturer Heltec are loaded and compiled correctly using the Arduino 2.0 IDE, while if I load the same code with Visual Studio I get several errors reported, as if it couldn't find the same libraries or found other ones than those found by the Arduino idea
For example the code of
https://github.com/HelTecAutomation/Heltec_ESP32/tree/master/examples/OLED/SSD13...

How can I make sure that the libraries 'seen' by the Arduino IDE (ver 2.3.0) are the same ones that Visual Studio + Visual Micro 'sees'?
What is the exactly the path used by Visual Micro to search for function libraries and how to modify it?
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2710
Joined: Feb 13th, 2019
Re: Where is exactly library directory ?
Reply #1 - Feb 13th, 2024 at 10:08am
Print Post  
If you are using the Arduino2 IDE Configuration in Visual Micro it should automatically find the same Sketchbook\libraries folder you are using in the Arduino IDE.

For manual control of this in Visual Micro you can use the vMicro > General > Configure IDE Locations screen, select the IDE Configuration you are using, then set the optional Sketchbook location (e.g. C:\Users\Username\Documents\Arduino), which contains the libraries folder you require.

IDE Locations Screen: https://visualmicro.com/page/User-Guide.aspx?doc=Advanced-Config-Manager.html

If you enable the vMicro > Compiler > Verbose option and build a project, it will show the "Sketch Book:" entry in the output window which is currently in use.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint