Build error to embed HTML, CSS and SVG
Posted: Thu Oct 22, 2020 2:50 pm
Hi, I am building https://github.com/tonyp7/esp32-wifi-manager example in my project. I have added that components correctly, but got the build error.
But I can't find why finds file in build directory.
It seems like it occurs while trying to embed the CSS file. I looked following line at CMakeLists.txt in that component.*** [.pio\build\esp32cam\.pio\build\esp32cam\style.css.S.o] Source '.pio\build\esp32cam\style.css.S' not found, needed by target '.pio\build\esp32cam\.pio\build\esp32cam\style.css.S.o'.
Code: Select all
idf_component_register(SRC_DIRS src
REQUIRES log nvs_flash mdns wpa_supplicant lwip esp_http_server
INCLUDE_DIRS src
EMBED_FILES src/style.css src/code.js src/index.html)
Code: Select all
style.css.S