damogranlabs / VS-Code-STM32-IDE

Use VS Code as STM32 IDE with CubeMX
MIT License
247 stars 52 forks source link

Try build and get this: "undefined reference to .... #43

Closed SergNif closed 3 years ago

SergNif commented 3 years ago

I am trying compile project. But get mistake.

I tried make simple project for stm32f103c8. It like for me. but this project for Oled 0.96 ssd1306 can`t to compile.

my project https://yadi.sk/d/TUBpLaJGUWKadQ [Uploading mix.zip…]() 11

SergNif commented 3 years ago

12

schperplata commented 3 years ago

What you are seeing here is not related to ideScripts project, but a basic compile/link -time error. What linker (ld.exe) is telling you is: undefined reference to 'SSD1306_Init' which basically means that you are calling function SSD1306_Init() that is not defined or definition can't be discovered by the linker. Make sure you add all source files on correct places and includes are properly resolved.

Closing this issue as it is not related to ideScripts.