B4R Question Error when compiling in an ESP32

Johan Hormaza

Well-Known Member
Licensed User
Longtime User
B4X:
B4R Versión: 2.51
Parseando código.    (0.02s)
Compilando código    (0.07s)
Compilando proyecto    (0.17s)
Compilando y distribuyendo proyecto Ino (ESP32 Dev Module - COM8)    Error
Cargando configuración...
Inicializando paquetes...
Preparando tarjetas...
Verficando...
In file included from c:\users\luxhor\documents\arduino\hardware\espressif\esp32\tools\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\5.2.0\functional:48:0,
                 from C:\Users\LuxHor\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi\src/WiFiGeneric.h:28,
                 from C:\Users\LuxHor\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi\src/WiFiSTA.h:28,
                 from C:\Users\LuxHor\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi\src/WiFi.h:32,
                 from E:\SegurityVictor\ConfigureWifi_Esp32\Objects\bin\sketch\rESP8266WiFi.h:4,
                 from E:\SegurityVictor\ConfigureWifi_Esp32\Objects\bin\sketch\B4RDefines.h:25,
                 from E:\SegurityVictor\ConfigureWifi_Esp32\Objects\bin\sketch\AsyncStreams.cpp:1:
c:\users\luxhor\documents\arduino\hardware\espressif\esp32\tools\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\5.2.0\new: In function 'void* operator new(std::size_t, void*)':
c:\users\luxhor\documents\arduino\hardware\espressif\esp32\tools\xtensa-esp32-elf\xtensa-esp32-elf\include\c++\5.2.0\new:129:51: error: declaration of 'void* operator new(std::size_t, void*) noexcept' has a different exception specifier
 inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
                                                   ^
In file included from E:\SegurityVictor\ConfigureWifi_Esp32\Objects\bin\sketch\B4RDefines.h:24:0,
                 from E:\SegurityVictor\ConfigureWifi_Esp32\Objects\bin\sketch\AsyncStreams.cpp:1:
rCore.h:18: error: from previous declaration 'void* operator new(size_t, void*)'
 extern void *operator new( size_t size, void *ptr );
              ^
Se encontraron múltiples librerías para "WiFi.h"
Usado: C:\Users\LuxHor\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi
 No usado: C:\Program Files\Arduino\libraries\WiFi
exit status 1
Error compiling in an ESP32. This happened after you upgraded the ESP32 module SDK. Can someone help me with this please?
 

Attachments

  • Archivo.zip
    1.1 KB · Views: 356
Top