Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
Unsolved Micro speech Example not working
-
tools/config.py examples/tf_example_helloworld gives the following error
Makefile:38: /tools/Sdk.mk: No such file or directory make: *** No rule to make target '/tools/Sdk.mk'. Stop. Post process failed. 512 Try 'make distclean' first.
-
Hi @MatBen-0,
It looks like you don't have development tools: https://developer.sony.com/develop/spresense/docs/sdk_set_up_en.html#_setup_for_linux
Please try to run:
source ~/spresenseenv/setup
Best Regards,
Kamil Tomaszewski -
Hi @KamilTomaszewski,
I tried that but its not working, the results the same -
Hi @MatBen-0
Could you please check if you have a problem with only one config or all of them?
-
Hi @KamilTomaszewski, I managed to make it work but now when upon make, the task gets failed with
./tf_example_main.c:43:10: fatal error: tensorflow/lite/micro/spresense/debug_log_callback.h: No such file or directory 43 | #include "tensorflow/lite/micro/spresense/debug_log_callback.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. ERROR: arm-none-eabi-gcc failed: 1 command: arm-none-eabi-gcc -MT ./tf_example_main.c.home.ssup.spresense.examples.tf_example.o -M '-fno-builtin' '-mabi=aapcs' '-ffunction-sections' '-fdata-sections' '-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-g' '-Os' '-fno-strict-aliasing' '-fno-strength-reduce' '-fomit-frame-pointer' '-mcpu=cortex-m4' '-mthumb' '-mfpu=fpv4-sp-d16' '-mfloat-abi=hard' '-isystem' '/home/ssup/spresense/nuttx/include' '-I.' '-isystem' '/home/ssup/spresense/sdk/include' '-isystem' '/home/ssup/spresense/nuttx/include' '-I.' '-isystem' '/home/ssup/spresense/sdk/include' '-D__NuttX__' '-D__NuttX__' '-D__KERNEL__' '-pipe' '-gdwarf-3' '-isystem' '/home/ssup/spresense/sdk/modules/include' '-I' '/home/ssup/spresense/sdk/../externals/tensorflow/tflite-micro-spresense-examples-1.0.0' '-I' '/home/ssup/spresense/sdk/system/include' '-I' '/home/ssup/spresense/sdk/apps/include' ./tf_example_main.c
-
Hi @MatBen-0,
What version of the SDK are you using?
-
Hi @KamilTomaszewski, I'm using the latest version v2.5
-
@MatBen-0 Could try to run
make distclean
and configure and build again? -
Hi @KamilTomaszewski,
I did as you've told the result is same -
Hi @MatBen-0,
What OS are you using?