Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ble/BLE.h not found #2

Open
ghost opened this issue Mar 30, 2018 · 0 comments
Open

ble/BLE.h not found #2

ghost opened this issue Mar 30, 2018 · 0 comments

Comments

@ghost
Copy link

ghost commented Mar 30, 2018

$ cp -rp calliope-project-template/ hello
$ cd hello/
$ yt update
info: get versions for calliope-mini-classic-gcc
info: download [email protected] from the public module registry
info: get versions for mbed-gcc
info: download [email protected] from the public module registry
info: get versions for microbit
info: download [email protected] from GitHub calliope-mini/microbit
info: get versions for microbit-dal
info: download [email protected] from GitHub calliope-mini/microbit-dal
info: get versions for mbed-classic
info: download mbed-classic@microbit_hfclk+mb6-calliope-1.0.0 from GitHub calliope-mini/mbed-classic
info: get versions for ble
info: download [email protected]+mb3 from GitHub lancaster-university/BLE_API
info: get versions for ble-nrf51822
info: download [email protected]+mb7 from GitHub lancaster-university/nRF51822
info: get versions for nrf51-sdk
info: download [email protected]+mb4 from GitHub lancaster-university/nrf51-sdk
$ mkdir build
$ cd build/
$ cmake ..
GCC version is: 7.2.1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/peter/dev/calliope/hello/build
$ make
Scanning dependencies of target microbit-dal
[ 1%] Building CXX object CMakeFiles/microbit-dal.dir/yotta_modules/microbit-dal/source/bluetooth/MicroBitEventService.cpp.obj
In file included from /home/peter/dev/calliope/hello/yotta_modules/microbit-dal/source/bluetooth/MicroBitEventService.cpp:32:0:
/home/peter/dev/calliope/hello/yotta_modules/microbit-dal/inc/bluetooth/MicroBitEventService.h:30:10: fatal error: ble/BLE.h: No such file or directory
#include "ble/BLE.h"
^~~~~~~~~~~
compilation terminated.
CMakeFiles/microbit-dal.dir/build.make:62: die Regel für Ziel „CMakeFiles/microbit-dal.dir/yotta_modules/microbit-dal/source/bluetooth/MicroBitEventService.cpp.obj“ scheiterte
make[2]: *** [CMakeFiles/microbit-dal.dir/yotta_modules/microbit-dal/source/bluetooth/MicroBitEventService.cpp.obj] Fehler 1
CMakeFiles/Makefile2:67: die Regel für Ziel „CMakeFiles/microbit-dal.dir/all“ scheiterte
make[1]: *** [CMakeFiles/microbit-dal.dir/all] Fehler 2
Makefile:83: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
$ find .. -name "BLE.h"
../yotta_modules/ble/ble/BLE.h
$ echo ???
???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants