9 years, 12 months ago.

BLE Beacon Example Fails to build

I've imported this example and I'm getting this error when I build: Error: Cannot open source input file "compiler_abstraction.h": No such file or directory in "nRF51822/nordic/nrf-sdk/app_common/app_util.h", Line: 27, Col: 34 while build in on-line environment. Any ideas?

Question relating to:

/ BLE_iBeacon Featured
Beacon demo for the BLE API using the nRF51822 native mode drivers

2 Answers

9 years, 3 months ago.

Hi Niall, I have the same error. Did you achieve to resolve it ? I think that I properly set my target in the online compiler.. Best regards, Pierre

Hi Pierre, Yes my problem was that I hadn't changed the project to the Nordic device. It now compiles fine for me. BR

posted by Niall Cooling 22 Jan 2015
9 years, 11 months ago.

Hello,

did you properly set your target in the online compiler? I have just tested the example, compiles without any error as it is.

Regards,
0xc0170

I'd just imported the program as I did with BLE_HeartRate (which worked fine) and tried to compile. I hadn't spotted that it had defaulted to the 1768 rather than the Nordic. Thanks for the pointer...

posted by Niall Cooling 09 May 2014