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 ESP8266 Compilation issue ... (SOLVED using latest Esp8266 v2+ core) (Read 3676 times)
Rando
Junior Member
**
Offline


Posts: 10
Joined: Jul 11th, 2012
ESP8266 Compilation issue ... (SOLVED using latest Esp8266 v2+ core)
Jan 31st, 2017 at 2:18pm
Print Post  
Howdy,

I'm working on this great project ... https://github.com/graham22/Anemometer and was delighted to see it shipped ready to work with Visual Micro and MS Visual Studio 2105.

Thinking this would be a good time to take advantage, and learn of the Visual Micro features on a relatively complex project, I've run into this compilation error:

WebSockets.cpp: 28:35: fatal error: core_esp8266_features.h: No such file or directory

After a little Googling, and as a first approximation, I'm thinking I'm not building against the latest release of the ESP8266 lib for the Arduino. I was able to get the project built under the Arduino 1.8.1 IDE successfully, so at heart I must admit I may be confused on how to ensure Visual Micro hits against the correct library. I would assume that it takes advantage of the Arduino tree, and doesn't duplicate the effort to keep its own files.

I did go into the Visual Micro Explorer and attempt to install the latest locally via this facility. No change.

Best,

Randy


« Last Edit: Feb 12th, 2017 at 2:18pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266 Compilation issue ...
Reply #1 - Jan 31st, 2017 at 3:30pm
Print Post  
Hi,

Visual micro uses the same configuration as arduino so the visual micro explorer should show the same hardware is installed already?

Please switch on vmicro>compiler>verbose and also the "show build properties"

Then build and attach the output as .txt or email to info[at]visualmicro.com along with a link to this post

Thanks

  
Back to top
IP Logged
 
Rando
Junior Member
**
Offline


Posts: 10
Joined: Jul 11th, 2012
Re: ESP8266 Compilation issue ...
Reply #2 - Jan 31st, 2017 at 4:30pm
Print Post  
Tim,

It was the issue regarding the version of the ESP8266 support library I had installed. Got confused by the language regarding "update", which is actually applied to the oldest version of the lib (1.6.x) vs. the newest (2.3). 

Compiling fine now: 

"Program size: 362,420 bytes (used 35% of a 1,044,464 byte maximum) (63.12 secs)
Minimum Memory Usage: 41900 bytes (51% of a 81920 byte maximum)"
 

Anyway great project to demo the power of Visual Micro, and a rich, none AVR target. The "grayed" file, version 2.3, is in fact the active version. 

For me,




Best,

Randy
« Last Edit: Jan 31st, 2017 at 4:40pm by Rando »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266 Compilation issue ...
Reply #3 - Jan 31st, 2017 at 6:59pm
Print Post  
That's great thanks!
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP8266 Compilation issue ...
Reply #4 - Feb 11th, 2017 at 8:20pm
Print Post  
The latest release of visual micro (1702.11.1) now correctly caters for hardware versions defined in reverse or ad-hoc order. This means the latest esp8266 will be prompted correctly in Board Manager.

The Board Manager has also bee updated to work more fluently (still some work to be done but works better now)

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