Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译出错,display重复定义 #16

Open
Rem0uld opened this issue May 15, 2021 · 3 comments
Open

编译出错,display重复定义 #16

Rem0uld opened this issue May 15, 2021 · 3 comments

Comments

@Rem0uld
Copy link

Rem0uld commented May 15, 2021

Linking: .build/candy_ble_2_pro_v1_default.elf [ERRORS]
|
| d:/qmk_msys/mingw64/bin/../lib/gcc/arm-none-eabi/10.1.0/../../../../arm-none-eabi/bin/ld.exe: .build/obj_candy_ble_2_pro_v1_default/keyboards/candy_ble_2/pro_v1/pro_v1.o:D:\QMK\52840\qmk/keyboards/candy_ble_2/ssd1306.h:70: multiple definition of display'; .build/obj_candy_ble_2_pro_v1_default/ssd1306.o:D:\QMK\52840\qmk/keyboards/candy_ble_2/ssd1306.h:70: first defined here | d:/qmk_msys/mingw64/bin/../lib/gcc/arm-none-eabi/10.1.0/../../../../arm-none-eabi/bin/ld.exe: .build/obj_candy_ble_2_pro_v1_default/keyboards/candy_ble_2/keymaps/default/keymap.o:D:\QMK\52840\qmk/keyboards/candy_ble_2/ssd1306.h:70: multiple definition of display'; .build/obj_candy_ble_2_pro_v1_default/ssd1306.o:D:\QMK\52840\qmk/keyboards/candy_ble_2/ssd1306.h:70: first defined here
| collect2.exe: error: ld returned 1 exit status
|
make[1]: *** [tmk_core/rules.mk:288:.build/candy_ble_2_pro_v1_default.elf] 错误 1
make[1]: 离开目录“/d/QMK/52840/qmk”

@H-QYan
Copy link

H-QYan commented Aug 11, 2021

你好我也遇到了同样问题,请问您最后是如何解决的呢?

@H-QYan
Copy link

H-QYan commented Aug 23, 2021

我找到了解决办法,请在keymaps文件夹的config文件中注释掉#define SSD1306OLED取消使用ssd1306(虽然我不知道别人为啥可以用)

@LQDRCXK
Copy link

LQDRCXK commented Nov 11, 2022

搞定了没,正常吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants