ARMmbed/ble

ERROR: undefined reference to `createBLEInstance()'

Closed this issue · 0 comments

white trying to compile source code offline i'm having the same issue over and over again.

it has been similarly reported here https://developer.mbed.org/questions/54408/Build-error/

i'm unable to find where is the problem in the linker, i'm using the 16k S110 version

Linking CXX executable BLE_HEART_RATE.elf
CMakeFiles/BLE_HEART_RATE.elf.dir/main.cpp.o: In function _GLOBAL__sub_I_IRLed': main.cpp:(.text.startup._GLOBAL__sub_I_IRLed+0x8a): undefined reference tocreateBLEInstance()'
collect2: error: ld returned 1 exit status
make[2]: *** [BLE_HEART_RATE.elf] Error 1
make[1]: *** [CMakeFiles/BLE_HEART_RATE.elf.dir/all] Error 2
make: *** [all] Error 2