Xinyuan-LilyGO / T-Dongle-S3

An ESP32S3 development board that can freely use WIFI, BLE, TF, LED, TFT_LCD functions.
MIT License
144 stars 46 forks source link

complie ERROR example/esp-idf #15

Closed chaabanihoussem closed 1 year ago

chaabanihoussem commented 1 year ago

Hi,

I'm trying to build the example "ESP-IDF" given in the repo I downloaded the repo with the sub-modules, and target set esp32s3, and still build failed :


esp-idf/LovyanGFX/CMakeFiles/idf_LovyanGFX.dir/src/lgfx/v1/misc/pixelcopy.cpp.obj -c /home/hch/esp/esp-idf/examples/T-Dongle-S3/example/ESP-IDF/components/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp /home/hch/esp/esp-idf/examples/T-Dongle-S3/example/ESP-IDF/components/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp: In constructor 'lgfx::v1::pixelcopy_t::pixelcopy_t(const void, lgfx::v1::color_depth_t, lgfx::v1::color_depth_t, bool, const void, uint32_t)': /home/hch/esp/esp-idf/examples/T-Dongle-S3/example/ESP-IDF/components/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp:39:25: error: member 'lgfx::v1::pixelcopy_t::' is used uninitialized [-Werror=uninitialized] 39 | , src_mask ( (1 << src_bits) - 1 ) | ^~~~ /home/hch/esp/esp-idf/examples/T-Dongle-S3/example/ESP-IDF/components/LovyanGFX/src/lgfx/v1/misc/pixelcopy.cpp:40:25: error: member 'lgfx::v1::pixelcopy_t::' is used uninitialized [-Werror=uninitialized] 40 | , dst_mask ( (1 << dst_bits) - 1 ) | ^~~~ cc1plus: some warnings being treated as errors [608/654] Building CXX object esp-idf/LovyanGFX/CMakeFiles/idf_LovyanGFX.dir/src/lgfx/v1/LGFXBase.cpp.obj ninja: build stopped: subcommand failed. ninja failed with exit code 1, output of the command is in the /home/hch/esp/esp-idf/examples/T-Dongle-S3/example/ESP-IDF/build/log/idf_py_stderr_output_59037 and /home/hch/esp/esp-idf/examples/T-Dongle-S3/example/ESP-IDF/build/log/idf_py_stdout_output_59037


waiting for your help Thanks

chaabanihoussem commented 1 year ago

managed to build on esp idf 4.0