oberluz / pycoral

Python API for ML inferencing and transfer-learning on Coral devices
https://coral.ai
Apache License 2.0
34 stars 2 forks source link

Trying to build 2.13 with Python 3.11 on Windows 11 #3

Closed nmaas87 closed 10 months ago

nmaas87 commented 10 months ago

I have been trying to build the latest version using your 2.13 ( https://github.com/oberluz/pycoral/tree/2_13_0 ) repo/tag.

As I did not wanted to clutter the system for a one time build I installed latest Docker, switched to Windows containers and tryed to build the Docker Image needed to build the libs ( https://github.com/oberluz/pycoral/blob/2_13_0/scripts/windows/docker_make_image.bat - using the Dockerfile e.g. from https://github.com/oberluz/libcoral/blob/9c6dbdf310f9adc25a4f2f84306c06630f40d1ae/docker/Dockerfile.windows ) Trying to build that image does not work out: The chocolatey installer insists on having to restart the container during install because of NetFX runtimes - and even if that were to work, the following versions of e.g. msys2 do not exist anymore and would fail to install etc etc. So as I saw this was no option and I did not intended to put much time into resolving the choco install in the first place, I started to install everything on the main system itself / Windows 11 latest version here.

Only difference to the install described in the Dockerfile was that I got the latest mssys2 version and latest libusb - and tried to play around with different Bazel versions:

If you try to run with a latest Bazel 6.x version, you get errors in regards to the .bazelrc " --incompatible_restrict_string_escapes=false" configs. Running with Bazel 4.0.0 gives an error at least Bazel 4.2.1 needs to be used Using Bazel 4.2.1 cannot download a dependcy from some Google Repo Using latest Bazel 4 / 4.2.4 gives following error if the .bazelrc has been changed to:


build --subcommands
build --verbose_failures
build --enable_platform_specific_config

#build:linux --crosstool_top=@crosstool//:toolchains
#build:linux --compiler=gcc

#build:macos --cxxopt=-std=c++17

build:windows --incompatible_restrict_string_escapes=false
build:windows --cxxopt=/std:c++latest````

````C:\pycoral>echo off
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.11.31
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Starting local Bazel server and connecting to it...
Loading: 1 packages loaded
ERROR: Traceback (most recent call last):
        File "C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/tensorflow/tsl/platform/default/rules_cc.bzl", line 6, column 28, in <toplevel>
                _cc_shared_library = native.cc_shared_library
Error: no native function or rule 'cc_shared_library'
Available attributes: aar_import, action_listener, alias, android_binary, android_device, android_device_script_fixture, android_host_service_fixture, android_instrumentation_test, android_library, android_local_test, android_sdk, android_tools_defaults_jar, apple_binary, apple_cc_toolchain, apple_static_library, available_xcodes, cc_binary, cc_host_toolchain_alias, cc_import, cc_libc_top_alias, cc_library, cc_proto_library, cc_test, cc_toolchain, cc_toolchain_alias, cc_toolchain_suite, config_feature_flag, config_setting, constraint_setting, constraint_value, environment, existing_rule, existing_rules, exports_files, extra_action, fdo_prefetch_hints, fdo_profile, filegroup, genquery, genrule, glob, j2objc_library, java_binary, java_import, java_library, java_lite_proto_library, java_package_configuration, java_plugin, java_proto_library, java_runtime, java_runtime_alias, java_test, java_toolchain, java_toolchain_alias, label_flag, label_setting, ninja_build, ninja_graph, objc_import, objc_library, package, package_group, package_name, platform, propeller_optimize, proto_lang_toolchain, proto_library, py_binary, py_library, py_runtime, py_test, repository_name, sh_binary, sh_library, sh_test, test_suite, toolchain, toolchain_type, xcode_config, xcode_config_alias, xcode_version
ERROR: Skipping '//src:edgetpu.res': error loading package 'src': in C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/tensorflow/tensorflow.bzl: in C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/tensorflow/core/platform/rules_cc.bzl: Extension file 'tensorflow/tsl/platform/default/rules_cc.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: error loading package 'src': in C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/tensorflow/tensorflow.bzl: in C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/tensorflow/core/platform/rules_cc.bzl: Extension file 'tensorflow/tsl/platform/default/rules_cc.bzl' has errors
INFO: Elapsed time: 0.210s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
    Fetching @local_config_tensorrt; Restarting.
    Fetching @local_config_cuda; Restarting.
    Fetching @local_config_rocm; Restarting.
    Fetching @local_config_remote_execution; Restarting.
PS C:\pycoral>````

Also running it with just something like
````common --experimental_repo_remote_exec

build --subcommands
build --verbose_failures
build --enable_platform_specific_config

#build:linux --crosstool_top=@crosstool//:toolchains
#build:linux --compiler=gcc

#build:macos --cxxopt=-std=c++17

build:windows````

does not help the situation.

I tried then to switch over to Bazel 5.3.2 which directly aborted with the default .bazelrc:

C:\pycoral>echo off


Visual Studio 2019 Developer Command Prompt v16.11.31 Copyright (c) 2021 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x64' INFO: Found applicable config definition build:windows in file c:\pycoral.bazelrc: --incompatible_restrict_string_escapes=false --cxxopt=/std:c++latest ERROR: --incompatible_restrict_string_escapes=false :: Unrecognized option: --incompatible_restrict_string_escapes=false INFO: Found applicable config definition build:windows in file c:\pycoral.bazelrc: --incompatible_restrict_string_escapes=false --cxxopt=/std:c++latest ERROR: --incompatible_restrict_string_escapes=false :: Unrecognized option: --incompatible_restrict_string_escapes=false Loading: 0 packages loaded INFO: Found applicable config definition build:windows in file c:\pycoral.bazelrc: --incompatible_restrict_string_escapes=false --cxxopt=/std:c++latest ERROR: --incompatible_restrict_string_escapes=false :: Unrecognized option: --incompatible_restrict_string_escapes=false


so then I removed that line with the offending restrict thing again... 

common --experimental_repo_remote_exec

build --subcommands build --verbose_failures build --enable_platform_specific_config

build:linux --crosstool_top=@crosstool//:toolchains

build:linux --compiler=gcc

build:macos --cxxopt=-std=c++17

build:windows --incompatible_restrict_string_escapes=false

build:windows --cxxopt=/std:c++latest


... with the result (as with Bazel 6.x) that it cannot find my Python install...
or.. well it DOES find it, and C:\Python311\python.exe is absolutly correct, an executeable and it works perfectly, but Bazel things it does not work...

C:\pycoral>echo off


Visual Studio 2019 Developer Command Prompt v16.11.31 Copyright (c) 2021 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x64' Loading: 0 packages loaded INFO: Build options --cxxopt and --stamp have changed, discarding analysis cache. INFO: Analyzed target //src:edgetpu.res (0 packages loaded, 16 targets configured). INFO: Found 1 target... Target //src:edgetpu.res up-to-date: bazel-bin/src/edgetpu.res INFO: Elapsed time: 0.231s, Critical Path: 0.01s INFO: 1 process: 1 internal. INFO: Build completed successfully, 1 total action INFO: Build option --stamp has changed, discarding analysis cache. WARNING: Download from https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/081771d4a0e9d7d3aa0eed2ef389fa4700dfb23e.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found INFO: Repository local_config_python instantiated at: C:/pycoral/WORKSPACE:31:14: in C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/tensorflow/workspace2.bzl:962:19: in workspace C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/tensorflow/workspace2.bzl:106:21: in _tf_toolchains Repository rule python_configure defined at: C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/third_party/py/python_configure.bzl:298:35: in INFO: Repository local_execution_config_python instantiated at: C:/pycoral/WORKSPACE:31:14: in C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/tensorflow/workspace2.bzl:962:19: in workspace C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/tensorflow/workspace2.bzl:96:27: in _tf_toolchains C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/tensorflow/tools/toolchains/remote_config/configs.bzl:6:28: in initialize_rbe_configs C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/tensorflow/tools/toolchains/remote_config/rbe_config.bzl:158:27: in _tensorflow_local_config Repository rule local_python_configure defined at: C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/third_party/py/python_configure.bzl:279:41: in ERROR: An error occurred during the fetch of repository 'local_config_python': Traceback (most recent call last): File "C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/third_party/py/python_configure.bzl", line 271, column 40, in _python_autoconf_impl _create_local_python_repository(repository_ctx) File "C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/third_party/py/python_configure.bzl", line 212, column 22, in _create_local_python_repository _check_python_bin(repository_ctx, python_bin) File "C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/third_party/py/python_configure.bzl", line 145, column 25, in _check_python_bin auto_config_fail("--define %s='%s' is not executable. Is it the python binary?" % ( File "C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/third_party/remote_config/common.bzl", line 12, column 9, in auto_config_fail fail("%sConfiguration Error:%s %s\n" % (red, no_color, msg)) Error in fail: Configuration Error: --define PYTHON_BIN_PATH='C:\Python311\python.exe' is not executable. Is it the python binary? ERROR: C:/pycoral/WORKSPACE:31:14: fetching python_configure rule //external:local_config_python: Traceback (most recent call last): File "C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/third_party/py/python_configure.bzl", line 271, column 40, in _python_autoconf_impl _create_local_python_repository(repository_ctx) File "C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/third_party/py/python_configure.bzl", line 212, column 22, in _create_local_python_repository _check_python_bin(repository_ctx, python_bin) File "C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/third_party/py/python_configure.bzl", line 145, column 25, in _check_python_bin auto_config_fail("--define %s='%s' is not executable. Is it the python binary?" % ( File "C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/third_party/remote_config/common.bzl", line 12, column 9, in auto_config_fail fail("%sConfiguration Error:%s %s\n" % (red, no_color, msg)) Error in fail: Configuration Error: --define PYTHON_BIN_PATH='C:\Python311\python.exe' is not executable. Is it the python binary? INFO: Repository go_sdk instantiated at: C:/pycoral/WORKSPACE:37:14: in C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/org_tensorflow/tensorflow/workspace0.bzl:135:20: in workspace C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/com_github_grpc_grpc/bazel/grpc_extra_deps.bzl:36:27: in grpc_extra_deps C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/io_bazel_rules_go/go/private/sdk.bzl:431:28: in go_register_toolchains C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/io_bazel_rules_go/go/private/sdk.bzl:130:21: in go_download_sdk Repository rule _go_download_sdk defined at: C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/io_bazel_rules_go/go/private/sdk.bzl:117:35: in ERROR: Analysis of target '//src:_pywrap_coral' failed; build aborted: Configuration Error: --define PYTHON_BIN_PATH='C:\Python311\python.exe' is not executable. Is it the python binary? INFO: Elapsed time: 4.605s INFO: 0 processes. FAILED: Build did NOT complete successfully (1 packages loaded, 23 targets configured) Fetching ...nal/go_sdk; Extracting C:/users/nmaas87/_bazel_nmaas87/migzgzin/external/go_sdk/temp11990675802517563478/go1.18.4.windows-amd64.zip PS C:\pycoral>



To be honest, I never heard of Bazel before this evening and I am currently questioning anything including my own sanity.
I just wanted to get your latest repos built so that you could add them to the releases for completeness sake, but it seems I was a bit too naive about that effort :D
If you have any ideas I am willing to try them, thanks!
oberluz commented 10 months ago

Hi

Can you include the commands you are using to build it?

From the logs above it looks like it is trying to find python 3.11 but its failing to:

ERROR: Analysis of target '//src:_pywrap_coral' failed; build aborted: Configuration Error: --define >PYTHON_BIN_PATH='C:\Python311\python.exe' is not executable. Is it the python binary?

Is it installed?

I've made no changes to the windows build system. I've never tested it myself as I don't have a windows machine.

I suggest you try building 2.7.0 from here first https://github.com/oberluz/pycoral/tree/2_7_0 for python 3.10 or less

nmaas87 commented 10 months ago

Hi, yes its all installed and at the correct location. But it does not work. Looking at this the net has more of these issues, but no one seems to really have a solution, sadly.

Yeah I also tried 2.7.0:

git clone -b 2_7_0 https://github.com/oberluz/pycoral.git
cd pycoral
git submodule init
git submodule update
.\scripts\windows\build.bat

C:\pycoral>echo off
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.11.31
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
INFO: Found applicable config definition build:windows in file c:\pycoral\.bazelrc: --incompatible_restrict_string_escapes=false --cxxopt=/std:c++latest
ERROR: --incompatible_restrict_string_escapes=false :: Unrecognized option: --incompatible_restrict_string_escapes=false
INFO: Found applicable config definition build:windows in file c:\pycoral\.bazelrc: --incompatible_restrict_string_escapes=false --cxxopt=/std:c++latest
ERROR: --incompatible_restrict_string_escapes=false :: Unrecognized option: --incompatible_restrict_string_escapes=false
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/43d6991c2a4cc2ac374e68c029634f2b59ffdfdf.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/tensorflow/runtime/archive/64c92c8013b557087351c91b5423b6046d10f206.tar.gz failed: class java.io.FileNotFoundException GET returned 404 Not Found
Loading: 0 packages loaded
INFO: Found applicable config definition build:windows in file c:\pycoral\.bazelrc: --incompatible_restrict_string_escapes=false --cxxopt=/std:c++latest
ERROR: --incompatible_restrict_string_escapes=false :: Unrecognized option: --incompatible_restrict_string_escapes=false

But it does not work. I guess it could be because the build system is maybe too new (Windows 11, Python 3.11, etc.). Probably some incompabilities there. I might be seing if I can get the Docker Image with the old requirements build - but I am not really sure. I think I will leave this comment open for some additional days and maybe someone got some ideas.

Thanks for your help :)

oberluz commented 10 months ago

I have no idea of the state of those windows build scripts. The pycoral-google repo neever provided any wheels for windows in their releases, so they may have never worked at all!

ERROR: --incompatible_restrict_string_escapes=false :: Unrecognized option: --incompatible_restrict_string_escapes=false

Maybe you need to bump up the bazel version. Search for BAZEL_VER

nmaas87 commented 10 months ago

Yeah, possible. Could be a reason.

No, that error is something else - that parameter has been depecreated on Bazel 5.0.0 release. So going past 4.x did not accept that parameter anymore. I went up to the latest 6er release and just removed the parameter and tried it on a Virtual Maschine, setup with Windows Server 2019 and everything installed by hand. That worked out quite well, however the compile is now failing ( 2.13.0 with Python 3.10) always at the same line

# Configuration: 51a6dcfad66871a4b31950bdfb5a75719d3c48546781ed5c1884f397301050de
# Execution platform: @local_execution_config_platform//:platform
SUBCOMMAND: # @org_tensorflow//tensorflow/lite/core:cc_api_stable [action 'Compiling tensorflow/lite/core/interpreter_builder.cc', configuration: 51a6dcfad66871a4b31950bdfb5a75719d3c48546781ed5c1884f397301050de, execution platform: @local_execution_config_platform//:platform]
cd /d C:/users/administrator/_bazel_administrator/migzgzin/execroot/pycoral
  SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt
    SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\devinit;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\;;C:\Windows\system32;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
    SET PWD=/proc/self/cwd
    SET RUNFILES_MANIFEST_ONLY=1
    SET TEMP=C:\Users\ADMINI~1\AppData\Local\Temp
    SET TMP=C:\Users\ADMINI~1\AppData\Local\Temp
    SET VSLANG=1033
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0601 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /bigobj /Zm500 /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /Iexternal/org_tensorflow /Ibazel-out/x64_windows-opt/bin/external/org_tensorflow /Iexternal/flatbuffers /Ibazel-out/x64_windows-opt/bin/external/flatbuffers /Iexternal/ruy /Ibazel-out/x64_windows-opt/bin/external/ruy /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers /Iexternal/org_tensorflow/tensorflow/lite/schema /Ibazel-out/x64_windows-opt/bin/external/org_tensorflow/tensorflow/lite/schema /Iexternal/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration /Ibazel-out/x64_windows-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration /DTFLITE_KERNEL_USE_XNNPACK /DXNNPACK_DELEGATE_ENABLE_QS8=1 /DXNNPACK_DELEGATE_ENABLE_QU8=1 /DBAZEL_CURRENT_REPOSITORY="org_tensorflow" /showIncludes /MD /O2 /Oy- /DNDEBUG /wd4117 -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" /Gy /Gw /DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION /D_HAS_DEPRECATED_RESULT_OF -D__PRETTY_FUNCTION__=__FUNCSIG__ /std:c++latest /Fobazel-out/x64_windows-opt/bin/external/org_tensorflow/tensorflow/lite/core/_objs/cc_api_stable/interpreter_builder.obj /c external/org_tensorflow/tensorflow/lite/core/interpreter_builder.cc
# Configuration: 51a6dcfad66871a4b31950bdfb5a75719d3c48546781ed5c1884f397301050de
# Execution platform: @local_execution_config_platform//:platform
SUBCOMMAND: # @com_google_absl//absl/status:status [action 'Compiling absl/status/status_payload_printer.cc', configuration: 51a6dcfad66871a4b31950bdfb5a75719d3c48546781ed5c1884f397301050de, execution platform: @local_execution_config_platform//:platform]
cd /d C:/users/administrator/_bazel_administrator/migzgzin/execroot/pycoral
  SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt
    SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\devinit;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\;;C:\Windows\system32;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
    SET PWD=/proc/self/cwd
    SET RUNFILES_MANIFEST_ONLY=1
    SET TEMP=C:\Users\ADMINI~1\AppData\Local\Temp
    SET TMP=C:\Users\ADMINI~1\AppData\Local\Temp
    SET VSLANG=1033
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0601 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /bigobj /Zm500 /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /Iexternal/com_google_absl /Ibazel-out/x64_windows-opt/bin/external/com_google_absl /DBAZEL_CURRENT_REPOSITORY="com_google_absl" /showIncludes /MD /O2 /Oy- /DNDEBUG /wd4117 -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" /Gy /Gw /DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION /D_HAS_DEPRECATED_RESULT_OF -D__PRETTY_FUNCTION__=__FUNCSIG__ /std:c++latest /W3 /bigobj /wd4005 /wd4068 /wd4180 /wd4244 /wd4267 /wd4503 /wd4800 /DNOMINMAX /DWIN32_LEAN_AND_MEAN /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /D_ENABLE_EXTENDED_ALIGNED_STORAGE /Fobazel-out/x64_windows-opt/bin/external/com_google_absl/absl/status/_objs/status/status_payload_printer.obj /c external/com_google_absl/absl/status/status_payload_printer.cc
# Configuration: 51a6dcfad66871a4b31950bdfb5a75719d3c48546781ed5c1884f397301050de
# Execution platform: @local_execution_config_platform//:platform
SUBCOMMAND: # @com_google_absl//absl/synchronization:synchronization [action 'Compiling absl/synchronization/blocking_counter.cc', configuration: 51a6dcfad66871a4b31950bdfb5a75719d3c48546781ed5c1884f397301050de, execution platform: @local_execution_config_platform//:platform]
cd /d C:/users/administrator/_bazel_administrator/migzgzin/execroot/pycoral
  SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt
    SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\devinit;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\;;C:\Windows\system32;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
    SET PWD=/proc/self/cwd
    SET RUNFILES_MANIFEST_ONLY=1
    SET TEMP=C:\Users\ADMINI~1\AppData\Local\Temp
    SET TMP=C:\Users\ADMINI~1\AppData\Local\Temp
    SET VSLANG=1033
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0601 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /bigobj /Zm500 /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /Iexternal/com_google_absl /Ibazel-out/x64_windows-opt/bin/external/com_google_absl /DBAZEL_CURRENT_REPOSITORY="com_google_absl" /showIncludes /MD /O2 /Oy- /DNDEBUG /wd4117 -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" /Gy /Gw /DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION /D_HAS_DEPRECATED_RESULT_OF -D__PRETTY_FUNCTION__=__FUNCSIG__ /std:c++latest /W3 /bigobj /wd4005 /wd4068 /wd4180 /wd4244 /wd4267 /wd4503 /wd4800 /DNOMINMAX /DWIN32_LEAN_AND_MEAN /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /D_ENABLE_EXTENDED_ALIGNED_STORAGE /Fobazel-out/x64_windows-opt/bin/external/com_google_absl/absl/synchronization/_objs/synchronization/blocking_counter.obj /c external/com_google_absl/absl/synchronization/blocking_counter.cc
# Configuration: 51a6dcfad66871a4b31950bdfb5a75719d3c48546781ed5c1884f397301050de
# Execution platform: @local_execution_config_platform//:platform
SUBCOMMAND: # @com_google_absl//absl/time:time [action 'Compiling absl/time/duration.cc', configuration: 51a6dcfad66871a4b31950bdfb5a75719d3c48546781ed5c1884f397301050de, execution platform: @local_execution_config_platform//:platform]
cd /d C:/users/administrator/_bazel_administrator/migzgzin/execroot/pycoral
  SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt
    SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\devinit;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\;;C:\Windows\system32;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
    SET PWD=/proc/self/cwd
    SET RUNFILES_MANIFEST_ONLY=1
    SET TEMP=C:\Users\ADMINI~1\AppData\Local\Temp
    SET TMP=C:\Users\ADMINI~1\AppData\Local\Temp
    SET VSLANG=1033
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0601 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /bigobj /Zm500 /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /Iexternal/com_google_absl /Ibazel-out/x64_windows-opt/bin/external/com_google_absl /DBAZEL_CURRENT_REPOSITORY="com_google_absl" /showIncludes /MD /O2 /Oy- /DNDEBUG /wd4117 -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" /Gy /Gw /DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION /D_HAS_DEPRECATED_RESULT_OF -D__PRETTY_FUNCTION__=__FUNCSIG__ /std:c++latest /W3 /bigobj /wd4005 /wd4068 /wd4180 /wd4244 /wd4267 /wd4503 /wd4800 /DNOMINMAX /DWIN32_LEAN_AND_MEAN /D_CRT_SECURE_NO_WARNINGS /D_SCL_SECURE_NO_WARNINGS /D_ENABLE_EXTENDED_ALIGNED_STORAGE /Fobazel-out/x64_windows-opt/bin/external/com_google_absl/absl/time/_objs/time/duration.obj /c external/com_google_absl/absl/time/duration.cc
# Configuration: 51a6dcfad66871a4b31950bdfb5a75719d3c48546781ed5c1884f397301050de
# Execution platform: @local_execution_config_platform//:platform
SUBCOMMAND: # @org_tensorflow//tensorflow/lite:optional_debug_tools [action 'Compiling tensorflow/lite/optional_debug_tools.cc', configuration: 51a6dcfad66871a4b31950bdfb5a75719d3c48546781ed5c1884f397301050de, execution platform: @local_execution_config_platform//:platform]
cd /d C:/users/administrator/_bazel_administrator/migzgzin/execroot/pycoral
  SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt
    SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\devinit;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\;;C:\Windows\system32;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
    SET PWD=/proc/self/cwd
    SET RUNFILES_MANIFEST_ONLY=1
    SET TEMP=C:\Users\ADMINI~1\AppData\Local\Temp
    SET TMP=C:\Users\ADMINI~1\AppData\Local\Temp
    SET VSLANG=1033
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0601 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /bigobj /Zm500 /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /Iexternal/org_tensorflow /Ibazel-out/x64_windows-opt/bin/external/org_tensorflow /Iexternal/flatbuffers /Ibazel-out/x64_windows-opt/bin/external/flatbuffers /Iexternal/ruy /Ibazel-out/x64_windows-opt/bin/external/ruy /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers /Iexternal/org_tensorflow/tensorflow/lite/schema /Ibazel-out/x64_windows-opt/bin/external/org_tensorflow/tensorflow/lite/schema /Iexternal/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration /Ibazel-out/x64_windows-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration /DTFLITE_KERNEL_USE_XNNPACK /DXNNPACK_DELEGATE_ENABLE_QS8=1 /DXNNPACK_DELEGATE_ENABLE_QU8=1 /DBAZEL_CURRENT_REPOSITORY="org_tensorflow" /showIncludes /MD /O2 /Oy- /DNDEBUG /wd4117 -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" /Gy /Gw /DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION /D_HAS_DEPRECATED_RESULT_OF -D__PRETTY_FUNCTION__=__FUNCSIG__ /std:c++latest -DFARMHASH_NO_CXX_STRING /DTFL_COMPILE_LIBRARY /wd4018 -O3 /Fobazel-out/x64_windows-opt/bin/external/org_tensorflow/tensorflow/lite/_objs/optional_debug_tools/optional_debug_tools.obj /c external/org_tensorflow/tensorflow/lite/optional_debug_tools.cc
# Configuration: 51a6dcfad66871a4b31950bdfb5a75719d3c48546781ed5c1884f397301050de
# Execution platform: @local_execution_config_platform//:platform
ERROR: C:/users/administrator/_bazel_administrator/migzgzin/external/org_tensorflow/tensorflow/lite/BUILD:710:11: Compiling tensorflow/lite/optional_debug_tools.cc failed: (Exit 2): cl.exe failed: error executing command (from target @org_tensorflow//tensorflow/lite:optional_debug_tools)
  cd /d C:/users/administrator/_bazel_administrator/migzgzin/execroot/pycoral
  SET INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt
    SET PATH=C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\bin\Roslyn;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\x64\;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\devinit;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\Tools\;;C:\Windows\system32;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
    SET PWD=/proc/self/cwd
    SET RUNFILES_MANIFEST_ONLY=1
    SET TEMP=C:\Users\ADMINI~1\AppData\Local\Temp
    SET TMP=C:\Users\ADMINI~1\AppData\Local\Temp
    SET VSLANG=1033
  C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0601 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_SECURE_NO_WARNINGS /bigobj /Zm500 /EHsc /wd4351 /wd4291 /wd4250 /wd4996 /Iexternal/org_tensorflow /Ibazel-out/x64_windows-opt/bin/external/org_tensorflow /Iexternal/flatbuffers /Ibazel-out/x64_windows-opt/bin/external/flatbuffers /Iexternal/ruy /Ibazel-out/x64_windows-opt/bin/external/ruy /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/runtime_cc /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/_virtual_includes/flatbuffers /Ibazel-out/x64_windows-opt/bin/external/flatbuffers/src/_virtual_includes/flatbuffers /Iexternal/org_tensorflow/tensorflow/lite/schema /Ibazel-out/x64_windows-opt/bin/external/org_tensorflow/tensorflow/lite/schema /Iexternal/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration /Ibazel-out/x64_windows-opt/bin/external/org_tensorflow/tensorflow/lite/experimental/acceleration/configuration /DTFLITE_KERNEL_USE_XNNPACK /DXNNPACK_DELEGATE_ENABLE_QS8=1 /DXNNPACK_DELEGATE_ENABLE_QU8=1 /DBAZEL_CURRENT_REPOSITORY="org_tensorflow" /showIncludes /MD /O2 /Oy- /DNDEBUG /wd4117 -D__DATE__="redacted" -D__TIMESTAMP__="redacted" -D__TIME__="redacted" /Gy /Gw /DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION /D_HAS_DEPRECATED_RESULT_OF -D__PRETTY_FUNCTION__=__FUNCSIG__ /std:c++latest -DFARMHASH_NO_CXX_STRING /DTFL_COMPILE_LIBRARY /wd4018 -O3 /Fobazel-out/x64_windows-opt/bin/external/org_tensorflow/tensorflow/lite/_objs/optional_debug_tools/optional_debug_tools.obj /c external/org_tensorflow/tensorflow/lite/optional_debug_tools.cc
# Configuration: 51a6dcfad66871a4b31950bdfb5a75719d3c48546781ed5c1884f397301050de
# Execution platform: @local_execution_config_platform//:platform
cl : Command line warning D9002 : ignoring unknown option '-O3'
external/org_tensorflow\tensorflow/lite/core/interpreter.h(1000): error C2664: 'std::atomic_flag::atomic_flag(const std::atomic_flag &)': cannot convert argument 1 from 'bool' to 'const std::atomic_flag &'
external/org_tensorflow\tensorflow/lite/core/interpreter.h(1000): note: Reason: cannot convert from 'bool' to 'const std::atomic_flag'
external/org_tensorflow\tensorflow/lite/core/interpreter.h(1000): note: No constructor could take the source type, or constructor overload resolution was ambiguous
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\atomic(2959): note: see declaration of 'std::atomic_flag::atomic_flag'
Target //src:_pywrap_coral failed to build
INFO: Elapsed time: 1.917s, Critical Path: 1.34s
INFO: 7 processes: 7 internal.
FAILED: Build did NOT complete successfully
PS C:\pycoral>
oberluz commented 10 months ago

I din't think cl.exe is missing as this is its output: ''' cl : Command line warning D9002 : ignoring unknown option '-O3' external/org_tensorflow\tensorflow/lite/core/interpreter.h(1000): error C2664: 'std::atomic_flag::atomic_flag(const std::atomic_flag &)': cannot convert argument 1 from 'bool' to 'const std::atomic_flag &' external/org_tensorflow\tensorflow/lite/core/interpreter.h(1000): note: Reason: cannot convert from 'bool' to 'const std::atomic_flag' external/org_tensorflow\tensorflow/lite/core/interpreter.h(1000): note: No constructor could take the source type, or constructor overload resolution was ambiguous C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\atomic(2959): note: see declaration of 'std::atomic_flag::atomic_flag' ''' The compiler is failing when building tensorflow_lite. see https://github.com/tensorflow/tensorflow/issues/61890 So this is an issue with tensorflow v2.13 You could try to update the commits to use a commit just above v2.13 where the fix was merged or else wait until I've resolved the issues with v2.14 which currently doesn't build due to changes in Tensorflow (there is an issue open for that)