lovyan03 / LovyanGFX

SPI LCD graphics library for ESP32 (ESP-IDF/ArduinoESP32) / ESP8266 (ArduinoESP8266) / SAMD51(Seeed ArduinoSAMD51)
Other
1.19k stars 210 forks source link

esp-idf にてLovyanGFXをコンパイルしたところ次のようなエラーで中断しました #623

Open kurokouji opened 1 month ago

kurokouji commented 1 month ago

Carefully written Issues are more likely to be given priority. 丁寧に記述された報告は優先して対応される可能性が高くなります。

Environment ( 実行環境 )

Problem Description ( 問題の内容 )

素晴らしいライブラリの提供ありがとうございます。 esp-idf にてLovyanGFXをコンパイルしたところ次のようなエラーで中断しました。 対処方法を教えていただければ幸いです。

$ idf.py --version ESP-IDF v5.4-dev-3201-g46acfdce96

/home/pi/esp/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/platforms/esp32s3/Bus_RGB.cpp: In member function 'virtual bool lgfx::v1::Bus_RGB::init()': /home/pi/esp/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/platforms/esp32s3/Bus_RGB.cpp:159:19: error: 'lcd_periph_signals' was not declared in this scope; did you mean 'lcd_periph_rgb_signals'? 159 | auto sigs = lcd_periph_signals.panels[_cfg.port]; | ^~~~~~ | lcd_periph_rgb_signals /home/pi/esp/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/platforms/esp32s3/Bus_RGB.cpp:307:31: error: 'lcd_periph_signals' was not declared in this scope; did you mean 'lcd_periph_rgb_signals'? 307 | esp_intr_alloc_intrstatus(lcd_periph_signals.panels[_cfg.port].irq_id, isr_flags, | ^~~~~~ | lcd_periph_rgb_signals [1100/1318] Building CXX object esp-idf/LovyanGFX/CMakeFiles/__idf_LovyanGFX.dir/src/lgfx/v1/platforms/esp32s3/Panel_RGB.cpp.obj ninja: build stopped: subcommand failed. ninja failed with exit code 1, output of the command is in the /home/pi/esp/ESP32-TUX/build/log/idf_py_stderr_output_18004 and /home/pi/esp/ESP32-TUX/build/log/idf_py_stdout_output_18004

/home/pi/esp/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/platforms/esp32/common.cpp: In function 'periph_module_t lgfx::v1::i2c::getPeriphModule(int)': /home/pi/esp/ESP32-TUX/components/LovyanGFX/src/lgfx/v1/platforms/esp32/common.cpp:661:37: error: 'const struct i2c_signal_conn_t' has no member named 'module' 661 | return i2c_periph_signal[num].module; | ^~ [12/224] Building CXX object esp-idf/LovyanGFX/CMakeFiles/__idf_LovyanGFX.dir/src/lgfx/v1/touch/Touch_XPT2046.cpp.obj

Expected Behavior ( 期待される動作 )

コンパイル成功

Actual Behavior ( 実際の動作 )

コンパイル途中で中断

// If your code is longer than 30 lines, GIST is preferred.

github-actions[bot] commented 3 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.