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 How to load .ino with tabs (Read 1358 times)
perigalacticon
Junior Member
**
Offline


Posts: 66
Location: detroit area
Joined: Nov 7th, 2016
How to load .ino with tabs
Jan 28th, 2023 at 9:24pm
Print Post  
I am trying to load a library example sketch "CameraWebServer.ino" for the ESP32cam board.

The sketch has 4 tabs including the main .ino file.  The files in the sketch directory are:

app_httpd.cpp
camera_index.h
camera_pins.h
CameraWebServer.ino

and these are the tabs visible when CameraWebServer.ino is opened in the Arduino IDE.

When I 1st compiled it had an error it couldn't find a function, so I added #include statements for the 3 other files in the tabs.  Then when I compile it has this error:

Code (C++)
Select All
Compiling 'CameraWebServer_mod' for 'AI Thinker ESP32-CAM
Build Folder:
esp32_esp32cam/Debug"

CameraWebServer_mod.ino: 3:23: fatal error: app_httpd.h: No such file or directory
An error was encountered during the 'Deep Search' library discovery process.
Build failed for project 'CameraWebServer_mod' 



So there is a app_httpd.cpp file with no app_httpd.h file for this Arduino project, how should this be handled?

« Last Edit: Jan 28th, 2023 at 9:25pm by perigalacticon »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12188
Location: United Kingdom
Joined: Apr 10th, 2010
Re: How to load .ino with tabs
Reply #1 - Jan 28th, 2023 at 9:30pm
Print Post  
Please undo any changes you have made to the example code. in visual micro, the same code compiles as does in the arduino ide. If that fails then we need to look at your config.

Tabs in the arduino ide are the files in the project folder or below. In Visual Studio these files are shown in the solution explorer. Please show an image of your Solution Explorer when the project is open. 

+ Also follow the guide in yellow above
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint