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 SOLVED - Worked for Months and now won't compile (Read 5693 times)
Don29
Newbies
*
Offline


Posts: 4
Joined: Aug 28th, 2014
SOLVED - Worked for Months and now won't compile
Feb 7th, 2015 at 3:32pm
Print Post  
I have had this working for month. I didn't use it for two weeks, went back and recompiled with out changing anything, and has all error on the Linker.  The first error I get in the output is:
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
So I think something has been corrupted in the IDE. Any clues???
« Last Edit: Feb 15th, 2015 at 6:50pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Worked for Months and now won't compile
Reply #1 - Feb 7th, 2015 at 4:24pm
Print Post  
Hi Don,

The error means that Visual Micro is not active, therefore Visual Studio attempts a windows c++ compile instead of Arduino.

One possibility is that some older versions of Visual Micro used to force free users to upgrade to a version that was less than a year old. This was because often people upgrade their Arduino Ide to latest or beta but forget to upgrade Visual Micro but we gave up on that idea in later versions Smiley

If auto update is not blocked, you should have seen a few dialog message about upgrades and an output window message the first time running after expiry.

The the reasons for this behavior would be that Visual Micro is disabled in "tools>addin manager" or that the sketch folder name does not match the name of a .ino file.
  
Back to top
IP Logged
 
Don29
Newbies
*
Offline


Posts: 4
Joined: Aug 28th, 2014
Re: Worked for Months and now won't compile
Reply #2 - Feb 8th, 2015 at 12:46am
Print Post  
Thank you for your help.  I have not changed the file location, folder name, or project name so that could not be the issue.   
I went to Tools|Add-in Manager and the Visual Micro Adruino is listed and has a check mark in the box next to it,  the box under Startup is checked, and the box under Command Line is not checked.   
I am getting a popup box when I start AtmelStudio that is a "Buy Visual Micro" add that started appearing when the problem started.  Could my Visual Micro plug-in be corrupt? If so how would I re-install it?   
I have not done any AtmelStudio updates, but I wonder if that would help or just add more issues.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Worked for Months and now won't compile
Reply #3 - Feb 8th, 2015 at 1:03am
Print Post  
Hi,

You just need to update to the latest release of visual micro and it will be fine.

Do you know how to do that?
  
Back to top
IP Logged
 
Don29
Newbies
*
Offline


Posts: 4
Joined: Aug 28th, 2014
Re: Worked for Months and now won't compile
Reply #4 - Feb 8th, 2015 at 2:04pm
Print Post  
I have not update Visual Micro before, and I have not updated my Atmel Studio 6.2 either.  On the Atmel Studio I just need to click on the update now button, but I am not sure on the Visual Micro.  Also, should the AtmelStudio be update first before updating the Visual Micro version?   Is updating Visual Micro just a matter of going to the Extension Manger and clicking on the Download button?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Worked for Months and now won't compile
Reply #5 - Feb 8th, 2015 at 2:25pm
Print Post  
Hi don, yes just the extension or use the download page on visualmicro.com
  
Back to top
IP Logged
 
Don29
Newbies
*
Offline


Posts: 4
Joined: Aug 28th, 2014
Re: Worked for Months and now won't compile
Reply #6 - Feb 8th, 2015 at 3:43pm
Print Post  
Yeah!  That worked.
I guess I will update my Atmel Studio now as well.
Thank you very much for the help.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
SOLVED: Worked for Months and now won't compile
Reply #7 - Feb 8th, 2015 at 5:59pm
Print Post  
Great, I wouldn't worry about upgrading atmel unless you find an issue that it would solve.
« Last Edit: Feb 15th, 2015 at 6:48pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint