Page 1 of 1

Build error to embed HTML, CSS and SVG

Posted: Thu Oct 22, 2020 2:50 pm
by honestech
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.
*** [.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'.
It seems like it occurs while trying to embed the CSS file. I looked following line at CMakeLists.txt in that component.

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)
But I can't find why finds

Code: Select all

style.css.S
file in build directory.