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 Problem when upgrading to 2.7.1 (Read 3298 times)
Sylvain
Junior Member
**
Offline


Posts: 67
Location: Montreal, Canada
Joined: Nov 13th, 2014
Problem when upgrading to 2.7.1
Jun 15th, 2020 at 8:25pm
Print Post  
Hi,  
    I don't know where to check, I just upgrade arduino IDE and esp core to last version
when I make a almost empty project, as soon I add the webserver #include

#include <Uri.h>
#include <Parsing-impl.h>
#include <ESP8266WebServerSecure.h>
#include <ESP8266WebServer.h>
#include <ESP8266WebServer-impl.h>


The compilation fail with a ton of error starting by


Parsing-impl.h: 64:30: error: expected initializer before '<' token
   _parseRequest(ClientType& client) {
 
Parsing-impl.h: 266:30: error: expected initializer before '<' token
   _collectHeader(const char* headerName, const char* headerValue) {
Parsing-impl.h: In member function void storeArgHandler<ServerType>:Shockedperator()(String&, String&, const String&, int, int, int, int)
 
Parsing-impl.h: 281:11: error: 'ESP8266WebServerTemplate' was not declared in this scope
   urlDecode(data.substring(pos, key_end_pos))
Parsing-impl.h:281: note  suggested alternative
 
Parsing-impl.h:25: In file included from
WifiMeteo.ino:4: from
ESP8266WebServer.h:68: note    esp8266webserver  ESP8266WebServerTemplate
   class ESP8266WebServerTemplate

Please I really need help
Thanks
Sylvain Bissonnette
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem when upgrading to 2.7.1
Reply #1 - Jun 16th, 2020 at 2:39pm
Print Post  
It is not clear if you are reporting an intellisense or build problem.

Please follow the guide in yellow above.
  
Back to top
WWW  
IP Logged
 
Sylvain
Junior Member
**
Offline


Posts: 67
Location: Montreal, Canada
Joined: Nov 13th, 2014
Re: Problem when upgrading to 2.7.1
Reply #2 - Jun 17th, 2020 at 6:41pm
Print Post  
It's a build problem,  Could you told me if I make a project with example the core release 2.5.1
I can't compile it with a core 2.7.1,  it's look like many #include are not the same between
release?  As soon I recompile my code with the old core it is working.

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Problem when upgrading to 2.7.1
Reply #3 - Jun 17th, 2020 at 8:24pm
Print Post  
Please follow the guide in yellow above.
  
Back to top
WWW  
IP Logged
 
Sylvain
Junior Member
**
Offline


Posts: 67
Location: Montreal, Canada
Joined: Nov 13th, 2014
Re: Problem when upgrading to 2.7.1
Reply #4 - Jun 17th, 2020 at 9:16pm
Print Post  
Here is the output file,  When I select in VM explorer the core 2.7.1 I have this result, almost all my #include became in error,  if I go back to 2.6.3 the compilation work.

The other part of my question, if I make a project with example the core release 2.6.3
I can't compile it with a core 2.7.1?,  it's look like many #include are not the same between
release?  is there a way to do, it's almost the same each time I upgrade the core.

Thanks for your time
Sylvain Bissonnette
  

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


Posts: 2174
Joined: Feb 13th, 2019
Re: Problem when upgrading to 2.7.1
Reply #5 - Jun 18th, 2020 at 1:00pm
Print Post  
If you comment out the below includes , this should compile again on core 2.7.1 from testing on my machine, and the first two are included as part of the ESP8266WebServer.h file.

Code
Select All
#include <Parsing-impl.h>
#include <ESP8266WebServer-impl.h>
#include <ESP8266WebServerSecure.h>
 



Am I correct in thinking you used the Add Library > Current Platform > ESP8266 Webserver to get to the problem situation?
  
Back to top
 
IP Logged
 
Sylvain
Junior Member
**
Offline


Posts: 67
Location: Montreal, Canada
Joined: Nov 13th, 2014
Re: Problem when upgrading to 2.7.1
Reply #6 - Jun 21st, 2020 at 2:23pm
Print Post  
Hi Simon and Tim,

    I didn't had time to try your solution, here in Montreal the weather is Awesome 33 deg full sunshine, so I pass all my time outside, I will give it a try this week, so thanks for your reply, I will give you feedback as soon I can.

Sylvain Bissonnette
  
Back to top
 
IP Logged
 
Sylvain
Junior Member
**
Offline


Posts: 67
Location: Montreal, Canada
Joined: Nov 13th, 2014
Re: Problem when upgrading to 2.7.1
Reply #7 - Jun 21st, 2020 at 7:24pm
Print Post  
I just take time to try,  It's help but now I have a tone of error from lib 
WebServer, Please check the log file

Thanks
Sylvain
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint