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 Compiler error (Read 3079 times)
Natan
Newbies
*
Offline


Posts: 5
Joined: Mar 23rd, 2016
Compiler error
Mar 24th, 2016 at 5:49pm
Print Post  
Hi!
I have a project that already was tested in Arduino IDE. 
But in VS with Micro the compiler gives an error:
Code
Select All
Compiling debug version of 'Mega_2' for 'Arduino/Genuino Mega w/ ATmega2560 (Mega 2560)'
Mega_2.ino:3:19: error: variable or field 'XML_response' declared void
:void XML_response(EthernetClient cl)
Mega_2.ino:3:19: error: 'EthernetClient' was not declared in this scope
Error compiling project sources 

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiler error
Reply #1 - Mar 25th, 2016 at 1:53pm
Print Post  
Hi,

To save me asking the usual questions about your install:- 

1) please zip and email your project to info[at]visualmicro.com

2) switch on "visual  micro>verbose", then click "build>clean solution", then click "Build" and email the compiler output that appears on screen

Thanks
  
Back to top
IP Logged
 
Natan
Newbies
*
Offline


Posts: 5
Joined: Mar 23rd, 2016
Re: Compiler error
Reply #2 - Mar 25th, 2016 at 7:24pm
Print Post  
Thank You,  but I have already  solved It by simple #include ... I don't know  why it was not necessary in Arduino IDE
Thanks!  Wink
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compiler error
Reply #3 - Mar 25th, 2016 at 7:25pm
Print Post  
Ahh okay thanks.

Is the menu item "Visual Micro>Deep search includes" ticked?

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint