I’m puzzled. While working inside the Web-IDE works great, exporting the project to GCC does not compile.
The compiler claims that it cannot find . What is completely right, as this file is included inside a .h file, and this .h file is included from a .c file ( not .cpp) and the cpp-compiler knows nothing about the includes for some stl files.
This error has been introduced within the last month, as I could compile the code before perfectly.
I tried both the 4.2 and the 5.2 compilers - No Luck
In file included from ./BLE_API/ble/Gap.h:20:0,
from ./BLE_API/ble/ble.h:21,
from nRF51822/source/nordic_sdk/components/ble/ble_services/ble_dfu/ble_dfu.h:53,
from nRF51822/source/nordic_sdk/components/ble/ble_services/ble_dfu/ble_dfu.c:33:
./BLE_API/ble/BLEProtocol.h:22:21: fatal error: algorithm: No such file or directory
compilation terminated.
make: *** [nRF51822/source/nordic_sdk/components/ble/ble_services/ble_dfu/ble_dfu.o] Error 1
I’m puzzled. While working inside the Web-IDE works great, exporting the project to GCC does not compile.
Are you referring to mbed 2 online compiler? What toolchain are you using? version? C file ? Can you provide a simple example? or more specific details