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 ESP32 fatal error: Network.h: No such file or directory (Read 1192 times)
wespe
Newbies
*
Offline


Posts: 2
Location: Germany
Joined: Jul 14th, 2024
ESP32 fatal error: Network.h: No such file or directory
Jul 17th, 2024 at 5:17am
Print Post  
cannot compile any more Sad tried so many things, including update. desperately eed advice how to straighten this.

Compiling 'crtl_005' for 'ESP32 Dev Module(esp32_esp32)'


using
Microsoft Visual Studio Community 2022
Arduino IDE for Visual Studio by Visual Micro   22.0

on
Hardware: ESP32 Dev Module(esp32_esp32), Platform=esp32, Package=esp32

as soon as 
#include <WiFi.h> 


getting error 

WiFiGeneric.h: 39:10: fatal error: Network.h: No such file or directory
   39 | #include "Network.h"

   |          ^~~~~~~~~~~

Error compiling libraries
Build failed for project 
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2697
Joined: Feb 13th, 2019
Re: ESP32 fatal error: Network.h: No such file or directory
Reply #1 - Jul 17th, 2024 at 8:25am
Print Post  
Thanks for the report.

If you enable the vMicro > Compiler > Deep Search: "Libraries + Accurate Prototype Insertion (Gcc-E)" option, and rebuild, it should then find the missing files as part of the compilation.

If this fails please attach the updated build output for us to review.
« Last Edit: Jul 17th, 2024 at 8:26am by Simon@Visual Micro »  
Back to top
IP Logged
 
wespe
Newbies
*
Offline


Posts: 2
Location: Germany
Joined: Jul 14th, 2024
Re: ESP32 fatal error: Network.h: No such file or directory
Reply #2 - Jul 24th, 2024 at 5:58am
Print Post  
seams, I am over it. thank you so much for valuable advice. Though I would swear I turned off the deep search only when the fuzz began... Undecided
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint