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 Identifier is not defined (Read 4649 times)
Zipcom
Newbies
*
Offline


Posts: 3
Location: Germany
Joined: Apr 3rd, 2013
Identifier is not defined
Jul 30th, 2017 at 1:01pm
Print Post  
After today's update of Arduino for Visual Studio I get an "Identifier is not defined" error at the serial command.

e.g.: Serial.begin(115200);
or: Serial.print("Left1: "); 

These commands worked flawless before the update to 1707.30. I can't compile the project anymore that i've compileled a hundred times before. It seems something is broken now. 

Is there a way to downgrade to the previous version of vMicro? 

BTW:
I can compile the project with the Arduino IDE.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Identifier is not defined
Reply #1 - Jul 30th, 2017 at 1:39pm
Print Post  
Hi,

There is an update due over the next hour with a fix but when you post it really helps if you say which board and arduino ide version you are using.

It's also best to post the compiler error thanks

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Identifier is not defined
Reply #2 - Jul 30th, 2017 at 2:00pm
Print Post  
Hi,

I suspect you are using a mega2560, Nano or Mini board. There was an issue in this mornings version which has been resolved in the latest update. You should see the update in the gallery as usual?

Let me know if that resolves or please post the info requested previously.

This was a build property issue which could also have affected intellisense.

Thanks for the post
« Last Edit: Jul 30th, 2017 at 2:03pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Zipcom
Newbies
*
Offline


Posts: 3
Location: Germany
Joined: Apr 3rd, 2013
Re: Identifier is not defined
Reply #3 - Jul 30th, 2017 at 2:01pm
Print Post  
Thanks for your fast reply.
You right (of course). I should have posted these informations. 
So here are the infos. Although you may have fixed the problem already.

Compiling 'Control_6_v1.1' for 'Arduino/Genuino Mega or Mega 2560'
Error compiling core
Build failed for project 'Joy_Control_64_v1.1'
 
error*: strange device name {build.mcu} after -mmcu=: bad character {

The Arduino version is 1.8.3
Thanks  for your help.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Identifier is not defined
Reply #4 - Jul 30th, 2017 at 2:02pm
Print Post  
Great please grab the new release
  
Back to top
IP Logged
 
Zipcom
Newbies
*
Offline


Posts: 3
Location: Germany
Joined: Apr 3rd, 2013
Re: Identifier is not defined
Reply #5 - Jul 30th, 2017 at 2:13pm
Print Post  
Now it works again. I can compile without any issues.

Thank you very much.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint