Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

cpp/ble-scan-bracelet not compiling #8

Open
@sideralis

Description

@sideralis

When trying to compile with Intel System Studio IoT Edition, I am getting a lot of errors:
docker exec -i c01a0741191ec8070e38d7efba43bf11c58aa18e9a7afc7c8920e19f3e63b808 /bin/bash -c "cd /workspace/BLE_scan_bracelet/Debug && i586-poky-linux-g++ -std=c++1y -I/usr/include/upm -I/usr/include/mraa -O0 -g3 -Wall -c -fmessage-length=0 -std=c++1y --sysroot= -m32 -march=i586 -c -ffunction-sections -fdata-sections -o src/src/ble-scan.o ../src/src/ble-scan.cpp"
In file included from ../src/src/ble-scan.cpp:68:0:
/usr/include/bluetooth/bluetooth.h: In function 'uint64_t bt_get_le64(const void*)':
/usr/include/bluetooth/bluetooth.h:177:9: error: expected identifier before '*' token
return bt_get_unaligned((const uint64_t *) ptr);
^
...
I am not familiar with docker and I don't understand how I can modify the file bluetooth.h to try to debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions