Linker error when compiling DA14681 SUOTA project

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
andoridfm2013
Offline
Last seen:5 months 2 weeks ago
加入:2017-04-07 05:11
Linker error when compiling DA14681 SUOTA project

when I want to build a OTA version of my project I got this error, I can build the normal version, please help, thank you

d:/diasemi/smartsnippetsstudio/gcc/4_9-2015q1/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -lble_stack
collect2.exe: error: ld returned 1 exit status

Device:
MT_dialog
Offline
Last seen:2 months 3 weeks ago
工作人员
加入:2015-06-08 11:34
Hi andoridfm2013,

Hi andoridfm2013,

The error code indicates that the enviroment cannot find the ble library, check in the properties of your project. C/C++ Build -> Settings -> Tool Settings -> Cross ARM C Linker -> Libraries and make sure that have selected the SUOTA vesrion as an Active configuration, in the Library search search path make sure that this path is pointing to "../../../../../sdk/interfaces/ble_stack//DA14681-01-Release".

Also please have a look at the post below and check if that setup solves your issue.

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bl...

Thanks MT_Dialog