Esp8266- mos build error

#1

I am getting this error to run a mos build command for a predefined code on github for dashboard example:

https://jpst.it/2nT4U

#2

esp_system.h: No such file or directory
131 | #include <esp_system.h>
| ^~~~~~~~~~~~~~
compilation terminated.

I’m too lazy to follow links and search through a bunch of text, next time try to find the ^
The compiler is not finding the include files, your project is not correctly setup. What are you trying to compile ?

#3

I am trying to run https://github.com/cesanta/mongoose/tree/master/examples/dashboard this on esp32

#4

You can not build esp32 code on an esp8266, IDFs are different.

#5

You can’t mix Mongoose Embedded Web Server Library 7.0 with Mongoose OS.

Mongoose OS has it’s own mongoose library which is based on mongoose 6.18.

#6

I also tried with esp8266 i get same errors

#7

how can i run a dashboard configuration panel (httpserver) on esp8266 or esp32 ?

#8

Use the http-server library.