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 After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling (Read 1573 times)
gr84u2
Newbies
*
Offline


Posts: 5
Joined: Mar 5th, 2017
After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling
Sep 26th, 2019 at 12:13am
Print Post  
After upgrading Arduino from 1.8.9 to 1.8.10 the projects for ESP8266 and ESP32 stopped compiling. They produce errors and compiling fails. The same projects still compile successfully from the Arduino IDE 1.8.10. I have tried it on Visual Studio 2017 (with latest Visual Micro plugin) and on VS2015 with the last plugin for VS2015 - same effect, same errors. It seems it something library related ... (where the compiler searches for the .h files and the errors are for the usual libraries like Wire.h and SPI.h).
Example:

HTU21D.h: 49:18: fatal error: Wire.h: No such file or directory
   #include <Wire.h>
   compilation terminated
Error compiling libraries 

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling
Reply #1 - Sep 26th, 2019 at 10:42am
Print Post  
1)
Do you get the same issue if you use the "No IDE" option? Confirm the problem does not appear?

2)
Please use the zip to install an older arduino version into a test folder and point visual micro to that. Confirm the problem does not appear?

Previous arduino here https://www.arduino.cc/en/Main/OldSoftwareReleases#previous
« Last Edit: Sep 26th, 2019 at 10:45am by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
gr84u2
Newbies
*
Offline


Posts: 5
Joined: Mar 5th, 2017
Re: After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling
Reply #2 - Sep 26th, 2019 at 1:30pm
Print Post  
On Visual Studio 2017 with the latest Visual Micro plugin on a Windows 10 OS, and Arduino 1.8.10, when No IDE is selected, it works (compilation was successful).  Wink

On Visual Studio 2015 with the latest Visual Micro (for VS2015) plugin on a Windows 7 OS, I downgraded the Arduino back to 1.8.9 (but in the same directory where the previous version was installed than uninstalled - I have done this before reading your reply) and it works with the previous version.  Undecided
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling
Reply #3 - Sep 26th, 2019 at 1:43pm
Print Post  
Thanks, we will issue a fix for 1.8.10 over the coming few days
  
Back to top
WWW  
IP Logged
 
gr84u2
Newbies
*
Offline


Posts: 5
Joined: Mar 5th, 2017
Re: After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling
Reply #4 - Sep 26th, 2019 at 2:09pm
Print Post  
It seems that changing to No IDE in Visual Micro also solved the compilation issues on VS2015  Smiley
« Last Edit: Sep 26th, 2019 at 3:43pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling
Reply #5 - Sep 26th, 2019 at 10:43pm
Print Post  
This is resolved in Visual Micro 1909.26

The latest version of Visual Micro is available here but will shortly be published to the Microsoft Gallery[/url]
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint