Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling (Read 117 times)
gr84u2
Newbies
*
Offline



Posts: 5
After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling
Sep 26th, 2019 at 1:13am
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10463
United Kingdom
Re: After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling
Reply #1 - Sep 26th, 2019 at 11:42am
 
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
Back to top
« Last Edit: Sep 26th, 2019 at 11:45am by Visual Micro »  
WWW  
IP Logged
 
gr84u2
Newbies
*
Offline



Posts: 5
Re: After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling
Reply #2 - Sep 26th, 2019 at 2:30pm
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10463
United Kingdom
Re: After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling
Reply #3 - Sep 26th, 2019 at 2:43pm
 
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
Re: After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling
Reply #4 - Sep 26th, 2019 at 3:09pm
 
It seems that changing to No IDE in Visual Micro also solved the compilation issues on VS2015  Smiley
Back to top
« Last Edit: Sep 26th, 2019 at 4:43pm by Visual Micro »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10463
United Kingdom
Re: After upgrading to Arduino 1.8.10 the projects for ESP8266 and ESP32 stopped compiling
Reply #5 - Sep 26th, 2019 at 11:43pm
 
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 Topic Print