Skip to content

lite micro fails to build #3192

@nevakrien

Description

@nevakrien

ran the code in mingw and got

Owner@5CD016BMV5 MINGW64 /c/Users/Owner/Desktop/gesture-bot/tflite-micro
$ make -f tensorflow/lite/micro/tools/make/Makefile test_hello_world_test
--2025-09-06 18:37:33--  https://github.com/google/flatbuffers/archive/v23.5.26.zip
Loaded CA certificate '/usr/ssl/certs/ca-bundle.crt'
Resolving github.com (github.com)... 20.217.135.5
Connecting to github.com (github.com)|20.217.135.5|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/google/flatbuffers/zip/refs/tags/v23.5.26 [following]
--2025-09-06 18:37:44--  https://codeload.github.com/google/flatbuffers/zip/refs/tags/v23.5.26
Resolving codeload.github.com (codeload.github.com)... 20.217.135.8
Connecting to codeload.github.com (codeload.github.com)|20.217.135.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3209602 (3.1M) [application/zip]
Saving to: ‘/tmp/tmp.ZhM8pYYlw6/v23.5.26.zip’

/tmp/tmp.ZhM8pYYlw6/v23.5.26.zip                100%[=======================================================================================================>]   3.06M  4.58MB/s    in 0.7s

2025-09-06 18:37:56 (4.58 MB/s) - ‘/tmp/tmp.ZhM8pYYlw6/v23.5.26.zip’ saved [3209602/3209602]

hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
Switched to a new branch 'tflm'
Applying /c/Users/Owner/Desktop/gesture-bot/tflite-micro/tensorflow/lite/micro/tools/make/downloads/flatbuffers/.//../../flatbuffers.patch to /c/Users/Owner/Desktop/gesture-bot/tflite-micro/tensorflow/lite/micro/tools/make/downloads/flatbuffers/./
error: patch failed: include/flatbuffers/base.h:1
error: include/flatbuffers/base.h: patch does not apply
error: patch failed: include/flatbuffers/default_allocator.h:39
error: include/flatbuffers/default_allocator.h: patch does not apply
error: patch failed: include/flatbuffers/flexbuffers.h:495
error: include/flatbuffers/flexbuffers.h: patch does not apply
error: patch failed: include/flatbuffers/util.h:23
error: include/flatbuffers/util.h: patch does not apply
tensorflow/lite/micro/tools/make/Makefile:627: *** Something went wrong with the flatbuffers download: .  Stop.

Owner@5CD016BMV5 MINGW64 /c/Users/Owner/Desktop/gesture-bot/tflite-micro
``

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