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 Compiler flags being ignored on ESP32 (Read 376 times)
Acuario
Senior Member
****
Offline


Posts: 256
Location: Spain
Joined: Aug 28th, 2015
Compiler flags being ignored on ESP32
Nov 14th, 2021 at 5:57am
Print Post  
I have a strange problem that has occurred a couple of times.
When compiling for ESP32 the build fails with a 'No such file or directory' error.
The file that is missing is for the ESP8266, not the ESP32.
Examining the code ESP32 is defined and ESP8266 is not defined but the compiler is trying to include the ESP8266 include.

The latest example of this is with SoftwareSerial from https://github.com/plerup/espsoftwareserial
When including the Delegate.h file the compiler looks for <c_types.h> and fails.

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Acuario
Senior Member
****
Offline


Posts: 256
Location: Spain
Joined: Aug 28th, 2015
Re: Compiler flags being ignored on ESP32
Reply #1 - Nov 14th, 2021 at 6:12am
Print Post  
This Topic was moved here from Installation & Troubleshooting [move by] Acuario.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint