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 access from Shared Folder (Read 625 times)
Ward101
Newbies
*
Offline


Posts: 8
Joined: Feb 14th, 2024
Library access from Shared Folder
Mar 11th, 2024 at 6:05pm
Print Post  
Working on VS2022 and Arduino Shared Cross-Platform Code like my previous Topic.

Create a new CPP and Header on the Shared Project.
On Header or CPP, try to reference any library from your Library (not the internal/builIn)

On my case, trying to add 
#include <AccelStepper.h>
I double checked it´s on my lib.
Tried with different libraries.
None of them is being recognized by the shared code. And my main project (that uses this shared code) fails to compile.


  
Back to top
 
IP Logged
 
Ward101
Newbies
*
Offline


Posts: 8
Joined: Feb 14th, 2024
Re: Library access from Shared Folder
Reply #1 - Mar 11th, 2024 at 6:09pm
Print Post  
Well, made it work. Added also the include on the main INO on Startup Project, and it´s now recognized.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint