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 Able to compile in Arduino IDE but fail to compile in VS 2010 (Read 332 times)
allan
Newbies
*
Offline


Posts: 4
Joined: Mar 13th, 2013
Able to compile in Arduino IDE but fail to compile in VS 2010
Mar 18th, 2013 at 4:33am
Print Post  
I have a sketch which is Able to compile in Arduino IDE but fail to compile in VS 2010.

struct S{      
     byte C;
     byte V;
     unsigned long d;
     unsigned long t;
};

void State(S s);

VS 2010 always complains:
'S' was not declared in this scope

Any help is appreciated.. Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Able to compile in Arduino IDE but fail to compile in VS 2010
Reply #1 - Mar 19th, 2013 at 12:57am
Print Post  
This Topic was moved here from Installation & Troubleshooting [move by] Visual Micro.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint