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 Build issues (Read 791 times)
coder
Newbies
*
Offline


Posts: 6
Joined: Jul 8th, 2022
Build issues
Jul 8th, 2022 at 9:36pm
Print Post  
I have 'shared project' which are added to my project as references.  I assumed this was the way as there was no documentation I could find on how to add. 

I have noticed that each build it is rebuilding shared libraries. I also note the build does not appear to be using all my processing cores even when parallel build is selected. 

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Build issues
Reply #1 - Jul 8th, 2022 at 10:12pm
Print Post  
Please follow the guide in yellow above so that we can see what is being done.

Some info here https://www.visualmicro.com/post/2017/01/16/Arduino-Cross-Platform-Library-Devel...

It is important to know the Arduino build rules when working with shared code projects. Arduino build happen in a temp build folder. The sources from the shared projects (non-library projects) are merged into the temp. Arduino builds sources in the project folder and sub folder \src and all folders anywhere below the \src folder. If your shared poroject has a source file in the project folder, then the file will be a sibling with the code in main project folder during compilation.
« Last Edit: Jul 8th, 2022 at 10:16pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint