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 Adding include Folder for div Src or Header (Read 1286 times)
Arnold
Junior Member
**
Offline


Posts: 17
Joined: Feb 6th, 2018
Adding include Folder for div Src or Header
Feb 19th, 2020 at 7:19pm
Print Post  
Hello, 
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 

Mfg
« Last Edit: Feb 19th, 2020 at 7:20pm by Arnold »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Adding include Folder for div Src or Header
Reply #1 - Feb 19th, 2020 at 10:05pm
Print Post  
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.

note:

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.




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