How to embed binary files into esp32 firmware

hello ,

I’ve also tried without success to embed binary file into my webserver .

This is my platformio.ini :

[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32dev
framework = espidf
monitor_speed = 115200
debug_tool = esp-prog
build_flags =
-DCOMPONENT_EMBED_TXTFILES=src/logo.png

You can find attache also printscreen of the source with the error

please advise what I’m doing wrong ??
Moran.