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
Hot Topic (More than 8 Replies) Visual Micro on Atmel studio 6.2 gives me huge amount of errors (Read 6864 times)
kilbux
Newbies
*
Offline


Posts: 4
Joined: Feb 25th, 2015
Visual Micro on Atmel studio 6.2 gives me huge amount of errors
Feb 25th, 2015 at 1:39pm
Print Post  
Hello,


Visual Micro on Atmel studio 6.2 gives me huge amount of errors, but project complies correctly. Examples of such errors are:
Error      1      [N] 1145 : unknown type name 'byte'      
Error      4      [N] 2728 : use of undeclared identifier 'A0'
etc.

What could be the reason for that? Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro on Atmel studio 6.2 gives me huge amount of errors
Reply #1 - Feb 25th, 2015 at 1:43pm
Print Post  
Hi,

Please say which arduino version you are using, which visual micro app name you have selected, which board you have selected

Thanks

ps: Have you saved your project yet? Atmel refreshes intellisense when the project is saved
« Last Edit: Feb 25th, 2015 at 1:44pm by Tim@Visual Micro »  
Back to top
IP Logged
 
kilbux
Newbies
*
Offline


Posts: 4
Joined: Feb 25th, 2015
Re: Visual Micro on Atmel studio 6.2 gives me huge amount of errors
Reply #2 - Feb 25th, 2015 at 4:16pm
Print Post  
Hi,

sorry for forgetting to include key info.
Arduino is 1.0.6.  I am using exactly that configuration for the project. Board type is Leonardo. Visual Micro version is  1.1502.14. Project is saved.

Everything compiles nicely, if i hit debug button. Intellisence behaves strange, as it does not recognize arduino keywords. However, when i start typing "by..", popup suggests me "byte", but then it appears in error list.

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


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro on Atmel studio 6.2 gives me huge amount of errors
Reply #3 - Feb 25th, 2015 at 4:57pm
Print Post  
Hi,

Can you please try switching board to some other such as Uno then switch back to Leonardo again does this fix the issue?

Thanks
  
Back to top
IP Logged
 
kilbux
Newbies
*
Offline


Posts: 4
Joined: Feb 25th, 2015
Re: Visual Micro on Atmel studio 6.2 gives me huge amount of errors
Reply #4 - Feb 26th, 2015 at 7:52am
Print Post  
Hi,

i have switched to Uno, saved, compiled, switch back to Leo, saved and then compiled - does not help at any stage.

Probably installation did not go well at some place. Actually i tried to reinstall VisualMicro before contacting forum, but that did not solve the problem. 

Is there some registry to be cleaned up? Should i reinstall 
Atmel Studio as well? 

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


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro on Atmel studio 6.2 gives me huge amount of errors
Reply #5 - Feb 26th, 2015 at 11:43am
Print Post  
Please zip and email your sketch, send to info [at] visualmicro.com
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro on Atmel studio 6.2 gives me huge amount of errors
Reply #6 - Feb 27th, 2015 at 7:57pm
Print Post  
Hi,

Thanks for sending the sketch. I don't get any errors at all and have never seen intellisense errors in atmel studio because it is built for the arduino code. So we need to check a few things.

1) Please confirm the exact version of atmel studio from help about
2) Version of visual micro from tools>options>visual micro>version>version and ver minor
3) Version of arduino (I assumed 1.0.6 for my testing)
4) Please switch on "tools>visual micro>verbose messages", then click build>clean solution then build and email the output.
5) Screen shot of the error list
6) screen shot of the project open in atmel studio so that all files in the project can be seen in the solution tree

Thanks
  
Back to top
IP Logged
 
kilbux
Newbies
*
Offline


Posts: 4
Joined: Feb 25th, 2015
Re: Visual Micro on Atmel studio 6.2 gives me huge amount of errors
Reply #7 - Feb 28th, 2015 at 10:51am
Print Post  
Hi,

thanks for your help. I had reinstalled Atmel studio 6.2, Visual Micro and Arduino. Afterwards the issue had disappeared.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12136
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro on Atmel studio 6.2 gives me huge amount of errors
Reply #8 - Feb 28th, 2015 at 4:13pm
Print Post  
Hi,

Well actually sorry I wasn't any help  Smiley

That was a strange issue, it was as if Atmel Studio didn't have its intellisense engine.

Thanks for the update. I will know what to tell anyone else with the problem to do!
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint