neuralchen / SimSwap

An arbitrary face-swapping framework on images and videos with one single trained model!
Other
4.41k stars 872 forks source link

Trying to install insightface==0.2.1 onnxruntime moviepy #459

Closed generalmark545 closed 5 months ago

generalmark545 commented 5 months ago

ERROR: Command errored out with exit status 1: command: 'C:\Users\nmo12\anaconda3\envs\simswap\python.exe' 'C:\Users\nmo12\anaconda3\envs\simswap\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' buildwheel 'C:\Users\nmo12\AppData\Local\Temp\tmpycchz7be' cwd: C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437 Complete output (272 lines): running bdist_wheel running build running build_py running create_version running cmake_build Using cmake args: ['C:\Program Files\CMake\bin\cmake.exe', '-DPYTHON_INCLUDE_DIR=C:\Users\nmo12\anaconda3\envs\simswap\include', '-DPYTHON_EXECUTABLE=C:\Users\nmo12\anaconda3\envs\simswap\python.exe', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cp36-win_amd64.pyd', '-DCMAKE_BUILD_TYPE=Release', '-DPY_VERSION=3.6', '-A', 'x64', '-T', 'host=x64', '-DONNXML=1', 'C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437'] -- Building for: Visual Studio 17 2022 CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631. -- The C compiler identification is MSVC 19.39.33523.0 -- The CXX compiler identification is MSVC 19.39.33523.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Warning (dev) at CMakeLists.txt:119 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PythonInterp: C:/Users/nmo12/anaconda3/envs/simswap/python.exe (found suitable version "3.6.13", minimum required is "3.6") CMake Warning (dev) at CMakeLists.txt:121 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PythonLibs: C:/Users/nmo12/anaconda3/envs/simswap/libs/python36.lib (found suitable version "3.6.13", minimum required is "3.6") -- Found Protobuf: C:/Users/nmo12/anaconda3/envs/simswap/Library/lib/libprotobuf.lib (found version "3.17.2") Generated: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/onnxbc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx/onnx-ml.proto Generated: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx/onnx-operators-ml.proto Generated: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx/onnx-data.proto -- Could NOT find pybind11 (missing: pybind11_DIR) CMake Deprecation Warning at third_party/pybind11/CMakeLists.txt:8 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

-- pybind11 v2.10.3 CMake Warning (dev) at third_party/pybind11/tools/FindPythonLibsNew.cmake:98 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first): third_party/pybind11/tools/pybind11Tools.cmake:50 (find_package) third_party/pybind11/tools/pybind11Common.cmake:180 (include) third_party/pybind11/CMakeLists.txt:208 (include) This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PythonLibs: C:/Users/nmo12/anaconda3/envs/simswap/libs/python36.lib -- Performing Test HAS_MSVC_GL_LTCG -- Performing Test HAS_MSVC_GL_LTCG - Success

-- **** Summary **** -- CMake version : 3.29.0-rc4 -- CMake command : C:/Program Files/CMake/bin/cmake.exe -- System : Windows -- C++ compiler : C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe -- C++ compiler version : 19.39.33523.0 -- CXX flags : /DWIN32 /D_WINDOWS /W3 /GR /EHsc /std:c++17 /EHsc /wd26812 -- Build type : Release -- Compile definitions : __STDC_FORMAT_MACROS -- CMAKE_PREFIX_PATH : -- CMAKE_INSTALL_PREFIX : C:/Program Files/onnx -- CMAKE_MODULE_PATH :

-- ONNX version : 1.14.1 -- ONNX NAMESPACE : onnx -- ONNX_USE_LITE_PROTO : OFF -- USE_PROTOBUF_SHARED_LIBS : OFF -- Protobuf_USE_STATIC_LIBS : ON -- ONNX_DISABLE_EXCEPTIONS : OFF -- ONNX_WERROR : OFF -- ONNX_BUILD_TESTS : OFF -- ONNX_BUILD_BENCHMARKS : OFF

-- Protobuf compiler : C:/Users/nmo12/anaconda3/envs/simswap/Library/bin/protoc.exe -- Protobuf includes : C:/Users/nmo12/anaconda3/envs/simswap/Library/include -- Protobuf libraries : C:/Users/nmo12/anaconda3/envs/simswap/Library/lib/libprotobuf.lib -- BUILD_ONNXPYTHON : ON -- Python version : 3.6 -- Python executable : C:/Users/nmo12/anaconda3/envs/simswap/python.exe -- Python includes : C:/Users/nmo12/anaconda3/envs/simswap/include -- Configuring done (11.4s) -- Generating done (0.1s) -- Build files have been written to: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build MSBuild version 17.9.8+b34f75857 for .NET Framework

C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\ZEROCHECK.vcxproj] 1>Checking Build System C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\gen_onnx_proto.vcxproj] Running genproto.py on onnx/onnx.in.proto Processing C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnxbc0b9190e2ce4db184cf9465c75d0437\onnx\onnx.in.proto Writing C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx-ml.proto Writing C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx-ml.proto3 generating C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnxpb.py Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/CMakeLists.txt Running C++ protocol buffer compiler on C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx/onnx-ml.proto Failed to generate mypy stubs: No module named 'six' C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\gen_onnx_dataproto.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\gen_onnx_operators_proto.vcxproj] Running genproto.py on onnx/onnx-data.in.proto Processing C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnxbc0b9190e2ce4db184cf9465c75d0437\onnx\onnx-data.in.proto Writing C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx-data.proto Writing C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx-data.proto3 generating C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx_datapb.py Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnx_bc0b9190e2ce4db184cf9465c75d0437/CMakeLists.txt Running genproto.py on onnx/onnx-operators.in.proto Processing C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnxbc0b9190e2ce4db184cf9465c75d0437\onnx\onnx-operators.in.proto Writing C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx-operators-ml.proto Writing C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx-operators-ml.proto3 generating C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx\onnx_operatorspb.py Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/CMakeLists.txt Running C++ protocol buffer compiler on C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx/onnx-data.proto Running C++ protocol buffer compiler on C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/onnx/onnx-operators-ml.proto Failed to generate mypy stubs: No module named 'six' Failed to generate mypy stubs: No module named 'six' C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnxproto.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnx_bc0b9190e2ce4db184cf9465c75d0437/CMakeLists.txt onnx-ml.pb.cc onnx-operators-ml.pb.cc onnx-data.pb.cc onnxproto.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\Release\onnxproto.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnxbc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnx_bc0b9190e2ce4db184cf9465c75d0437/CMakeLists.txt checker.cc assertions.cc interned_strings.cc ir_pb_converter.cc model_helpers.cc path.cc status.cc attr_proto_util.cc data_type_utils.cc function.cc parser.cc printer.cc schema.cc shape_inference.cc tensor_proto_util.cc tensorutil.cc implementation.cc convert.cc helper.cc defs.cc old.cc utils.cc defs.cc old.cc defs.cc old.cc defs.cc old.cc utils.cc defs.cc old.cc defs.cc old.cc defs.cc old.cc defs.cc old.cc defs.cc old.cc utils.cc defs.cc old.cc defs.cc defs.cc old.cc utils.cc defs.cc old.cc defs.cc onnx.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnxbc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\Release\onnx.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2pyexport.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnxbc0b9190e2ce4db184cf9465c75d0437/CMakeLists.txt cl : command line warning D9002: ignoring unknown option '-fvisibility=hidden' [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] cpp2pyexport.cc Creating library C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/Release/onnx_cpp2pyexport.lib and object C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/onnx_bc0b9190e2ce4db184cf9465c75d0437/.setuptools-cmake-build/Release/onnx_cpp2py_export.exp cpp2py_export.obj : error LNK2019: unresolved external symbol "private: static int google::protobuf::io::CodedInputStream::default_recursionlimit" (?default_recursionlimit@CodedInputStream@io@protobuf@google@@0HA) referenced in function "bool cdecl onnx::ParseProtoFromBytes(class onnx::AttributeProto ,char const ,unsigned int64)" (??$ParseProtoFromBytes@VAttributeProto@onnx@@@onnx@@YA_NPEAVAttributeProto@0@PEBDK@Z) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(implementation.obj) : error LNK2001: unresolved external symbol "private: static int google::protobuf::io::CodedInputStream::default_recursionlimit" (?default_recursionlimit@CodedInputStream@io@protobuf@google@@0HA) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(checker.obj) : error LNK2001: unresolved external symbol "private: static int google::protobuf::io::CodedInputStream::default_recursionlimit" (?default_recursionlimit@CodedInputStream@io@protobuf@google@@0HA) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(parser.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(ir_pb_converter.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx_proto.lib(onnx-ml.pb.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx_proto.lib(onnx-data.pb.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(old.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(implementation.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(shape_inference.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(printer.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(defs.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(old.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(defs.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(utils.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(defs.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(old.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(defs.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(old.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(defs.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(old.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(defs.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] onnx.lib(old.cc.obj) : error LNK2001: unresolved external symbol "class google::protobuf::internal::ExplicitlyConstructed<class std::basic_string<char,struct std::char_traits,class std::allocator > > google::protobuf::internal::fixed_address_empty_string" (?fixed_address_empty_string@internal@protobuf@google@@3V?$ExplicitlyConstructed@V?$basic_string@DU?$chartraits@D@std@@V?$allocator@D@2@@std@@@123@A) [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2pyexport.vcxproj] C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\Release\onnx_cpp2py_export.cp36-winamd64.pyd : fatal error LNK1120: 2 unresolved externals [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\onnx_bc0b9190e2ce4db184cf9465c75d0437.setuptools-cmake-build\onnx_cpp2py_export.vcxproj] Traceback (most recent call last): File "C:\Users\nmo12\anaconda3\envs\simswap\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 363, in main() File "C:\Users\nmo12\anaconda3\envs\simswap\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 345, in main json_out['return_val'] = hook(hook_input['kwargs']) File "C:\Users\nmo12\anaconda3\envs\simswap\lib\site-packages\pip_vendor\pep517\in_process_in_process.py", line 262, in build_wheel metadata_directory) File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-vixzjc1o\overlay\Lib\site-packages\setuptools\build_meta.py", line 231, in build_wheel wheel_directory, config_settings) File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-vixzjc1o\overlay\Lib\site-packages\setuptools\build_meta.py", line 215, in _build_with_temp_dir self.run_setup() File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-vixzjc1o\overlay\Lib\site-packages\setuptools\build_meta.py", line 268, in run_setup self).run_setup(setup_script=setup_script) File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-vixzjc1o\overlay\Lib\site-packages\setuptools\build_meta.py", line 158, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 365, in "backend-test-tools = onnx.backend.test.cmd_tools:main", File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-vixzjc1o\overlay\Lib\site-packages\setuptools__init__.py", line 153, in setup return distutils.core.setup(attrs) File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\dist.py", line 955, in run_commands self.run_command(cmd) File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-vixzjc1o\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "setup.py", line 236, in run self.run_command("cmake_build") File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\nmo12\anaconda3\envs\simswap\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "setup.py", line 230, in run subprocess.check_call(build_args) File "C:\Users\nmo12\anaconda3\envs\simswap\lib\subprocess.py", line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['C:\Program Files\CMake\bin\cmake.exe', '--build', '.', '--config', 'Release', '--', '/maxcpucount:12']' returned non-zero exit status 1.

ERROR: Failed building wheel for onnx Building wheel for opencv-python (pyproject.toml) ... error

generalmark545 commented 5 months ago

Building wheel for opencv-python (pyproject.toml) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\nmo12\anaconda3\envs\simswap\python.exe' 'C:\Users\nmo12\anaconda3\envs\simswap\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' buildwheel 'C:\Users\nmo12\AppData\Local\Temp\tmpaxfalq41' cwd: C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9 Complete output (594 lines):


-- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator






-- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

CMake Error at CMakeLists.txt:2 (PROJECT): Generator

  Ninja

does not support platform specification, but platform

  x64

was specified.

-- Configuring incomplete, errors occurred!







-- Trying 'Ninja (Visual Studio 17 2022 x64 v143)' generator - failure


-- Trying 'Visual Studio 17 2022 x64 v143' generator






-- Not searching for unused variables given on the command line. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.

-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631. -- The C compiler identification is MSVC 19.39.33523.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- The CXX compiler identification is MSVC 19.39.33523.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (8.0s) -- Generating done (0.0s) -- Build files have been written to: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/opencv-python_03d917a8b2c542ecaab9190b978841b9/_cmake_test_compile/build







-- Trying 'Visual Studio 17 2022 x64 v143' generator - success

Configuring Project Working directory: C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\opencv-python03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build Command: 'C:\Users\nmo12\AppData\Local\Temp\pip-build-env-pvqgyrdt\overlay\Lib\site-packages\cmake\data\bin/cmake.exe' 'C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9\opencv' -G 'Visual Studio 17 2022' '-DCMAKE_INSTALLPREFIX:PATH=C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-install' -DPYTHON_VERSION_STRING:STRING=3.6.13 -DSKBUILD:INTERNAL=TRUE '-DCMAKE_MODULE_PATH:PATH=C:\Users\nmo12\AppData\Local\Temp\pip-build-env-pvqgyrdt\overlay\Lib\site-packages\skbuild\resources\cmake' '-DPYTHON_EXECUTABLE:PATH=C:\Users\nmo12\anaconda3\envs\simswap\python.exe' '-DPYTHON_INCLUDE_DIR:PATH=C:\Users\nmo12\anaconda3\envs\simswap\Include' '-DPYTHON_LIBRARY:PATH=C:\Users\nmo12\anaconda3\envs\simswap\libs\python36.lib' '-DPython_EXECUTABLE:PATH=C:\Users\nmo12\anaconda3\envs\simswap\python.exe' '-DPython_ROOT_DIR:PATH=C:\Users\nmo12\anaconda3\envs\simswap' '-DPython_INCLUDE_DIR:PATH=C:\Users\nmo12\anaconda3\envs\simswap\Include' -DPython_FIND_REGISTRY:STRING=NEVER '-DPython_NumPy_INCLUDE_DIRS:PATH=C:\Users\nmo12\AppData\Local\Temp\pip-build-env-pvqgyrdt\overlay\Lib\site-packages\numpy\core\include' '-DPython3_EXECUTABLE:PATH=C:\Users\nmo12\anaconda3\envs\simswap\python.exe' '-DPython3_ROOT_DIR:PATH=C:\Users\nmo12\anaconda3\envs\simswap' '-DPython3_INCLUDE_DIR:PATH=C:\Users\nmo12\anaconda3\envs\simswap\Include' -DPython3_FIND_REGISTRY:STRING=NEVER '-DPython3_NumPy_INCLUDE_DIRS:PATH=C:\Users\nmo12\AppData\Local\Temp\pip-build-env-pvqgyrdt\overlay\Lib\site-packages\numpy\core\include' -T v143 -A x64 '-DPYTHON3_EXECUTABLE=C:\Users\nmo12\anaconda3\envs\simswap\python.exe' '-DPYTHON_DEFAULT_EXECUTABLE=C:\Users\nmo12\anaconda3\envs\simswap\python.exe' -DPYTHON3_INCLUDE_DIR=C:/Users/nmo12/anaconda3/envs/simswap/Include -DPYTHON3_LIBRARY=C:/Users/nmo12/anaconda3/envs/simswap/libs/python36.lib -DBUILD_opencv_python3=ON -DBUILD_opencv_python2=OFF -DBUILD_opencv_java=OFF -DOPENCV_PYTHON3_INSTALL_PATH=python -DINSTALL_CREATE_DISTRIB=ON -DBUILD_opencv_apps=OFF -DBUILD_opencv_freetype=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_DOCS=OFF -DPYTHON3_LIMITED_API=ON -DBUILD_OPENEXR=ON -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_BUILD_TYPE:STRING=Release

-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631. -- The CXX compiler identification is MSVC 19.39.33523.0 -- The C compiler identification is MSVC 19.39.33523.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- ocv_init_download: OpenCV source tree is not fetched as git repository. 3rdparty resources will be downloaded from github.com by default. -- Detected processor: AMD64 CMake Warning (dev) at cmake/OpenCVUtils.cmake:144 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first): cmake/OpenCVDetectPython.cmake:64 (find_host_package) cmake/OpenCVDetectPython.cmake:286 (find_python) CMakeLists.txt:660 (include) This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PythonInterp: C:\Users\nmo12\anaconda3\envs\simswap\python.exe (found suitable version "3.6.13", minimum required is "3.2") CMake Warning (dev) at cmake/OpenCVDetectPython.cmake:140 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first): cmake/OpenCVDetectPython.cmake:286 (find_python) CMakeLists.txt:660 (include) This warning is for project developers. Use -Wno-dev to suppress it.

-- Found PythonLibs: C:/Users/nmo12/anaconda3/envs/simswap/libs/python36.lib (found suitable exact version "3.6.13") Python 3.6.13 :: Anaconda, Inc. -- Performing Test HAVE_CXX_FP:PRECISE -- Performing Test HAVE_CXX_FP:PRECISE - Success -- Performing Test HAVE_C_FP:PRECISE -- Performing Test HAVE_C_FP:PRECISE - Success -- Performing Test HAVE_CPU_SSE3_SUPPORT (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CPU_SSE3_SUPPORT - Success -- Performing Test HAVE_CPU_SSSE3_SUPPORT (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CPU_SSSE3_SUPPORT - Success -- Performing Test HAVE_CPU_SSE4_1_SUPPORT (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CPU_SSE4_1_SUPPORT - Success -- Performing Test HAVE_CPU_POPCNT_SUPPORT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CPU_POPCNT_SUPPORT - Success -- Performing Test HAVE_CPU_SSE4_2_SUPPORT (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CPU_SSE4_2_SUPPORT - Success -- Performing Test HAVE_CXX_ARCH:AVX (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_ARCH:AVX - Success -- Performing Test HAVE_CXX_ARCH:AVX2 (check file: cmake/checks/cpu_avx2.cpp) -- Performing Test HAVE_CXX_ARCH:AVX2 - Success -- Performing Test HAVE_CXX_ARCH:AVX512 (check file: cmake/checks/cpu_avx512.cpp) -- Performing Test HAVE_CXX_ARCH:AVX512 - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_1 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_SSE4_2 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_FP16 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX2 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX -- Performing Test HAVE_CPU_DISPATCH_FLAGS_AVX512_SKX - Success -- Performing Test HAVE_CXX_W15240 -- Performing Test HAVE_CXX_W15240 - Success -- Performing Test HAVE_C_W15240 -- Performing Test HAVE_C_W15240 - Success -- Looking for malloc.h -- Looking for malloc.h - not found -- Looking for fseeko -- Looking for fseeko - not found -- Looking for sys/types.h -- Looking for sys/types.h - not found -- Looking for stdint.h -- Looking for stdint.h - not found -- Looking for stddef.h -- Looking for stddef.h - not found -- Check size of off64_t -- Check size of off64_t - failed -- libjpeg-turbo: VERSION = 2.1.3, BUILD = opencv-4.9.0-libjpeg-turbo -- Check size of size_t -- Check size of size_t - failed -- Check size of unsigned long -- Check size of unsigned long - failed -- Looking for include file intrin.h -- Looking for include file intrin.h - not found -- Looking for a ASM_NASM compiler -- Looking for a ASM_NASM compiler - NOTFOUND -- libjpeg-turbo(SIMD): SIMD extensions disabled: could not find NASM compiler. Performance will suffer. -- Looking for assert.h -- Looking for assert.h - not found -- Looking for fcntl.h -- Looking for fcntl.h - not found -- Looking for inttypes.h -- Looking for inttypes.h - not found -- Looking for io.h -- Looking for io.h - not found -- Looking for limits.h -- Looking for limits.h - not found -- Looking for memory.h -- Looking for memory.h - not found -- Looking for search.h -- Looking for search.h - not found -- Looking for string.h -- Looking for string.h - not found -- Performing Test C_HAS_inline -- Performing Test C_HAS_inline - Failed -- Performing Test C_HAS_inline -- Performing Test C_HAS_inline - Failed -- Performing Test C_HAS_inline -- Performing Test CHASinline - Failed -- Check size of signed short -- Check size of signed short - failed -- Check size of unsigned short -- Check size of unsigned short - failed -- Check size of signed int -- Check size of signed int - failed -- Check size of unsigned int -- Check size of unsigned int - failed -- Check size of signed long -- Check size of signed long - failed -- Check size of signed long long -- Check size of signed long long - failed -- Check size of unsigned long long -- Check size of unsigned long long - failed -- Check size of unsigned char -- Check size of unsigned char - failed -- Check size of ptrdiff_t -- Check size of ptrdiff_t - failed -- Looking for memmove -- Looking for memmove - not found -- Looking for setmode -- Looking for setmode - not found -- Looking for strcasecmp -- Looking for strcasecmp - not found -- Looking for strchr -- Looking for strchr - not found -- Looking for strrchr -- Looking for strrchr - not found -- Looking for strstr -- Looking for strstr - not found -- Looking for strtol -- Looking for strtol - not found -- Looking for strtol -- Looking for strtol - not found -- Looking for strtoull -- Looking for strtoull - not found -- Looking for lfind -- Looking for lfind - not found -- Performing Test HAVE_SNPRINTF -- Performing Test HAVE_SNPRINTF - Failed -- Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources -- OpenJPEG: VERSION = 2.5.0, BUILD = opencv-4.9.0-openjp2-2.5.0 -- The file 'string.h' is mandatory for OpenJPEG build, but not found on your system -- OpenJPEG libraries can't be built from sources. System requirements are not fulfilled. -- IPPICV: Downloading ippicv_2021.10.0_win_intel64_20230919_general.zip from https://raw.githubusercontent.com/opencv/opencv_3rdparty/0cc4aa06bf2bef4b05d237c69a5a96b9cd0cb85a/ippicv/ippicv_2021.10.0_win_intel64_20230919_general.zip -- found Intel IPP (ICV version): 2021.11.0 [2021.11.0] -- at: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/opencv-python_03d917a8b2c542ecaab9190b978841b9/_skbuild/win-amd64-3.6/cmake-build/3rdparty/ippicv/ippicvwin/icv -- found Intel IPP Integration Wrappers sources: 2021.11.0 -- at: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/_skbuild/win-amd64-3.6/cmake-build/3rdparty/ippicv/ippicv_win/iw -- Could not find OpenBLAS include. Turning OpenBLAS_FOUND off -- Could not find OpenBLAS lib. Turning OpenBLASFOUND off -- Looking for sgemm -- Looking for sgemm_ - not found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- Could NOT find BLAS (missing: BLAS_LIBRARIES) -- Could NOT find LAPACK (missing: LAPACK_LIBRARIES) Reason given by package: LAPACK could not be found because dependency BLAS could not be found.

-- Could NOT find Java (missing: Java_JAVA_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) -- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 AWT JVM) -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file -- ADE: Downloading v0.1.2d.zip from https://github.com/opencv/ade/archive/v0.1.2d.zip -- FFMPEG: Downloading opencv_videoio_ffmpeg.dll from https://raw.githubusercontent.com/opencv/opencv_3rdparty/fbac408a47977ee4265f39e7659d33f1dfef5216/ffmpeg/opencv_videoio_ffmpeg.dll -- FFMPEG: Downloading opencv_videoio_ffmpeg_64.dll from https://raw.githubusercontent.com/opencv/opencv_3rdparty/fbac408a47977ee4265f39e7659d33f1dfef5216/ffmpeg/opencv_videoio_ffmpeg_64.dll -- FFMPEG: Downloading ffmpeg_version.cmake from https://raw.githubusercontent.com/opencv/opencv_3rdparty/fbac408a47977ee4265f39e7659d33f1dfef5216/ffmpeg/ffmpeg_version.cmake -- Looking for mfapi.h -- Looking for mfapi.h - not found -- Looking for vidcap.h -- Looking for vidcap.h - not found -- Could not find mfapi.h. Turning HAVE_OBSENSOR OFF -- Could not find vidcap.h. Turning HAVE_OBSENSOR OFF -- Allocator metrics storage type: 'long long' -- Excluding from source files list: modules/imgproc/src/imgwarp.lasx.cpp -- Excluding from source files list: modules/imgproc/src/resize.lasx.cpp -- Registering hook 'INIT_MODULE_SOURCES_opencvdnn': C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake -- opencv_dnn: filter out cuda4dnn source code -- Excluding from source files list: modules/dnn/src/layers/cpu_kernels/conv_winograd_f63.neon.cpp -- Excluding from source files list: /modules/dnn/layers/layers_common.rvv.cpp -- Excluding from source files list: /modules/dnn/layers/layers_common.lasx.cpp -- Excluding from source files list: /modules/dnn/int8layers/layers_common.lasx.cpp -- Excluding from source files list: /modules/dnn/layers/cpu_kernels/conv_block.neon.cpp -- Excluding from source files list: /modules/dnn/layers/cpu_kernels/conv_block.neon_fp16.cpp -- Excluding from source files list: /modules/dnn/layers/cpu_kernels/conv_depthwise.rvv.cpp -- Excluding from source files list: /modules/dnn/layers/cpu_kernels/conv_depthwise.lasx.cpp -- Excluding from source files list: /modules/dnn/layers/cpu_kernels/conv_winograd_f63.neon_fp16.cpp -- Excluding from source files list: /modules/dnn/layers/cpu_kernels/fast_gemm_kernels.neon.cpp -- Excluding from source files list: /modules/dnn/layers/cpu_kernels/fast_gemmkernels.lasx.cpp -- imgcodecs: Jasper codec is disabled in runtime. Details: https://github.com/opencv/opencv/issues/14058 -- imgcodecs: OpenEXR codec is disabled in runtime. Details: https://github.com/opencv/opencv/issues/21326 -- highgui: using builtin backend: WIN32UI -- Found 'misc' Python modules from C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/python/package/extra_modules -- Found 'matwrapper;utils' Python modules from C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python03d917a8b2c542ecaab9190b978841b9/opencv/modules/core/misc/python/package -- Found 'gapi' Python modules from C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python03d917a8b2c542ecaab9190b978841b9/opencv/modules/gapi/misc/python/package -- Found 'misc' Python modules from C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/python/package/extra_modules -- Found 'matwrapper;utils' Python modules from C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python03d917a8b2c542ecaab9190b978841b9/opencv/modules/core/misc/python/package -- Found 'gapi' Python modules from C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/gapi/misc/python/package

-- General configuration for OpenCV 4.9.0 ===================================== -- Version control: unknown

-- Platform: -- Timestamp: 2024-03-20T09:46:15Z -- Host: Windows 10.0.22631 AMD64 -- CMake: 3.28.3 -- CMake generator: Visual Studio 17 2022 -- CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/MSBuild/Current/Bin/amd64/MSBuild.exe -- MSVC: 1939 -- Configuration: Debug Release

-- CPU/HW features: -- Baseline: SSE SSE2 SSE3 -- requested: SSE3 -- Dispatched code generation: SSE4_1 SSE4_2 FP16 AVX AVX2 AVX512_SKX -- requested: SSE4_1 SSE4_2 AVX FP16 AVX2 AVX512_SKX -- SSE4_1 (16 files): + SSSE3 SSE4_1 -- SSE4_2 (1 files): + SSSE3 SSE4_1 POPCNT SSE4_2 -- FP16 (0 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 AVX -- AVX (8 files): + SSSE3 SSE4_1 POPCNT SSE4_2 AVX -- AVX2 (36 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 -- AVX512_SKX (5 files): + SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 AVX_512F AVX512_COMMON AVX512_SKX

-- C/C++: -- Built as dynamic libs?: NO -- C++ standard: 11 -- C++ Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe (ver 19.39.33523.0) -- C++ flags (Release): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /MP /O2 /Ob2 /DNDEBUG -- C++ flags (Debug): /DWIN32 /D_WINDOWS /W4 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /MP /Zi /Ob0 /Od /RTC1 -- C Compiler: C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe -- C flags (Release): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /MP /O2 /Ob2 /DNDEBUG -- C flags (Debug): /DWIN32 /D_WINDOWS /W3 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise /MP /Zi /Ob0 /Od /RTC1 -- Linker flags (Release): /machine:x64 /NODEFAULTLIB:atlthunk.lib /INCREMENTAL:NO /NODEFAULTLIB:libcmtd.lib /NODEFAULTLIB:libcpmtd.lib /NODEFAULTLIB:msvcrtd.lib -- Linker flags (Debug): /machine:x64 /NODEFAULTLIB:atlthunk.lib /debug /INCREMENTAL /NODEFAULTLIB:libcmt.lib /NODEFAULTLIB:libcpmt.lib /NODEFAULTLIB:msvcrt.lib -- ccache: NO -- Precompiled headers: YES -- Extra dependencies: wsock32 comctl32 gdi32 ole32 setupapi ws2_32 -- 3rdparty dependencies: libprotobuf ade ittnotify libjpeg-turbo libwebp libpng libtiff libjasper IlmImf zlib ippiw ippicv

-- OpenCV modules: -- To be built: calib3d core dnn features2d flann gapi highgui imgcodecs imgproc ml objdetect photo python3 stitching video videoio -- Disabled: world -- Disabled by dependency: - -- Unavailable: java python2 ts -- Applications: - -- Documentation: NO -- Non-free algorithms: NO

-- Windows RT support: NO

-- GUI: WIN32UI -- Win32 UI: YES -- VTK support: NO

-- Media I/O: -- ZLib: build (ver 1.3) -- JPEG: build-libjpeg-turbo (ver 2.1.3-62) -- SIMD Support Request: YES -- SIMD Support: NO -- WEBP: build (ver encoder: 0x020f) -- PNG: build (ver 1.6.37) -- TIFF: build (ver 42 - 4.2.0) -- JPEG 2000: build Jasper (ver 1.900.1) -- OpenEXR: build (ver 2.3.0) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- PFM: YES

-- Video I/O: -- DC1394: NO -- FFMPEG: YES (prebuilt binaries) -- avcodec: YES (58.134.100) -- avformat: YES (58.76.100) -- avutil: YES (56.70.100) -- swscale: YES (5.9.100) -- avresample: YES (4.0.0) -- GStreamer: NO -- DirectShow: YES -- Media Foundation: NO -- DXVA: NO

-- Parallel framework: Concurrency

-- Trace: YES (with Intel ITT)

-- Other third-party libraries: -- Intel IPP: 2021.11.0 [2021.11.0] -- at: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/opencv-python_03d917a8b2c542ecaab9190b978841b9/_skbuild/win-amd64-3.6/cmake-build/3rdparty/ippicv/ippicvwin/icv -- Intel IPP IW: sources (2021.11.0) -- at: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/_skbuild/win-amd64-3.6/cmake-build/3rdparty/ippicv/ippicv_win/iw -- Lapack: NO -- Eigen: NO -- Custom HAL: NO -- Protobuf: build (3.19.1) -- Flatbuffers: builtin/3rdparty (23.5.9)

-- OpenCL: YES (NVD3D11) -- Include path: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load

-- Python 3: -- Interpreter: C:/Users/nmo12/anaconda3/envs/simswap/python.exe (ver 3.6.13) -- Libraries: C:/Users/nmo12/anaconda3/envs/simswap/libs/python36.lib (ver 3.6.13) -- numpy: C:/Users/nmo12/AppData/Local/Temp/pip-build-env-pvqgyrdt/overlay/Lib/site-packages/numpy/core/include (ver 1.13.3) -- install path: python/cv2/python-3

-- Python (for build): C:\Users\nmo12\anaconda3\envs\simswap\python.exe

-- Java: -- ant: NO -- Java: NO -- JNI: NO -- Java wrappers: NO -- Java tests: NO

-- Install to: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/opencv-python_03d917a8b2c542ecaab9190b978841b9/_skbuild/win-amd64-3.6/cmake-install


-- -- Configuring done (136.1s) -- Generating done (1.4s) -- Build files have been written to: C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030_/opencv-python_03d917a8b2c542ecaab9190b978841b9/_skbuild/win-amd64-3.6/cmake-build MSBuild version 17.9.8+b34f75857 for .NET Framework

C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\ZEROCHECK.vcxproj] 1>Checking Build System C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\3rdparty\libjpeg-turbo\jsimd.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/3rdparty/libjpeg-turbo/CMakeLists.txt jsimdnone.c jsimd.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\3rdparty\libjpeg-turbo\jsimd.dir\Release\jsimd.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\calib3d\opencv_calib3dAVX2.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/calib3d/CMakeLists.txt undistort.avx2.cpp opencv_calib3dAVX2.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\calib3d\opencv_calib3d_AVX2.dir\Release\opencv_calib3dAVX2.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\core\opencv_coreAVX.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/core/CMakeLists.txt mathfuncs_core.avx.cpp opencv_coreAVX.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\core\opencv_core_AVX.dir\Release\opencv_coreAVX.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\core\opencv_coreAVX2.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/core/CMakeLists.txt mathfuncs_core.avx2.cpp stat.avx2.cpp arithm.avx2.cpp convert.avx2.cpp convert_scale.avx2.cpp count_non_zero.avx2.cpp has_non_zero.avx2.cpp matmul.avx2.cpp mean.avx2.cpp merge.avx2.cpp split.avx2.cpp sum.avx2.cpp opencv_coreAVX2.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\core\opencv_core_AVX2.dir\Release\opencv_coreAVX2.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\core\opencv_core_AVX512SKX.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/core/CMakeLists.txt matmul.avx512_skx.cpp opencv_core_AVX512SKX.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\core\opencv_core_AVX512_SKX.dir\Release\opencv_core_AVX512SKX.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\core\opencv_core_SSE41.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/core/CMakeLists.txt arithm.sse4_1.cpp matmul.sse4_1.cpp opencv_core_SSE41.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\core\opencv_core_SSE4_1.dir\Release\opencv_core_SSE41.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\core\opencv_core_SSE42.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/core/CMakeLists.txt stat.sse4_2.cpp opencv_core_SSE42.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\core\opencv_core_SSE4_2.dir\Release\opencv_core_SSE42.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\dnn\opencv_dnnAVX.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/dnn/CMakeLists.txt layers_common.avx.cpp conv_block.avx.cpp conv_depthwise.avx.cpp conv_winograd_f63.avx.cpp fast_gemm_kernels.avx.cpp opencv_dnnAVX.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\dnn\opencv_dnn_AVX.dir\Release\opencv_dnnAVX.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\dnn\opencv_dnnAVX2.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/dnn/CMakeLists.txt layers_common.avx2.cpp layers_common.avx2.cpp conv_block.avx2.cpp conv_depthwise.avx2.cpp conv_winograd_f63.avx2.cpp fast_gemm_kernels.avx2.cpp opencv_dnnAVX2.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\dnn\opencv_dnn_AVX2.dir\Release\opencv_dnnAVX2.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\dnn\opencv_dnn_AVX512SKX.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/dnn/CMakeLists.txt layers_common.avx512_skx.cpp layers_common.avx512_skx.cpp opencv_dnn_AVX512SKX.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\dnn\opencv_dnn_AVX512_SKX.dir\Release\opencv_dnn_AVX512SKX.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\opencv_dnnplugins.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python03d917a8b2c542ecaab9190b978841b9/opencv/CMakeLists.txt C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\features2d\opencv_features2dAVX2.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/features2d/CMakeLists.txt fast.avx2.cpp sift.avx2.cpp opencv_features2dAVX2.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\features2d\opencv_features2d_AVX2.dir\Release\opencv_features2dAVX2.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\features2d\opencv_features2d_AVX512_SKX.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(382,5): error MSB3491: Could not write lines to file "opencv_features2d_AVX512_SKX.dir\Release\opencv_f.5F94649C.tlog\opencv_features2d_AVX512_SKX.lastbuildstate". Path: opencv_features2d_AVX512_SKX.dir\Release\opencv_f.5F94649C.tlog\opencv_features2d_AVX512SKX.lastbuildstate exceeds the OS max path limit. The fully qualified file name must be less than 260 characters. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\features2d\opencv_features2d_AVX512SKX.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\features2d\opencv_features2d_SSE41.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/features2d/CMakeLists.txt sift.sse4_1.cpp opencv_features2d_SSE41.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\features2d\opencv_features2d_SSE4_1.dir\Release\opencv_features2d_SSE41.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\gapi\opencv_gapiAVX2.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/gapi/CMakeLists.txt gfluidimgproc_func.avx2.cpp gfluidcore_func.avx2.cpp opencv_gapiAVX2.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\gapi\opencv_gapi_AVX2.dir\Release\opencv_gapiAVX2.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\gapi\opencv_gapi_SSE41.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/gapi/CMakeLists.txt gfluidimgproc_func.sse4_1.cpp gfluidcore_func.sse4_1.cpp opencv_gapi_SSE41.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\gapi\opencv_gapi_SSE4_1.dir\Release\opencv_gapi_SSE41.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\opencv_highguiplugins.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python03d917a8b2c542ecaab9190b978841b9/opencv/CMakeLists.txt C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\imgproc\opencv_imgprocAVX.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/imgproc/CMakeLists.txt corner.avx.cpp accum.avx.cpp opencv_imgprocAVX.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\imgproc\opencv_imgproc_AVX.dir\Release\opencv_imgprocAVX.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\imgproc\opencv_imgprocAVX2.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/imgproc/CMakeLists.txt imgwarp.avx2.cpp resize.avx2.cpp accum.avx2.cpp bilateral_filter.avx2.cpp box_filter.avx2.cpp filter.avx2.cpp color_hsv.avx2.cpp color_rgb.avx2.cpp color_yuv.avx2.cpp median_blur.avx2.cpp morph.avx2.cpp smooth.avx2.cpp sumpixels.avx2.cpp opencv_imgprocAVX2.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\imgproc\opencv_imgproc_AVX2.dir\Release\opencv_imgprocAVX2.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\imgproc\opencv_imgproc_AVX512SKX.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/imgproc/CMakeLists.txt sumpixels.avx512_skx.cpp opencv_imgproc_AVX512SKX.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\imgproc\opencv_imgproc_AVX512_SKX.dir\Release\opencv_imgproc_AVX512SKX.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\imgproc\opencv_imgproc_SSE41.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/imgproc/CMakeLists.txt imgwarp.sse4_1.cpp resize.sse4_1.cpp accum.sse4_1.cpp box_filter.sse4_1.cpp filter.sse4_1.cpp color_hsv.sse4_1.cpp color_rgb.sse4_1.cpp color_yuv.sse4_1.cpp median_blur.sse4_1.cpp morph.sse4_1.cpp smooth.sse4_1.cpp opencv_imgproc_SSE41.vcxproj -> C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\imgproc\opencv_imgproc_SSE4_1.dir\Release\opencv_imgproc_SSE41.lib C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\python_bindings_generator\gen_opencv_python_source.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(382,5): error MSB3491: Could not write lines to file "x64\Release\gen_opencv_python_source\gen_open.A0E783B3.tlog\gen_opencv_python_source.lastbuildstate". Path: x64\Release\gen_opencv_python_source\gen_open.A0E783B3.tlog\gen_opencv_pythonsource.lastbuildstate exceeds the OS max path limit. The fully qualified file name must be less than 260 characters. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules\python_bindings_generator\gen_opencv_pythonsource.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(541,5): warning MSB8029: The Intermediate directory or Output directory cannot reside under the Temporary directory as it could lead to issues with incremental build. [C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build\modules.firstpass\videoio\opencv_videoioplugins.vcxproj] Building Custom Rule C:/Users/nmo12/AppData/Local/Temp/pip-install-5sxf030/opencv-python_03d917a8b2c542ecaab9190b978841b9/opencv/modules/videoio/CMakeLists.txt Traceback (most recent call last): File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-pvqgyrdt\overlay\Lib\site-packages\skbuild\setuptools_wrap.py", line 642, in setup cmkr.make(make_args, install_target=cmake_install_target, env=env) File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-pvqgyrdt\overlay\Lib\site-packages\skbuild\cmaker.py", line 679, in make self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env) File "C:\Users\nmo12\AppData\Local\Temp\pip-build-env-pvqgyrdt\overlay\Lib\site-packages\skbuild\cmaker.py", line 711, in make_impl "An error occurred while building with CMake.\n"

An error occurred while building with CMake. Command: 'C:\Users\nmo12\AppData\Local\Temp\pip-build-env-pvqgyrdt\overlay\Lib\site-packages\cmake\data\bin/cmake.exe' --build . --target install --config Release -- Install target: install Source directory: C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030_\opencv-python03d917a8b2c542ecaab9190b978841b9 Working directory: C:\Users\nmo12\AppData\Local\Temp\pip-install-5sxf030\opencv-python_03d917a8b2c542ecaab9190b978841b9_skbuild\win-amd64-3.6\cmake-build Please check the install target is valid and see CMake's output for more information.

ERROR: Failed building wheel for opencv-python Failed to build onnx opencv-python ERROR: Could not build wheels for onnx, opencv-python, which is required to install pyproject.toml-based projects

(simswap) C:\Users\nmo12>

generalmark545 commented 5 months ago

i figured it out! python 3.6 no longer supported

NeakHuang commented 1 month ago

Hello, how did you solve it? Create a new conda environment?

sktester22 commented 3 weeks ago

Same issue did anyone have a fix for it ?