Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
Page Index Toggle Pages: 1
Send Topic Print
Adding include Folder for div Src or Header (Read 115 times)
Junior Member

Posts: 17
Adding include Folder for div Src or Header
Feb 19th, 2020 at 7:19pm
I feel sorry that i even nedd to ask for this.
It´s not always the best to follow strictly Arduino style.

I know, i could add something like #include ./path/file
but it would be more easy if it would work automaticaly

like platform.io

Back to top
« Last Edit: Feb 19th, 2020 at 7:20pm by Arnold »  
IP Logged
Visual Micro

Posts: 10561
United Kingdom
Re: Adding include Folder for div Src or Header
Reply #1 - Feb 19th, 2020 at 10:05pm
I think this is just lack of knowledge, I have answered about the includes paths in your other post from a short time ago.https://www.visualmicro.com/forums/YaBB.pl?num=1348059336

Platform IO takes people into undocumented properiety territory and we want users to be able to build the code using Visual Micro or the Arduino IDE, to keep users in the community so that they can benefit from the support the entire community has to offer.


To include headers is okay but that will not give you compilation of c++ or c files that are found in the includes. However, you can also use shared projects or shared library projects. These allow for an unlimited amount of code in any folder(s) but will all conform to the arduino standard. That way all the code can be shared with the Arduino community and more easily supported in the many different forums for Arduino.

Back to top
« Last Edit: Feb 20th, 2020 at 12:23am by Visual Micro »  
IP Logged
Page Index Toggle Pages: 1
Send Topic Print