[BUG]Pull request #960 generate a compiling error with activated CAMERA_DEVICE = CAMERA_MODEL_AI_THINKER
DivingDuck opened this issue · 3 comments
Describe the bug
Last code update from pull request #960 generates a compiler error when a camera modul is activated (in my case CAMERA_DEVICE = CAMERA_MODEL_AI_THINKER
)
Error:
Involved files:
configuration.h, line 493
camera.cpp, line 81
**'HTTP_Server' has not been declared
name followed by '::' must be a class or namespace name**
To Reproduce
Activate CAMERA_DEVICE = CAMERA_MODEL_AI_THINKER
in configuration.h, line 493
Expected behavior
n/a, compiling w/o error
Screenshots
ESP3D Firmware:
-
ESP3D FW version: 3.0.0.a225
-
ESP3D-WebUI Version: 3.0.0-a42S2
-
Wifi mode: STA
-
Flash method: OTA
Build with VSC and PlatformIO: -
Any change done in FW:
see configuration.h in attachment
Target Firmware:
- Name: Smoothieware
Board used (please complete the following information):
- MCU: ESP32
- Name: ESP32CAM
- Flash size: 4M
Additional context
Up to last update ESP3D was compiling fine.
Turning camera.cpp, line 81 into a comment line will compile the firmware.
After uploading the new firmware I recognize in -->Settings --> Features a error message parsing data error, data are incorrect
Attachment:
Edit: forgot attachment...
Thank your for submiting, please be sure you followed template or your issue may be dismissed. if you deleted the template it is here
Indeed this case did not go thrue the CI test and I forget to add the corresponding header, thank you for raising the issue - it is now fixed 265e0e6
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.