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 Intellisense works but then fails with ESP8266WebServer.h (Read 3973 times)
shir
Newbies
*
Offline


Posts: 1
Joined: Jun 10th, 2015
Intellisense works but then fails with ESP8266WebServer.h
Jun 10th, 2015 at 9:23am
Print Post  
Hi,
I have installed the latest version (SP6) of visual Micro. Intellisense is working until i include <ESP8266WebServer.h>. The program is compiling with no errors but intellisense is not working if we include this headerfile. I drill down a little and found it is happening only if we #include <functional> inside ESP8266WebServer.h... is there any solution for this..
Thanks
« Last Edit: Jun 10th, 2015 at 2: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: Intellisense works but then fails with ESP8266WebServer.h
Reply #1 - Jun 10th, 2015 at 2:45pm
Print Post  
Hi,

When time allows we will look at the ESP8266WebServer.h to determine what properties are failing and in which #includes they relate to. Then we will know what additional path is required for this area of the esp8266.

Thanks for the report.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Intellisense works but then fails with ESP8266WebServer.h
Reply #2 - Jul 3rd, 2015 at 9:41pm
Print Post  
@shir

I see the 1st level intellisense fails but after pressing "." the intellisense appears. 

For example, below I see all the web server member after typing "wifis."

I have the same #includes (except for the Arduino.h) in my sketchname.ino

Code
Select All
#include <Arduino.h>
#include "MyWebClass.h"
#include <WiFiUdp.h>
#include <WiFiServer.h>
#include <WiFiClient.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>



void MyWebClass::init()
{

	WiFiServer wifis = WiFiServer(80);
	wifis.
}
 




If you have this combination and it still fails then please email your code to info [at] visualmicro.com or post a small example confirming the #includes?
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint