olikraus / u8glib

Arduino Monochrom Graphics Library for LCDs and OLEDs
https://github.com/olikraus/u8glib/wiki
Other
1.24k stars 313 forks source link

Using Platformio I cannot compile u8glib library because of following error - undefined reference to `u8g_com_arduino_std_sw_spi_fn' #505

Open ctbully opened 4 years ago

ctbully commented 4 years ago

c:/users/john/.platformio/packages/toolchain-gccarmnoneeabi/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld.exe: .pio\build\bluepill_f103c8\lib3a1\libU8glib-ARM_ID1691.a(u8g_dev_pcd8544_84x48.c.o):(.data.u8g_dev_pcd8544_84x48_sw_spi+0x8): undefined reference to `u8g_com_arduino_std_sw_spi_fn' collect2.exe: error: ld returned 1 exit status *** [.pio\build\bluepill_f103c8\firmware.elf] Error 1

olikraus commented 4 years ago

I do not work any more on u8glib. Would u8g2 be an option?