Closed yanyanem closed 5 years ago
Sloved by this:
mbed.h error : download https://os.mbed.com/users/mbed_official/code/mbed/archive/3a7713b1edbc.tar.gz extract to ./mbed/ replace old one.
the old one lost mbed.h and platform folder , drivers folder.
Dear, I got the error mbed.h: No such file or directory after mbed deploy in kws_simple_test using conda python2.7 env on ubuntu 16.04 . My question is : where is the mbed.h ?
Compile Error ------------------------------------------
Compile [ 97.1%]: main.cpp [Fatal Error] kws.h@22,18: mbed.h: No such file or directory [ERROR] In file included from ../Source/KWS/KWS_DS_CNN/kws_ds_cnn.h:22:0, from ../Examples/simple_test/main.cpp:23: ../Source/KWS/kws.h:22:18: fatal error: mbed.h: No such file or directory
include "mbed.h"
compilation terminated.
Compile command: ---------------------------------------
mbed compile -m DISCO_F746NG -t GCC_ARM --source . \ --source ../Source/KWS --source ../Source/NN --source ../Source/MFCC \ --source ../Source/local_NN --source ../Examples/simple_test \ --source ../CMSIS_5/CMSIS/NN/Include --source ../CMSIS_5/CMSIS/NN/Source \ --source ../CMSIS_5/CMSIS/DSP/Include --source ../CMSIS_5/CMSIS/DSP/Source \ --source ../CMSIS_5/CMSIS/Core/Include \ --profile ../release_O3.json -j 1
GCC_ARM version 6.3.1 ------------------------------------
ai@ubuntu:~/eric/git/ML-KWS-for-MCU/Deployment/Source$ arm-none-eabi-gcc --version arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors 6-2017-q2-update) 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437]
Can not find mbed.h under kws_simple_test --------------------------------------
(newpy27) ai@ubuntu:~/eric/git/ML-KWS-for-MCU/Deployment/kws_simple_test$ find -name "mbed.h" (newpy27) ai@ubuntu:~/eric/git/ML-KWS-for-MCU/Deployment/kws_simple_test$