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 Atmel Studio/Visual Micro Upgrade (1401.26) (Read 6083 times)
Kevinw
Junior Member
**
Offline


Posts: 11
Location: SoCal
Joined: Jan 26th, 2014
Atmel Studio/Visual Micro Upgrade (1401.26)
Jan 29th, 2014 at 9:13pm
Print Post  
I have been running VM and Atmel Studio successfully for some time now.  recently, and It may be tied to a atmel studio update, I can no longer compile and run arduino sketches.  I get an error on compile of undefined reference to main.  All is well if i compile and link under the Arduino IDE.

other symptoms are similar to what I read about visual studio 2013 issues.  sketch option is greyed out for opening or creating a new solution/project, the visual micro option under tools has no sub options, etc.

I tried to go through some of the steps recommended for the vs 2013 problem, but they don't seem to pertain.

I did try to do lame un-and re-installs of atmel and vm, but I was hoping there might be a more targeted solution before I go whole hog.
thanks!
« Last Edit: Jan 31st, 2014 at 4:34am by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel Studio/Visual Micro Upgrade (1401.26)
Reply #1 - Jan 29th, 2014 at 9:36pm
Print Post  
EDIT: First job if you have a real problem, is always to close Atmel, ensure that atmelstudio.exe process is not active with task manager, terminate if it is. Then run the Visual Micro installer and click Remove, then run again and click Install. This will not remove your settings so should be painless.


Hi Kevin,

Sorry you are having problems. You don't need to re-install Atmel Studio at this point. 

Missing UI signifies a config problem or something that can normally be fixed quite easily. If not we can always add some trace information to find the problem however there are thousands of people using the plugin in Atmel so it can't be that much of a problem.

I have split your question into a new thread because whilst the end result might look the same the thread you used was unrelated to the current release and covered other unrelated questions. Same frustration I know, Sorry. Please ignore the off-topic message in the other thread it is system generated and will be deleted when you have found this new thread.

btw: The output showing "undefined reference to main" means that Visual Micro is not active and Atmel Studio is attempting to compile and Arduino project which will be expect to fail.

Let's start with a few facts please

1) What version of Arduino are you using?
2) You just updated Visual Micro today? Therefore using 1401.26 ( I added that to the subject of this post)
3) "Tools>Options>Addin Manager" shows an entry for Visual Micro and has two ticks before and after the name?
4) Do you see "Tools>Options>Visual Micro>Application Locations>Applications Ide Locations"? If so click the button in the edit box and confirm which Arduino 1.?.x application you are using? and what path is specified for the application? Is the path valid? It should not be enclosed in quotes.
5) Do you see a "Tools>Visual Micro>Reset User Interface" menu item? If you click it does the ide close and re-open?

Thanks

« Last Edit: Jan 31st, 2014 at 4:33am by Tim@Visual Micro »  
Back to top
IP Logged
 
Kevinw
Junior Member
**
Offline


Posts: 11
Location: SoCal
Joined: Jan 26th, 2014
Re: Atmel Studio/Visual Micro Upgrade (1401.26)
Reply #2 - Jan 31st, 2014 at 4:01am
Print Post  
Thanks for helping out..
Well I was about half way through your list and typing in a huge response... but when I brought up atmel studio, it prompted to update vm and after that was done, it looks like all is well!
Thanks again!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel Studio/Visual Micro Upgrade (1401.26)
Reply #3 - Jan 31st, 2014 at 4:32am
Print Post  
Thanks, sorry it was a chore. the last point (remove/install) would have done the job. I'll remember that.

It meant that Atmel had not shut down properly when you first upgraded. Sometimes it leaves the atmelstudio.exe process active in task manager. It's a pain
« Last Edit: Jan 31st, 2014 at 4:35am by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint