Sony's Developer World forum

    • Home
    • Forum guidelines

    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

    Spresense
    2
    10
    2706
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MatBen 0 last edited by

      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.
      
      K 1 Reply Last reply Reply Quote
      • K
        KamilTomaszewski DeveloperWorld @MatBen 0 last edited by

        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

        M 1 Reply Last reply Reply Quote
        • M
          MatBen 0 @KamilTomaszewski last edited by

          Hi @KamilTomaszewski,
          I tried that but its not working, the results the same

          K 1 Reply Last reply Reply Quote
          • K
            KamilTomaszewski DeveloperWorld @MatBen 0 last edited by

            Hi @MatBen-0

            Could you please check if you have a problem with only one config or all of them?

            M 1 Reply Last reply Reply Quote
            • M
              MatBen 0 @KamilTomaszewski last edited by

              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
              
              
              K 1 Reply Last reply Reply Quote
              • K
                KamilTomaszewski DeveloperWorld @MatBen 0 last edited by

                Hi @MatBen-0,

                What version of the SDK are you using?

                M 1 Reply Last reply Reply Quote
                • M
                  MatBen 0 @KamilTomaszewski last edited by

                  Hi @KamilTomaszewski, I'm using the latest version v2.5

                  K 1 Reply Last reply Reply Quote
                  • K
                    KamilTomaszewski DeveloperWorld @MatBen 0 last edited by

                    @MatBen-0 Could try to run make distclean and configure and build again?

                    M 1 Reply Last reply Reply Quote
                    • M
                      MatBen 0 @KamilTomaszewski last edited by

                      Hi @KamilTomaszewski,
                      I did as you've told the result is same

                      K 1 Reply Last reply Reply Quote
                      • K
                        KamilTomaszewski DeveloperWorld @MatBen 0 last edited by

                        Hi @MatBen-0,

                        What OS are you using?

                        1 Reply Last reply Reply Quote
                        • First post
                          Last post
                        Developer World
                        Copyright © 2021 Sony Group Corporation. All rights reserved.
                        • Contact us
                        • Legal