Adding ug82 to example project .. undefined reference to
Posted: Mon Feb 01, 2021 3:04 pm
Hello All,
Just starting with ESP-IDF..
I got my setup going, Linux Mint with Eclipse & the ESP-IDF plugin. I successfully compiled the Hello World example that comes with the ESP-IDF & then tried adding the ug82 library with the HAL (from https://github.com/nkolban/esp32-snippe ... plays/U8G2) . I followed the instructions but am getting the errors:
/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(hello_world_main.c.obj):(.literal.app_main+0x1c): undefined reference to `u8g2_esp32_gpio_and_delay_cb'
undefined reference to `u8g2_esp32_i2c_byte_cb'
undefined reference to `u8g2_esp32_hal_init'
I've tried clean & full clean, command line build but no joy.
My main file is attached & file structure is attached.
Any help to someone getting started is appreciated!
Leo
Just starting with ESP-IDF..
I got my setup going, Linux Mint with Eclipse & the ESP-IDF plugin. I successfully compiled the Hello World example that comes with the ESP-IDF & then tried adding the ug82 library with the HAL (from https://github.com/nkolban/esp32-snippe ... plays/U8G2) . I followed the instructions but am getting the errors:
/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(hello_world_main.c.obj):(.literal.app_main+0x1c): undefined reference to `u8g2_esp32_gpio_and_delay_cb'
undefined reference to `u8g2_esp32_i2c_byte_cb'
undefined reference to `u8g2_esp32_hal_init'
I've tried clean & full clean, command line build but no joy.
My main file is attached & file structure is attached.
Any help to someone getting started is appreciated!
Leo