|
下面是復制的console內容

<Linking>
error #10056: symbol "main" redefined: first defined in "./main.obj"; redefined in "./oled project/oled.obj"
remark #10372-D: (ULP 4.1) Detected uninitialized Port A in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
error #10010: errors encountered during linking; "oled.out" not built
remark #10372-D: (ULP 4.1) Detected uninitialized Port B in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port C in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port D in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
>> Compilation failure
makefile:188: recipe for target 'oled.out' failed
gmake[1]: *** [oled.out] Error 1
makefile:184: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****

圖片2,3是路徑,我都包含進去了的,然后工程里也沒有標紅,但是就是有錯誤
網上也搜過了,試了很多辦法就是不行,官網有類似的,但是也沒看出來是咋解決的。
|
-
3.png
(48.56 KB, 下載次數: 94)
下載附件
2021-7-30 16:46 上傳
圖3
-
2.png
(41.94 KB, 下載次數: 70)
下載附件
2021-7-30 16:46 上傳
圖2
-
1.png
(28.99 KB, 下載次數: 75)
下載附件
2021-7-30 16:46 上傳
圖1
|