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] 2  Send TopicPrint
Hot Topic (More than 8 Replies) building core for every upload? (Read 5343 times)
dingeldongel1
Junior Member
**
Offline


Posts: 11
Joined: Aug 30th, 2018
building core for every upload?
Aug 30th, 2018 at 1:24pm
Print Post  
HI,
I am using VM for two years now and everything was fine. Now I made the latest update (for faster upload).
Result is, that VM builds variant and the core for every upload. I think this was only for the first upoad of the day or if I change the type of board, before the update.
What tooks me 10 sek last week, takes 2 minutes now.
Any idea what could be the problem.

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: building core for every upload?
Reply #1 - Aug 30th, 2018 at 1:37pm
Print Post  
If you switch off "vmicro>compiler>shared cache for cores" does it revert to a build per project per board?

If the answer is yes then this is probably a permissions issue creating the cache. Let us know the result so we can decide what extra messages to include in the build output.
  
Back to top
IP Logged
 
dingeldongel1
Junior Member
**
Offline


Posts: 11
Joined: Aug 30th, 2018
Re: building core for every upload?
Reply #2 - Aug 30th, 2018 at 1:55pm
Print Post  
yes it reverts to build per project per board
I attached the build properties
« Last Edit: Aug 30th, 2018 at 2:04pm by dingeldongel1 »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
dingeldongel1
Junior Member
**
Offline


Posts: 11
Joined: Aug 30th, 2018
Re: building core for every upload?
Reply #3 - Aug 30th, 2018 at 2:27pm
Print Post  
Now something completely wents wrong.
I cant include the wire library into a sketch because it doesnt find the lib when building the code.
And also debugging doesnt work. If I try to debug a simple "blink" sketch, just requesting the millis() on each hit, it stops the build process
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: building core for every upload?
Reply #4 - Aug 30th, 2018 at 2:28pm
Print Post  
If you switch off "tools>options>compiler>project folder -I" does it all work again?
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: building core for every upload?
Reply #5 - Aug 30th, 2018 at 2:31pm
Print Post  
I see you are using arduino 1.5.8. That hasn't been tested for a few years!

Please switch on "vmicro>compiler>show build properties" then post a new build output

thanks
  
Back to top
IP Logged
 
dingeldongel1
Junior Member
**
Offline


Posts: 11
Joined: Aug 30th, 2018
Re: building core for every upload?
Reply #6 - Aug 30th, 2018 at 3:03pm
Print Post  
no, it doeasnt wor for me.
i attached the build outputs again.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: building core for every upload?
Reply #7 - Aug 30th, 2018 at 3:14pm
Print Post  
Your build output show a good build and upload with code that includes the wire library

The output also shows you do not have debug enabled.

What problem are you reporting?
  
Back to top
IP Logged
 
dingeldongel1
Junior Member
**
Offline


Posts: 11
Joined: Aug 30th, 2018
Re: building core for every upload?
Reply #8 - Aug 30th, 2018 at 3:24pm
Print Post  
The last one was a normal release build with 
"vmicro>compiler>show build properties" switched on.
it is still building the core omn each build. 
Here is the output for the debug build.

Sorry for my bad english Embarrassed
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: building core for every upload?
Reply #9 - Aug 30th, 2018 at 3:39pm
Print Post  
What do you click to build/upload?

It's compiling wire okay. Maybe it's failing on some breakpoint code.

Please zip the _vm folder from below your project so i can see it. You must zip after trying to build in debug mode.
  
Back to top
IP Logged
 
dingeldongel1
Junior Member
**
Offline


Posts: 11
Joined: Aug 30th, 2018
Re: building core for every upload?
Reply #10 - Aug 30th, 2018 at 3:47pm
Print Post  
This is the output for build (not upload)
ther is only one debug point including {millis()}
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: building core for every upload?
Reply #11 - Aug 30th, 2018 at 3:57pm
Print Post  
What do you click to build/upload?
  
Back to top
IP Logged
 
dingeldongel1
Junior Member
**
Offline


Posts: 11
Joined: Aug 30th, 2018
Re: building core for every upload?
Reply #12 - Aug 30th, 2018 at 3:57pm
Print Post  
I installed the latest arduino 1.8 IDE and integrated in VM
This works! Now it is building the core only for the first time .

  
Back to top
 
IP Logged
 
dingeldongel1
Junior Member
**
Offline


Posts: 11
Joined: Aug 30th, 2018
Re: building core for every upload?
Reply #13 - Aug 30th, 2018 at 4:07pm
Print Post  
Tim@Visual Micro wrote on Aug 30th, 2018 at 3:57pm:
What do you click to build/upload?

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: building core for every upload?
Reply #14 - Aug 31st, 2018 at 6:08am
Print Post  
What menu or button to you click to build?
  
Back to top
IP Logged
 
dingeldongel1
Junior Member
**
Offline


Posts: 11
Joined: Aug 30th, 2018
Re: building core for every upload?
Reply #15 - Aug 31st, 2018 at 11:46am
Print Post  
pleas find a pic attached.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: building core for every upload?
Reply #16 - Aug 31st, 2018 at 11:50am
Print Post  
Okay, what happens if your library #includes are changed to be standard arduino without the path

#Include <I2CDev.h>


Please also zip and email your project to info[at]visualmicro.com along with a link to this post

Thanks
  
Back to top
IP Logged
 
dingeldongel1
Junior Member
**
Offline


Posts: 11
Joined: Aug 30th, 2018
Re: building core for every upload?
Reply #17 - Aug 31st, 2018 at 12:18pm
Print Post  
if I use the standard 
#Include <I2CDev.h>
in the normal "blink" sketch
It tells me:
Blink.ino: 15:19: fatal error: I2Cdev.h: No such file or directory
if I use Arduino 1.5.8 
and it works fine for Ard 1.8.6
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: building core for every upload?
Reply #18 - Aug 31st, 2018 at 12:22pm
Print Post  
Okay I will look but need to be clear


Arduino 1.5.8 in Visual Micro  - Not OK
Arduino 1.8.6 in Visual Micro - OK
  
Back to top
IP Logged
 
dingeldongel1
Junior Member
**
Offline


Posts: 11
Joined: Aug 30th, 2018
Re: building core for every upload?
Reply #19 - Aug 31st, 2018 at 1:44pm
Print Post  
Tim@Visual Micro wrote on Aug 31st, 2018 at 12:22pm:
Arduino 1.5.8 in Visual Micro  - Not OK
Arduino 1.8.6 in Visual Micro - OK


Yes. 
If I try the same in Arduino 1.5.8 and 1.8.6 IDE it finds the libs.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint