PaddlePaddle / FastDeploy

⚡️An Easy-to-use and Fast Deep Learning Model Deployment Toolkit for ☁️Cloud 📱Mobile and 📹Edge. Including Image, Video, Text and Audio 20+ main stream scenarios and 150+ SOTA models with end-to-end optimization, multi-platform and multi-framework support.
https://www.paddlepaddle.org.cn/fastdeploy
Apache License 2.0
2.92k stars 456 forks source link

GPU编译报错 subprocess.CalledProcessError: Command '['D:\\Anaconda3\\Library\\bin\\cmake.exe', '--build', '.', '--config', 'Release', '--', '/maxcpucount:20']' returned non-zero exit status 1. #235

Closed monkeycc closed 7 months ago

monkeycc commented 2 years ago
set "CUDA_DIRECTORY"="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6"
set WITH_GPU=ON
set ENABLE_ORT_BACKEND=ON
set ENABLE_TRT_BACKEND=OFF
set ENABLE_PADDLE_BACKEND=ON
set ENABLE_VISION=ON
set ENABLE_VISION_VISUALIZE=ON

(fastdeploy) PS D:\FastDeploy\python> python setup.py build
running build
running build_py
running create_version
running cmake_build
CMake Warning (dev) at CMakeLists.txt:15 (PROJECT):
  Policy CMP0048 is not set: project() command manages VERSION variables.
  Run "cmake --help-policy CMP0048" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The following variable(s) would be set to empty:

    CMAKE_PROJECT_VERSION
    CMAKE_PROJECT_VERSION_MAJOR
    CMAKE_PROJECT_VERSION_MINOR
    CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
Decompress file D:/FastDeploy/python/.setuptools-cmake-build/opencv-win-x64-3.4.16.zip ...
-- OpenCV ARCH: x64
-- OpenCV RUNTIME: vc15
-- OpenCV STATIC: OFF
-- Found OpenCV 3.4.16 in D:/FastDeploy/python/.setuptools-cmake-build/third_libs/install/opencv-win-x64-3.4.16/build/x64/vc15/lib
-- You might need to add D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv-win-x64-3.4.16\build\x64\vc15\bin to your PATH to be able to run your applications.
FASTERTOKENIZER_COMPILE_LIB = D:/FastDeploy/python/.setuptools-cmake-build/third_libs/install/faster_tokenizer/lib/core_tokenizers.lib
--
-- *************FastDeploy Building Summary**********
--   CMake version             : 3.19.6
--   CMake command             : D:/Anaconda3/Library/bin/cmake.exe
--   System                    : Windows
--   C++ compiler              : D:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
--   C++ compiler version      : 19.29.30146.0
--   CXX flags                 : /DWIN32 /D_WINDOWS /W3 /GR /EHsc
--   Build type                : Release
--   Compile definitions       : YAML_CPP_DLL;FASTDEPLOY_LIB;EIGEN_STRONG_INLINE=inline;ENABLE_PADDLE_FRONTEND;ENABLE_ORT_BACKEND;ENABLE_VISION;ENABLE_VISION_VISUALIZE;ENABLE_TEXT
--   CMAKE_PREFIX_PATH         :
--   CMAKE_INSTALL_PREFIX      : C:/Program Files/fastdeploy
--   CMAKE_MODULE_PATH         :
--
--   FastDeploy version        : 0.2.1
--   Paddle2ONNX version       : 1.0.1rc
--   ENABLE_ORT_BACKEND        : ON
--   ENABLE_PADDLE_BACKEND     : OFF
--   ENABLE_TRT_BACKEND        : OFF
--   ENABLE_OPENVINO_BACKEND   : OFF
--   ONNXRuntime version       : 1.12.0
--   ENABLE_VISION             : ON
--   ENABLE_TEXT               : ON
--   ENABLE_DEBUG              : OFF
--   ENABLE_VISION_VISUALIZE   : ON
--   Python executable         : D:\Anaconda3\envs\fastdeploy\python.exe
--   Python includes           : D:\Anaconda3\envs\fastdeploy\include
-- Configuring done
-- Generating done
-- Build files have been written to: D:/FastDeploy/python/.setuptools-cmake-build
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642
版权所有(C) Microsoft Corporation。保留所有权利。

  Checking File Globs
  Checking Build System
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  yaml-cpp.vcxproj -> D:\FastDeploy\python\.setuptools-cmake-build\third_party\yaml-cpp\Release\yaml-cpp.dll
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  fastdeploy.vcxproj -> D:\FastDeploy\python\.setuptools-cmake-build\Release\fastdeploy.dll
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
    正在创建库 D:/FastDeploy/python/.setuptools-cmake-build/Release/fastdeploy_main.lib 和对象 D:/FastDeploy/python/.setuptools-cmake-build/Release/fastdeploy_main.exp
LINK : warning LNK4217: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“ libcpmt.lib(cout.obj)”中定义)已由“ppseg_pybind.obj”(函数“"public: virtual void * __cdecl pybind11::reference_cast_error::`vector deleting destructor'(unsigned int)"
(??_Ereference_cast_error@pybind11@@UEAAPEAXI@Z)”中)导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4286: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“libcpmt.lib(cout.obj)”中定义)已由“segmentation_pybind.obj”导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4286: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“libcpmt.lib(cout.obj)”中定义)已由“vision_pybind.obj”导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4217: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“ libcpmt.lib(cout.obj)”中定义)已由“visualize_pybind.obj”(函数“"protected: static struct _object * __cdecl pybind11::cpp_function::dispatcher(struct _object *,struct _
object *,struct _object *)" (?dispatcher@cpp_function@pybind11@@KAPEAU_object@@PEAU3@00@Z)”中)导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4217: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“ libcpmt.lib(cout.obj)”中定义)已由“ppmatting_pybind.obj”(函数“"protected: struct std::pair<struct std::_List_node<struct std::pair<class std::type_index const ,class
std::vector<bool (__cdecl*)(struct _object *,void * &),class std::allocator<bool (__cdecl*)(struct _object *,void * &)> > >,void *> *,bool> __cdecl std::_Hash<class std::_Umap_traits<clas
s std::type_index,class std::vector<bool (__cdecl*)(struct _object *,void * &),class std::allocator<bool (__cdecl*)(struct _object *,void * &)> >,class std::_Uhash_compare<class std::type
_index,struct pybind11::detail::type_hash,struct pybind11::detail::type_equal_to>,class std::allocator<struct std::pair<class std::type_index const ,class std::vector<bool (__cdecl*)(stru
ct _object *,void * &),class std::allocator<bool (__cdecl*)(struct _object *,void * &)> > > >,0> >::_Try_emplace<class std::type_index const &>(class std::type_index const &)" (??$_Try_em
place@AEBVtype_index@std@@$$V@?$_Hash@V?$_Umap_traits@Vtype_index@std@@V?$vector@P6A_NPEAU_object@@AEAPEAX@ZV?$allocator@P6A_NPEAU_object@@AEAPEAX@Z@std@@@2@V?$_Uhash_compare@Vtype_index@
std@@Utype_hash@detail@pybind11@@Utype_equal_to@45@@2@V?$allocator@U?$pair@$$CBVtype_index@std@@V?$vector@P6A_NPEAU_object@@AEAPEAX@ZV?$allocator@P6A_NPEAU_object@@AEAPEAX@Z@std@@@2@@std@
@@2@$0A@@std@@@std@@IEAA?AU?$pair@PEAU?$_List_node@U?$pair@$$CBVtype_index@std@@V?$vector@P6A_NPEAU_object@@AEAPEAX@ZV?$allocator@P6A_NPEAU_object@@AEAPEAX@Z@std@@@2@@std@@PEAX@std@@_N@1@
AEBVtype_index@1@@Z)”中)导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4286: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“libcpmt.lib(cout.obj)”中定义)已由“ocr_pybind.obj”导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4286: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“libcpmt.lib(cout.obj)”中定义)已由“ocrmodel_pybind.obj”导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4286: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“libcpmt.lib(cout.obj)”中定义)已由“ocrsys_pybind.obj”导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4217: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“ libcpmt.lib(cout.obj)”中定义)已由“vpl_pybind.obj”(函数“"public: static struct pybind11::detail::npy_api & __cdecl pybind11::detail::npy_api::get(void)" (?get@npy_api
@detail@pybind11@@SAAEAU123@XZ)”中)导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4286: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“libcpmt.lib(cout.obj)”中定义)已由“faceid_pybind.obj”导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4217: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“ libcpmt.lib(cout.obj)”中定义)已由“modnet_pybind.obj”(函数“"private: class pybind11::object & __cdecl pybind11::detail::accessor<struct pybind11::detail::accessor_pol
icies::generic_item>::get_cache(void)const " (?get_cache@?$accessor@Ugeneric_item@accessor_policies@detail@pybind11@@@detail@pybind11@@AEBAAEAVobject@3@XZ)”中)导入 [D:\FastDeploy\pytho
n\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4286: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“libcpmt.lib(cout.obj)”中定义)已由“matting_pybind.obj”导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4217: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“ libcpmt.lib(cout.obj)”中定义)已由“arcface_pybind.obj”(函数“"public: static struct pybind11::detail::npy_api & __cdecl pybind11::detail::npy_api::get(void)" (?get@npy
_api@detail@pybind11@@SAAEAU123@XZ)”中)导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4217: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“ libcpmt.lib(cout.obj)”中定义)已由“cosface_pybind.obj”(函数“"public: static struct pybind11::detail::npy_api & __cdecl pybind11::detail::npy_api::get(void)" (?get@npy
_api@detail@pybind11@@SAAEAU123@XZ)”中)导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4217: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“ libcpmt.lib(cout.obj)”中定义)已由“insightface_rec_pybind.obj”(函数“"public: static struct pybind11::detail::npy_api & __cdecl pybind11::detail::npy_api::get(void)" (
?get@npy_api@detail@pybind11@@SAAEAU123@XZ)”中)导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4217: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“ libcpmt.lib(cout.obj)”中定义)已由“partial_fc_pybind.obj”(函数“"public: static struct pybind11::detail::npy_api & __cdecl pybind11::detail::npy_api::get(void)" (?get@
npy_api@detail@pybind11@@SAAEAU123@XZ)”中)导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4217: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“ libcpmt.lib(cout.obj)”中定义)已由“scrfd_pybind.obj”(函数“"public: void __cdecl pybind11::detail::instance::deallocate_layout(void)" (?deallocate_layout@instance@deta
il@pybind11@@QEAAXXZ)”中)导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
LINK : warning LNK4286: 符号“??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ (public: virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::ch
ar_traits<char> >(void))”(在“libcpmt.lib(cout.obj)”中定义)已由“ultraface_pybind.obj”导入 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]

............

main.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::basic_ostream<char,struct std::char_traits<
char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@H@Z),函数 "public: class fastdeploy::FDLogger & __cdecl fastdeploy::FDLogger::operator<<<int>(int
 const &)" (??$?6H@FDLogger@fastdeploy@@QEAAAEAV01@AEBH@Z) 中引用了该符号 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\Release\fastdeploy_main.cp38-win_amd64.pyd : fatal error LNK1120: 8 个无法解析的外部命令 [D:\FastDeploy\python\.setuptools-cmake-build\fastd
eploy_main.vcxproj]
Traceback (most recent call last):
  File "setup.py", line 387, in <module>
    setuptools.setup(
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
    return run_commands(dist)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
    dist.run_commands()
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_commands
    self.run_command(cmd)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\dist.py", line 1217, in run_command
    super().run_command(command)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
    cmd_obj.run()
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
    self.run_command(cmd_name)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
    self.distribution.run_command(command)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\dist.py", line 1217, in run_command
    super().run_command(command)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
    cmd_obj.run()
  File "setup.py", line 249, in run
    self.run_command('cmake_build')
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
    self.distribution.run_command(command)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\dist.py", line 1217, in run_command
    super().run_command(command)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
    cmd_obj.run()
  File "setup.py", line 243, in run
    subprocess.check_call(build_args)
  File "D:\Anaconda3\envs\fastdeploy\lib\subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['D:\\Anaconda3\\Library\\bin\\cmake.exe', '--build', '.', '--config', 'Release', '--', '/maxcpucount:20']' returned non-zero exit status 1.
DefTruth commented 2 years ago

先清空.setuptools-cmake-build的缓存,把TEXT关了再试试windows下的whl包编译:

set ENABLE_TEXT=OFF
monkeycc commented 2 years ago

删除了.setuptools-cmake-build的缓存文件夹

虽然加入了 set ENABLE_TEXT=OFF 但是我看编译信息 还是开启的 -- ENABLE_TEXT : ON

(fastdeploy) PS D:\FastDeploy\python> set ENABLE_TEXT=OFF
(fastdeploy) PS D:\FastDeploy\python> python setup.py build
running build
running build_py
running create_version
running cmake_build
-- Building for: Visual Studio 16 2019
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
-- The C compiler identification is MSVC 19.29.30146.0
-- The CXX compiler identification is MSVC 19.29.30146.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/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: D:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Downloading file from https://bj.bcebos.com/paddle2onnx/libs/opencv-win-x64-3.4.16.zip to D:/FastDeploy/python/.setuptools-cmake-build/opencv-win-x64-3.4.16.zip ...
Decompress file D:/FastDeploy/python/.setuptools-cmake-build/opencv-win-x64-3.4.16.zip ...
-- OpenCV ARCH: x64
-- OpenCV RUNTIME: vc15
-- OpenCV STATIC: OFF
-- Found OpenCV: D:/FastDeploy/python/.setuptools-cmake-build/third_libs/install/opencv-win-x64-3.4.16/build (found version "3.4.16")
-- Found OpenCV 3.4.16 in D:/FastDeploy/python/.setuptools-cmake-build/third_libs/install/opencv-win-x64-3.4.16/build/x64/vc15/lib
-- You might need to add D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv-win-x64-3.4.16\build\x64\vc15\bin to your PATH to be able to run your applications.
FASTERTOKENIZER_COMPILE_LIB = D:/FastDeploy/python/.setuptools-cmake-build/third_libs/install/faster_tokenizer/lib/core_tokenizers.lib
--
-- *************FastDeploy Building Summary**********
--   CMake version             : 3.19.6
--   CMake command             : D:/Anaconda3/Library/bin/cmake.exe
--   System                    : Windows
--   C++ compiler              : D:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
--   C++ compiler version      : 19.29.30146.0
--   CXX flags                 : /DWIN32 /D_WINDOWS /W3 /GR /EHsc
--   Build type                : Release
--   Compile definitions       : YAML_CPP_DLL;FASTDEPLOY_LIB;EIGEN_STRONG_INLINE=inline;ENABLE_PADDLE_FRONTEND;ENABLE_ORT_BACKEND;ENABLE_VISION;ENABLE_VISION_VISUALIZE;ENABLE_TEXT
--   CMAKE_PREFIX_PATH         :
--   CMAKE_INSTALL_PREFIX      : C:/Program Files/fastdeploy
--   CMAKE_MODULE_PATH         :
--
--   FastDeploy version        : 0.2.1
--   Paddle2ONNX version       : 1.0.1rc
--   ENABLE_ORT_BACKEND        : ON
--   ENABLE_PADDLE_BACKEND     : OFF
--   ENABLE_TRT_BACKEND        : OFF
--   ENABLE_OPENVINO_BACKEND   : OFF
--   ONNXRuntime version       : 1.12.0
--   ENABLE_VISION             : ON
--   ENABLE_TEXT               : ON
--   ENABLE_DEBUG              : OFF
--   ENABLE_VISION_VISUALIZE   : ON
--   Python executable         : D:\Anaconda3\envs\fastdeploy\python.exe
--   Python includes           : D:\Anaconda3\envs\fastdeploy\include
-- Found PythonInterp: D:/Anaconda3/envs/fastdeploy/python.exe (found suitable version "3.8.13", minimum required is "3.8")
-- Found PythonLibs: D:/Anaconda3/envs/fastdeploy/libs/python38.lib (found suitable version "3.8.13", minimum required is "3.8")
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_COMPILE_COMMANDS
    ONNX_NAMESPACE

-- Build files have been written to: D:/FastDeploy/python/.setuptools-cmake-build
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642
版权所有(C) Microsoft Corporation。保留所有权利。

  Checking File Globs
  Checking Build System
  Creating directories for 'extern_paddle2onnx'
  Creating directories for 'extern_eigen3'
  Creating directories for 'extern_onnxruntime'
  Creating directories for 'extern_faster_tokenizer'
  Performing download step (download, verify and extract) for 'extern_paddle2onnx'
  Performing download step (git clone) for 'extern_eigen3'
  Performing download step (download, verify and extract) for 'extern_faster_tokenizer'
  -- Downloading...
     dst='D:/FastDeploy/python/.setuptools-cmake-build/third_libs/paddle2onnx/src/paddle2onnx-win-x64-1.0.1rc.zip'
     timeout='none'
     inactivity timeout='none'
  -- Using src='https://bj.bcebos.com/fastdeploy/third_libs/paddle2onnx-win-x64-1.0.1rc.zip'
  Performing download step (download, verify and extract) for 'extern_onnxruntime'
  -- Downloading...
     dst='D:/FastDeploy/python/.setuptools-cmake-build/third_libs/faster_tokenizer/src/faster_tokenizer-win-x64-dev.zip'
     timeout='none'
     inactivity timeout='none'
  -- Using src='https://bj.bcebos.com/paddlenlp/faster_tokenizer/faster_tokenizer-win-x64-dev.zip'
  -- Downloading...
     dst='D:/FastDeploy/python/.setuptools-cmake-build/third_libs/onnxruntime/src/onnxruntime-win-x64-1.12.0.zip'
     timeout='none'
     inactivity timeout='none'
  -- Using src='https://bj.bcebos.com/paddle2onnx/libs/onnxruntime-win-x64-1.12.0.zip'
  Cloning into 'extern_eigen3'...
  -- Downloading... done
  -- extracting...
       src='D:/FastDeploy/python/.setuptools-cmake-build/third_libs/paddle2onnx/src/paddle2onnx-win-x64-1.0.1rc.zip'
       dst='D:/FastDeploy/python/.setuptools-cmake-build/third_libs/paddle2onnx/src/extern_paddle2onnx'
  -- extracting... [tar xfz]
  -- extracting... [analysis]
  -- extracting... [rename]
  -- extracting... [clean up]
  -- extracting... done
  No update step for 'extern_paddle2onnx'
  No patch step for 'extern_paddle2onnx'
  No configure step for 'extern_paddle2onnx'
  No build step for 'extern_paddle2onnx'
  Performing install step for 'extern_paddle2onnx'
  Completed 'extern_paddle2onnx'
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  -- Downloading... done
  -- extracting...
       src='D:/FastDeploy/python/.setuptools-cmake-build/third_libs/faster_tokenizer/src/faster_tokenizer-win-x64-dev.zip'
       dst='D:/FastDeploy/python/.setuptools-cmake-build/third_libs/faster_tokenizer/src/extern_faster_tokenizer'
  -- extracting... [tar xfz]
  -- extracting... [analysis]
  -- extracting... [rename]
  -- extracting... [clean up]
  -- extracting... done
  No update step for 'extern_faster_tokenizer'
  No patch step for 'extern_faster_tokenizer'
  No configure step for 'extern_faster_tokenizer'
  No build step for 'extern_faster_tokenizer'
  Performing install step for 'extern_faster_tokenizer'
  Completed 'extern_faster_tokenizer'
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  -- Downloading... done
  -- extracting...
       src='D:/FastDeploy/python/.setuptools-cmake-build/third_libs/onnxruntime/src/onnxruntime-win-x64-1.12.0.zip'
       dst='D:/FastDeploy/python/.setuptools-cmake-build/third_libs/onnxruntime/src/extern_onnxruntime'
  -- extracting... [tar xfz]
  -- extracting... [analysis]
  -- extracting... [rename]
  -- extracting... [clean up]
  -- extracting... done
  No update step for 'extern_onnxruntime'
  No patch step for 'extern_onnxruntime'
  No configure step for 'extern_onnxruntime'
  No build step for 'extern_onnxruntime'
  Performing install step for 'extern_onnxruntime'
  Completed 'extern_onnxruntime'
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  Building Custom Rule D:/FastDeploy/third_party/yaml-cpp/CMakeLists.txt
cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [D:\FastDeploy\python\.setuptools-cmake-build\third_party\yaml-cpp\yaml-cpp.vcxproj]
  graphbuilder.cpp
  Defining YAML_CPP_API for DLL export
  graphbuilderadapter.cpp
  Defining YAML_CPP_API for DLL export
  binary.cpp
  Defining YAML_CPP_API for DLL export
  convert.cpp
  Defining YAML_CPP_API for DLL export
  depthguard.cpp
  Defining YAML_CPP_API for DLL export
  directives.cpp
  emit.cpp
  Defining YAML_CPP_API for DLL export
  emitfromevents.cpp
  Defining YAML_CPP_API for DLL export
  emitter.cpp
  Defining YAML_CPP_API for DLL export
  emitterstate.cpp
  Defining YAML_CPP_API for DLL export
  emitterutils.cpp
  Defining YAML_CPP_API for DLL export
  exceptions.cpp
  Defining YAML_CPP_API for DLL export
  exp.cpp
  Defining YAML_CPP_API for DLL export
  memory.cpp
  Defining YAML_CPP_API for DLL export
  node.cpp
  Defining YAML_CPP_API for DLL export
  node_data.cpp
  Defining YAML_CPP_API for DLL export
  nodebuilder.cpp
  Defining YAML_CPP_API for DLL export
  nodeevents.cpp
  Defining YAML_CPP_API for DLL export
  null.cpp
  Defining YAML_CPP_API for DLL export
  ostream_wrapper.cpp
  Defining YAML_CPP_API for DLL export
  正在生成代码...
  正在编译...
  parse.cpp
  Defining YAML_CPP_API for DLL export
  parser.cpp
  Defining YAML_CPP_API for DLL export
  regex_yaml.cpp
  Defining YAML_CPP_API for DLL export
  scanner.cpp
  Defining YAML_CPP_API for DLL export
  scanscalar.cpp
  Defining YAML_CPP_API for DLL export
  scantag.cpp
  Defining YAML_CPP_API for DLL export
  scantoken.cpp
  Defining YAML_CPP_API for DLL export
  simplekey.cpp
  Defining YAML_CPP_API for DLL export
  singledocparser.cpp
  Defining YAML_CPP_API for DLL export
  stream.cpp
  Defining YAML_CPP_API for DLL export
  tag.cpp
  Defining YAML_CPP_API for DLL export
  正在生成代码...
    正在创建库 D:/FastDeploy/python/.setuptools-cmake-build/third_party/yaml-cpp/Release/yaml-cpp.lib 和对象 D:/FastDeploy/python/.setuptools-cmake-build/third_party/yaml-cpp/Release/
  yaml-cpp.exp
  yaml-cpp.vcxproj -> D:\FastDeploy\python\.setuptools-cmake-build\third_party\yaml-cpp\Release\yaml-cpp.dll
  Note: switching to 'f612df273689a19d25b45ca4f8269463207c4fee'.

  You are in 'detached HEAD' state. You can look around, make experimental
  changes and commit them, and you can discard any commits you make in this
  state without impacting any branches by switching back to a branch.

  If you want to create a new branch to retain commits you create, you may
  do so (now or later) by using -c with the switch command. Example:

    git switch -c <new-branch-name>

  Or undo this operation with:

    git switch -

  Turn off this advice by setting config variable advice.detachedHead to false

  HEAD is now at f612df273 Add fmod(half, half).
  No update step for 'extern_eigen3'
  No patch step for 'extern_eigen3'
  No configure step for 'extern_eigen3'
  No build step for 'extern_eigen3'
  No install step for 'extern_eigen3'
  No test step for 'extern_eigen3'
  Completed 'extern_eigen3'
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  multiclass_nms.cc
D:\FastDeploy\.\fastdeploy/backends/common/multiclass_nms.h(26,23): warning C4305: “初始化”: 从“double”到“float”截断 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(86,56): warning C4244: “参数”: 从“int64_t”转换到“const int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeplo
y.vcxproj]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(106,54): warning C4554: “&”: 检查运算符优先级是否存在的可能的错误;使用括号阐明优先级 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.v
cxproj]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(124,35): warning C4267: “+=”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxp
roj]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(150,15): warning C4244: “=”: 从“int64_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxp
roj]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(158,37): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcx
proj]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(173,24): warning C4018: “<”: 有符号/无符号不匹配 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(180,58): warning C4244: “参数”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.v
cxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(180,43): warning C4244: “参数”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.v
cxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(188,26): warning C4018: “<”: 有符号/无符号不匹配 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(197,24): warning C4018: “<”: 有符号/无符号不匹配 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(209,31): warning C4244: “=”: 从“int”转换到“_Ty”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=float
          ]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(217,62): warning C4267: “=”: 从“size_t”转换到“_Ty”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxpr
oj]
          with
          [
              _Ty=int32_t
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\utility(242,61): warning C4244: “初始化”: 从“_Ty”转换到“_Ty2”,可能丢失数据 [D:\FastDeploy\pytho
n\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=unsigned __int64
          ]
          and
          [
              _Ty2=int
          ]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(33): message : 查看对正在编译的函数 模板 实例化“std::pair<float,int>::pair<float,unsigned __int64,0>(std::pair<float,unsigned __int64> &&
) noexcept”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\backends\common\multiclass_nms.cc(33): message : 查看对正在编译的函数 模板 实例化“std::pair<float,int>::pair<float,unsigned __int64,0>(std::pair<float,unsigned __int64> &&
) noexcept”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
  allocate.cc
  fd_tensor.cc
D:\FastDeploy\fastdeploy\core\fd_tensor.cc(81,1): warning C4018: “<=”: 有符号/无符号不匹配 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\core\fd_tensor.cc(81,1): warning C4477: “snprintf”: 格式字符串“%lu”需要类型“unsigned long”的参数,但可变参数 1 拥有了类型“size_t” [D:\FastDeploy\python\.setuptools-cmake-bui
ld\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\core\fd_tensor.cc(81,1): message : 请考虑在格式字符串中使用“%zu” [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\numeric(34,33): warning C4244: “参数”: 从“const __int64”转换到“const _Ty”,可能丢失数据 [D:\Fas
tDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int
          ]
D:\FastDeploy\fastdeploy\core\fd_tensor.cc(102): message : 查看对正在编译的函数 模板 实例化“_Ty std::accumulate<std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<__int64>>>,int,std::
multiplies<_Ty>>(const _InIt,const _InIt,_Ty,_Fn)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int,
              _InIt=std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<int64_t>>>,
              _Fn=std::multiplies<int>
          ]
D:\FastDeploy\fastdeploy\core\fd_tensor.cc(152,14): warning C4244: “=”: 从“T”转换到“double”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=int64_t
          ]
D:\FastDeploy\fastdeploy\core\fd_tensor.cc(177): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::CalculateStatisInfo<int64_t>(void *,int,double *,double *,double *)”的 引用 [D:\FastD
eploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\core\fd_tensor.cc(155,14): warning C4244: “=”: 从“T”转换到“double”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=int64_t
          ]
  fd_type.cc
  fastdeploy_model.cc
D:\FastDeploy\.\fastdeploy/backends/common/multiclass_nms.h(26,23): warning C4305: “初始化”: 从“double”到“float”截断 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\fastdeploy_model.cc(175,48): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\fastdeploy_model.cc(195,59): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\fastdeploy_model.cc(196,48): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\fastdeploy_model.cc(197,48): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\fastdeploy_model.cc(198,48): warning C4244: “=”: 从“int”转换到“float”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\fastdeploy_model.cc(199,45): warning C4244: “=”: 从“double”转换到“float”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\fastdeploy_model.cc(200,68): warning C4244: “=”: 从“unsigned __int64”转换到“float”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj
]
  fastdeploy_runtime.cc
D:\FastDeploy\.\fastdeploy/backends/common/multiclass_nms.h(26,23): warning C4305: “初始化”: 从“double”到“float”截断 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/backends/ort/ort_backend.h(71,25): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxpro
j]
D:\FastDeploy\.\fastdeploy/backends/ort/ort_backend.h(73,26): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxpro
j]
  eigen.cc
D:\FastDeploy\.\fastdeploy/utils/axis_utils.h(29,20): warning C4244: “*=”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\.\fastdeploy/utils/axis_utils.h(38,20): warning C4244: “*=”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\.\fastdeploy/utils/axis_utils.h(47,20): warning C4244: “*=”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\Eigen\src/Core/arch/Default/Half.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式
以防止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\Eigen\src/Core/arch/Default/BFloat16.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicod
e 格式以防止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\Eigen\src/Core/arch/Default/GenericPacketMathFunctions.h(667,1): warning C4819: 该文件包含不能在当前 代码页(936)中表
示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
  reduce.cc
D:\FastDeploy\.\fastdeploy/utils/axis_utils.h(29,20): warning C4244: “*=”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\.\fastdeploy/utils/axis_utils.h(38,20): warning C4244: “*=”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\.\fastdeploy/utils/axis_utils.h(47,20): warning C4244: “*=”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\Eigen\src/Core/arch/Default/Half.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式
以防止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\Eigen\src/Core/arch/Default/BFloat16.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicod
e 格式以防止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\Eigen\src/Core/arch/Default/GenericPacketMathFunctions.h(667,1): warning C4819: 该文件包含不能在当前 代码页(936)中表
示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\reduce.cc(205,1): warning C4267: “初始化”: 从“size_t”转换到“const int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\reduce.cc(356): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::Reduce<fastdeploy::MaxFunctor>(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,con
st std::vector<int64_t,std::allocator<int64_t>> &,bool,bool)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\unsupported\Eigen\CXX11\src/Tensor/Tensor.h(76,1): warning C4554: “&”: 检查运算符优先级是否存在的可能的错误;使用括号阐明优先级
[D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\unsupported\Eigen\CXX11\src/Tensor/TensorMap.h(43): message : 查看对正在编译的 类 模板 实例化“Eigen::Tensor<const
T,1,1,IndexType>”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\fastdeploy\function\reduce.cc(159): message : 查看对正在编译的 类 模板 实例化“Eigen::TensorMap<Eigen::Tensor<const T,1,1,IndexType>,0,Eigen::MakePointer>”的引用 [D:\FastDeploy\py
thon\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\fastdeploy\function\reduce.cc(217): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::ReduceKernelImpl<data_t,Functor>(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,c
onst std::vector<int64_t,std::allocator<int64_t>> &,bool,bool)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              Functor=fastdeploy::MaxFunctor
          ]
D:\FastDeploy\fastdeploy\function\reduce.cc(356): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::Reduce<fastdeploy::MaxFunctor>(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,con
st std::vector<int64_t,std::allocator<int64_t>> &,bool,bool)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\reduce.cc(166,1): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\reduce.cc(167,1): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\reduce.cc(263,16): warning C4244: “初始化”: 从“int64_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\reduce.cc(348): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::ArgMinMaxKernel<T,data_t,fastdeploy::kArgMax>(const fastdeploy::FDTensor &,fastdeploy:
:FDTensor *,int64_t,bool,bool)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\reduce.cc(394): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::ArgMinMax<data_t,fastdeploy::kArgMax>(const fastdeploy::FDTensor &,fastdeploy::FDTenso
r *,int64_t,fastdeploy::FDDataType,bool,bool)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\reduce.cc(270,1): warning C4267: “=”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(32,27): warning C4018: “<”: 有符号/无符号不匹配 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(30): message : 在编译 类 模板 成员函数“Eigen::DSizes<__int64,1> fastdeploy::EigenDim<1>::From(const std::vector<int64_t,std::allocator<int64_t>> &)
”时 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(59): message : 查看对正在编译的函数 模板 实例化“Eigen::DSizes<__int64,1> fastdeploy::EigenDim<1>::From(const std::vector<int64_t,std::allocator<int64_t>
> &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(60): message : 查看对正在编译的 类 模板 实例化“fastdeploy::EigenDim<1>”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(58): message : 在编译 类 模板 成员函数“Eigen::TensorMap<Eigen::Tensor<const T,1,1,IndexType>,0,Eigen::MakePointer> fastdeploy::EigenTensor<T,1,1,In
dexType>::From(const fastdeploy::FDTensor &,const std::vector<int64_t,std::allocator<int64_t>> &)”时 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=bool,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\.\fastdeploy/function/eigen.h(96): message : 查看对正在编译的函数 模板 实例化“Eigen::TensorMap<Eigen::Tensor<const T,1,1,IndexType>,0,Eigen::MakePointer> fastdeploy::EigenTensor<T,1,
1,IndexType>::From(const fastdeploy::FDTensor &,const std::vector<int64_t,std::allocator<int64_t>> &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=bool,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\.\fastdeploy/function/eigen.h(88): message : 查看对正在编译的 类 模板 实例化“fastdeploy::EigenTensor<T,1,1,IndexType>”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdep
loy.vcxproj]
          with
          [
              T=bool,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\fastdeploy\function\reduce.cc(159): message : 查看对正在编译的 类 模板 实例化“fastdeploy::EigenVector<OutT,1,Eigen::DenseIndex>”的引用 [D:\FastDeploy\python\.setuptools-cmake-bui
ld\fastdeploy.vcxproj]
          with
          [
              OutT=bool
          ]
D:\FastDeploy\fastdeploy\function\reduce.cc(198): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::ReduceKernelImpl<bool,Functor>(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,con
st std::vector<int64_t,std::allocator<int64_t>> &,bool,bool)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              Functor=fastdeploy::AllFunctor
          ]
D:\FastDeploy\fastdeploy\function\reduce.cc(38,31): warning C4244: “=”: 从“_Ty”转换到“_Ty”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
          and
          [
              _Ty=int
          ]
D:\FastDeploy\fastdeploy\function\reduce.cc(171): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::ReduceFunctor<OutT,4,3,Functor>(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,co
nst std::vector<int64_t,std::allocator<int64_t>> &,bool)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              OutT=data_t,
              Functor=fastdeploy::MaxFunctor
          ]
D:\FastDeploy\fastdeploy\function\reduce.cc(217): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::ReduceKernelImpl<data_t,Functor>(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,c
onst std::vector<int64_t,std::allocator<int64_t>> &,bool,bool)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              Functor=fastdeploy::MaxFunctor
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(681,47): warning C4244: “初始化”: 从“const _Ty”转换到“_Objty”,可能丢失数据 [D:\FastDepl
oy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
          and
          [
              _Objty=int
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xtree(805): message : 查看对正在编译的函数 模板 实例化“void std::_Default_allocator_traits<_Alloc>::con
struct<_Ty,const __int64&>(_Alloc &,_Objty *const ,const __int64 &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Alloc=std::allocator<std::_Tree_node<int,std::_Default_allocator_traits<std::allocator<int>>::void_pointer>>,
              _Ty=int,
              _Objty=int
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xtree(805): message : 查看对正在编译的函数 模板 实例化“void std::_Default_allocator_traits<_Alloc>::con
struct<_Ty,const __int64&>(_Alloc &,_Objty *const ,const __int64 &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Alloc=std::allocator<std::_Tree_node<int,std::_Default_allocator_traits<std::allocator<int>>::void_pointer>>,
              _Ty=int,
              _Objty=int
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xtree(1058): message : 查看对正在编译的函数 模板 实例化“std::_Tree_temp_node<std::allocator<std::_Tree_
node<int,std::_Default_allocator_traits<_Alloc>::void_pointer>>>::_Tree_temp_node<const _Ty&>(_Alnode &,std::_Tree_node<int,std::_Default_allocator_traits<_Alloc>::void_pointer> *,const _
Ty &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Alloc=std::allocator<int>,
              _Ty=int64_t,
              _Alnode=std::allocator<std::_Tree_node<int,std::_Default_allocator_traits<std::allocator<int>>::void_pointer>>
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xtree(1058): message : 查看对正在编译的函数 模板 实例化“std::_Tree_temp_node<std::allocator<std::_Tree_
node<int,std::_Default_allocator_traits<_Alloc>::void_pointer>>>::_Tree_temp_node<const _Ty&>(_Alnode &,std::_Tree_node<int,std::_Default_allocator_traits<_Alloc>::void_pointer> *,const _
Ty &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Alloc=std::allocator<int>,
              _Ty=int64_t,
              _Alnode=std::allocator<std::_Tree_node<int,std::_Default_allocator_traits<std::allocator<int>>::void_pointer>>
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xtree(1271): message : 查看对正在编译的函数 模板 实例化“std::_Tree_node<int,std::_Default_allocator_tra
its<_Alloc>::void_pointer> *std::_Tree<std::_Tset_traits<_Kty,_Pr,_Alloc,false>>::_Emplace_hint<const __int64&>(std::_Tree_node<int,std::_Default_allocator_traits<_Alloc>::void_pointer> *
const ,const __int64 &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Alloc=std::allocator<int>,
              _Kty=int,
              _Pr=std::less<int>
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xtree(1271): message : 查看对正在编译的函数 模板 实例化“std::_Tree_node<int,std::_Default_allocator_tra
its<_Alloc>::void_pointer> *std::_Tree<std::_Tset_traits<_Kty,_Pr,_Alloc,false>>::_Emplace_hint<const __int64&>(std::_Tree_node<int,std::_Default_allocator_traits<_Alloc>::void_pointer> *
const ,const __int64 &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Alloc=std::allocator<int>,
              _Kty=int,
              _Pr=std::less<int>
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\set(96): message : 查看对正在编译的函数 模板 实例化“void std::_Tree<std::_Tset_traits<_Kty,_Pr,_Alloc,f
alse>>::insert<_Iter>(_Iter,_Iter)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Kty=int,
              _Pr=std::less<int>,
              _Alloc=std::allocator<int>,
              _Iter=std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<int64_t>>>
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\set(96): message : 查看对正在编译的函数 模板 实例化“void std::_Tree<std::_Tset_traits<_Kty,_Pr,_Alloc,f
alse>>::insert<_Iter>(_Iter,_Iter)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Kty=int,
              _Pr=std::less<int>,
              _Alloc=std::allocator<int>,
              _Iter=std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<int64_t>>>
          ]
D:\FastDeploy\fastdeploy\function\reduce.cc(206): message : 查看对正在编译的函数 模板 实例化“std::set<int,std::less<int>,std::allocator<int>>::set<std::_Vector_const_iterator<std::_Vector_val<std:
:_Simple_types<_Ty>>>>(_Iter,_Iter)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t,
              _Iter=std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<int64_t>>>
          ]
D:\FastDeploy\fastdeploy\function\reduce.cc(206): message : 查看对正在编译的函数 模板 实例化“std::set<int,std::less<int>,std::allocator<int>>::set<std::_Vector_const_iterator<std::_Vector_val<std:
:_Simple_types<_Ty>>>>(_Iter,_Iter)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t,
              _Iter=std::_Vector_const_iterator<std::_Vector_val<std::_Simple_types<int64_t>>>
          ]
  softmax.cc
D:\FastDeploy\.\fastdeploy/utils/axis_utils.h(29,20): warning C4244: “*=”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\.\fastdeploy/utils/axis_utils.h(38,20): warning C4244: “*=”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\.\fastdeploy/utils/axis_utils.h(47,20): warning C4244: “*=”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\Eigen\src/Core/arch/Default/Half.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式
以防止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\Eigen\src/Core/arch/Default/BFloat16.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicod
e 格式以防止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\Eigen\src/Core/arch/Default/GenericPacketMathFunctions.h(667,1): warning C4819: 该文件包含不能在当前 代码页(936)中表
示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\softmax.cc(115,1): warning C4477: “snprintf”: 格式字符串“%lu”需要类型“unsigned long”的参数,但可变参数 1 拥有了类型“unsigned __int64” [D:\FastDeploy\python\.setupto
ols-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\softmax.cc(115,1): message : 请考虑在格式字符串中使用“%zu” [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\softmax.cc(96,1): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\softmax.cc(121): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::SoftmaxKernel<data_t>(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,int)”的引用 [D
:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\softmax.cc(96,1): warning C4267: “初始化”: 从“size_t”转换到“const int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\softmax.cc(98,16): warning C4244: “初始化”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\unsupported\Eigen\CXX11\src/Tensor/Tensor.h(76,1): warning C4554: “&”: 检查运算符优先级是否存在的可能的错误;使用括号阐明优先级
[D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\unsupported\Eigen\CXX11\src/Tensor/TensorMap.h(43): message : 查看对正在编译的 类 模板 实例化“Eigen::Tensor<const
T,2,1,IndexType>”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\fastdeploy\function\softmax.cc(39): message : 查看对正在编译的 类 模板 实例化“Eigen::TensorMap<Eigen::Tensor<const T,2,1,IndexType>,0,Eigen::MakePointer>”的引用 [D:\FastDeploy\py
thon\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\fastdeploy\function\softmax.cc(34): message : 在编译 类 模板 成员函数“void fastdeploy::SoftmaxEigen<T>::operator ()(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,int)”时 [D
:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\softmax.cc(91): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::SoftmaxEigen<T>::operator ()(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,int)”
的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\softmax.cc(91): message : 查看对正在编译的 类 模板 实例化“fastdeploy::SoftmaxEigen<T>”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\softmax.cc(111): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::SoftmaxFunctor<T>(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,int)”的引用 [D:\0S
DXX\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\softmax.cc(121): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::SoftmaxKernel<data_t>(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,int)”的引用 [D
:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\softmax.cc(42,44): warning C4244: “初始化”: 从“__int64”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\softmax.cc(42,26): warning C4244: “初始化”: 从“__int64”转换到“const int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\softmax.cc(43,45): warning C4244: “初始化”: 从“__int64”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\softmax.cc(43,27): warning C4244: “初始化”: 从“__int64”转换到“const int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(32,27): warning C4018: “<”: 有符号/无符号不匹配 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(30): message : 在编译 类 模板 成员函数“Eigen::DSizes<__int64,2> fastdeploy::EigenDim<2>::From(const std::vector<int64_t,std::allocator<int64_t>> &)
”时 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(59): message : 查看对正在编译的函数 模板 实例化“Eigen::DSizes<__int64,2> fastdeploy::EigenDim<2>::From(const std::vector<int64_t,std::allocator<int64_t>
> &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(60): message : 查看对正在编译的 类 模板 实例化“fastdeploy::EigenDim<2>”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(58): message : 在编译 类 模板 成员函数“Eigen::TensorMap<Eigen::Tensor<const T,2,1,IndexType>,0,Eigen::MakePointer> fastdeploy::EigenTensor<T,2,1,In
dexType>::From(const fastdeploy::FDTensor &,const std::vector<int64_t,std::allocator<int64_t>> &)”时 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\.\fastdeploy/function/eigen.h(64): message : 查看对正在编译的函数 模板 实例化“Eigen::TensorMap<Eigen::Tensor<const T,2,1,IndexType>,0,Eigen::MakePointer> fastdeploy::EigenTensor<T,2,
1,IndexType>::From(const fastdeploy::FDTensor &,const std::vector<int64_t,std::allocator<int64_t>> &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\.\fastdeploy/function/eigen.h(102): message : 查看对正在编译的 类 模板 实例化“fastdeploy::EigenTensor<T,2,1,IndexType>”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastde
ploy.vcxproj]
          with
          [
              T=data_t,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\fastdeploy\function\softmax.cc(39): message : 查看对正在编译的 类 模板 实例化“fastdeploy::EigenMatrix<T,1,Eigen::DenseIndex>”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\
fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\softmax.cc(34): message : 在编译 类 模板 成员函数“void fastdeploy::SoftmaxEigen<T>::operator ()(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,int)”时 [D
:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\softmax.cc(91): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::SoftmaxEigen<T>::operator ()(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,int)”
的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
  transpose.cc
D:\FastDeploy\.\fastdeploy/utils/axis_utils.h(29,20): warning C4244: “*=”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\.\fastdeploy/utils/axis_utils.h(38,20): warning C4244: “*=”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\.\fastdeploy/utils/axis_utils.h(47,20): warning C4244: “*=”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\Eigen\src/Core/arch/Default/Half.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式
以防止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\Eigen\src/Core/arch/Default/BFloat16.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicod
e 格式以防止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\Eigen\src/Core/arch/Default/GenericPacketMathFunctions.h(667,1): warning C4819: 该文件包含不能在当前 代码页(936)中表
示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\transpose.cc(95,1): warning C4477: “snprintf”: 格式字符串“%lu”需要类型“unsigned long”的参数,但可变参数 1 拥有了类型“unsigned __int64” [D:\FastDeploy\python\.setupt
ools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\transpose.cc(95,1): message : 请考虑在格式字符串中使用“%zu” [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\transpose.cc(95,1): warning C4477: “snprintf”: 格式字符串“%lu”需要类型“unsigned long”的参数,但可变参数 2 拥有了类型“size_t” [D:\FastDeploy\python\.setuptools-cmake
-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\transpose.cc(95,1): message : 请考虑在格式字符串中使用“%zu” [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\transpose.cc(67,1): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\transpose.cc(115): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::TransposeKernel<data_t>(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,const s
td::vector<int64_t,std::allocator<int64_t>> &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\transpose.cc(25,1): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\transpose.cc(24): message : 在编译 类 模板 成员函数“void fastdeploy::TransposeNormalKernel<T>::operator ()(const fastdeploy::FDTensor &,fastdeploy::FDTensor
*,const std::vector<int64_t,std::allocator<int64_t>> &)”时 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\transpose.cc(88): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::TransposeNormalKernel<T>::operator ()(const fastdeploy::FDTensor &,fastdeploy::FDTen
sor *,const std::vector<int64_t,std::allocator<int64_t>> &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\transpose.cc(87): message : 查看对正在编译的 类 模板 实例化“fastdeploy::TransposeNormalKernel<T>”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdepl
oy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\transpose.cc(115): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::TransposeKernel<data_t>(const fastdeploy::FDTensor &,fastdeploy::FDTensor *,const s
td::vector<int64_t,std::allocator<int64_t>> &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\transpose.cc(25,1): warning C4267: “初始化”: 从“size_t”转换到“const int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\function\transpose.cc(54,26): warning C4244: “=”: 从“const _Ty”转换到“_Ty”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
          and
          [
              _Ty=int
          ]
D:\FastDeploy\fastdeploy\function\transpose.cc(51): message : 在编译 类 模板 成员函数“void fastdeploy::TransposeKernelImpl<T,4>::operator ()(const fastdeploy::FDTensor &,fastdeploy::FDTensor
*,const std::vector<int64_t,std::allocator<int64_t>> &)”时 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\transpose.cc(83): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::TransposeKernelImpl<T,4>::operator ()(const fastdeploy::FDTensor &,fastdeploy::FDTen
sor *,const std::vector<int64_t,std::allocator<int64_t>> &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\transpose.cc(82): message : 查看对正在编译的 类 模板 实例化“fastdeploy::TransposeKernelImpl<T,4>”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdepl
oy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\unsupported\Eigen\CXX11\src/Tensor/Tensor.h(76,1): warning C4554: “&”: 检查运算符优先级是否存在的可能的错误;使用括号阐明优先级
[D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\eigen3\src\extern_eigen3\unsupported\Eigen\CXX11\src/Tensor/TensorMap.h(43): message : 查看对正在编译的 类 模板 实例化“Eigen::Tensor<const
T,4,1,IndexType>”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\fastdeploy\function\transpose.cc(58): message : 查看对正在编译的 类 模板 实例化“Eigen::TensorMap<Eigen::Tensor<const T,4,1,IndexType>,0,Eigen::MakePointer>”的引用 [D:\FastDeploy\
python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\.\fastdeploy/function/eigen.h(32,27): warning C4018: “<”: 有符号/无符号不匹配 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(30): message : 在编译 类 模板 成员函数“Eigen::DSizes<__int64,4> fastdeploy::EigenDim<4>::From(const std::vector<int64_t,std::allocator<int64_t>> &)
”时 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(59): message : 查看对正在编译的函数 模板 实例化“Eigen::DSizes<__int64,4> fastdeploy::EigenDim<4>::From(const std::vector<int64_t,std::allocator<int64_t>
> &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(60): message : 查看对正在编译的 类 模板 实例化“fastdeploy::EigenDim<4>”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/function/eigen.h(58): message : 在编译 类 模板 成员函数“Eigen::TensorMap<Eigen::Tensor<const T,4,1,IndexType>,0,Eigen::MakePointer> fastdeploy::EigenTensor<T,4,1,In
dexType>::From(const fastdeploy::FDTensor &,const std::vector<int64_t,std::allocator<int64_t>> &)”时 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\.\fastdeploy/function/eigen.h(64): message : 查看对正在编译的函数 模板 实例化“Eigen::TensorMap<Eigen::Tensor<const T,4,1,IndexType>,0,Eigen::MakePointer> fastdeploy::EigenTensor<T,4,
1,IndexType>::From(const fastdeploy::FDTensor &,const std::vector<int64_t,std::allocator<int64_t>> &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t,
              IndexType=Eigen::DenseIndex
          ]
D:\FastDeploy\fastdeploy\function\transpose.cc(58): message : 查看对正在编译的 类 模板 实例化“fastdeploy::EigenTensor<T,4,1,Eigen::DenseIndex>”的引用 [D:\FastDeploy\python\.setuptools-cmake-bu
ild\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\transpose.cc(51): message : 在编译 类 模板 成员函数“void fastdeploy::TransposeKernelImpl<T,4>::operator ()(const fastdeploy::FDTensor &,fastdeploy::FDTensor
*,const std::vector<int64_t,std::allocator<int64_t>> &)”时 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
D:\FastDeploy\fastdeploy\function\transpose.cc(83): message : 查看对正在编译的函数 模板 实例化“void fastdeploy::TransposeKernelImpl<T,4>::operator ()(const fastdeploy::FDTensor &,fastdeploy::FDTen
sor *,const std::vector<int64_t,std::allocator<int64_t>> &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=data_t
          ]
  utils.cc
D:\FastDeploy\fastdeploy\utils\utils.cc(52,3): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
  multiclass_nms.cc
D:\FastDeploy\.\fastdeploy/backends/ort/ops/multiclass_nms.h(29,23): warning C4305: “初始化”: 从“double”到“float”截断 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj
]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(96,56): warning C4244: “参数”: 从“int64_t”转换到“const int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdepl
oy.vcxproj]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(116,54): warning C4554: “&”: 检查运算符优先级是否存在的可能的错误;使用括号阐明优先级 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.
vcxproj]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(134,35): warning C4267: “+=”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcx
proj]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(160,15): warning C4244: “=”: 从“int64_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcx
proj]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(174,37): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vc
xproj]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(192,24): warning C4018: “<”: 有符号/无符号不匹配 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(199,58): warning C4244: “参数”: 从“_Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxpro
j]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(199,43): warning C4244: “参数”: 从“_Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxpro
j]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(213,26): warning C4018: “<”: 有符号/无符号不匹配 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(222,24): warning C4018: “<”: 有符号/无符号不匹配 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(234,31): warning C4244: “=”: 从“int”转换到“float”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxpr
oj]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(242,62): warning C4267: “=”: 从“size_t”转换到“int32_t”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.
vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\utility(242,61): warning C4244: “初始化”: 从“_Ty”转换到“_Ty2”,可能丢失数据 [D:\FastDeploy\pytho
n\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=unsigned __int64
          ]
          and
          [
              _Ty2=int
          ]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(43): message : 查看对正在编译的函数 模板 实例化“std::pair<float,int>::pair<float,unsigned __int64,0>(std::pair<float,unsigned __int64> &
&) noexcept”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\backends\ort\ops\multiclass_nms.cc(43): message : 查看对正在编译的函数 模板 实例化“std::pair<float,int>::pair<float,unsigned __int64,0>(std::pair<float,unsigned __int64> &
&) noexcept”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
  ort_backend.cc
D:\FastDeploy\.\fastdeploy/backends/common/multiclass_nms.h(26,23): warning C4305: “初始化”: 从“double”到“float”截断 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\.\fastdeploy/backends/ort/ort_backend.h(71,25): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxpro
j]
D:\FastDeploy\.\fastdeploy/backends/ort/ort_backend.h(73,26): warning C4267: “return”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxpro
j]
D:\FastDeploy\.\fastdeploy/backends/ort/ops/multiclass_nms.h(29,23): warning C4305: “初始化”: 从“double”到“float”截断 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj
]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\paddle2onnx\include\paddle2onnx/converter.h(90,23): warning C4305: “初始化”: 从“double”到“float”截断 [D:\FastDeploy\py
thon\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\paddle2onnx\include\paddle2onnx/converter.h(91,25): warning C4305: “初始化”: 从“double”到“float”截断 [D:\FastDeploy\py
thon\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\backends\ort\ort_backend.cc(85,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation
, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\backends\ort\ort_backend.cc(86,5): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation
, use _CRT_SECURE_NO_WARNINGS. See online help for details. [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\backends\ort\ort_backend.cc(92,1): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(4096,18): warning C4244: “=”: 从“__int64”转换到“int”,可能丢失数据 [D:\FastDeploy\py
thon\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(1162): message : 查看对正在编译的函数 模板 实例化“_OutIt *std::_Copy_unchecked<_Iter,int*>(_InIt
,_InIt,_OutIt)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _OutIt=int *,
              _Iter=__int64 *,
              _InIt=__int64 *
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(1176): message : 查看对正在编译的函数 模板 实例化“void std::vector<int32_t,std::allocator<int32_
t>>::_Assign_range<__int64*>(_Iter,_Iter,std::forward_iterator_tag)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Iter=__int64 *
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(1176): message : 查看对正在编译的函数 模板 实例化“void std::vector<int32_t,std::allocator<int32_
t>>::_Assign_range<__int64*>(_Iter,_Iter,std::forward_iterator_tag)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Iter=__int64 *
          ]
D:\FastDeploy\fastdeploy\backends\ort\ort_backend.cc(245): message : 查看对正在编译的函数 模板 实例化“void std::vector<int32_t,std::allocator<int32_t>>::assign<std::_Vector_iterator<std::_Vector_v
al<std::_Simple_types<_Ty>>>,0>(_Iter,_Iter)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t,
              _Iter=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int64_t>>>
          ]
D:\FastDeploy\fastdeploy\backends\ort\ort_backend.cc(244): message : 查看对正在编译的函数 模板 实例化“void std::vector<int32_t,std::allocator<int32_t>>::assign<std::_Vector_iterator<std::_Vector_v
al<std::_Simple_types<_Ty>>>,0>(_Iter,_Iter)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Ty=int64_t,
              _Iter=std::_Vector_iterator<std::_Vector_val<std::_Simple_types<int64_t>>>
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(681,47): warning C4244: “初始化”: 从“__int64”转换到“_Objty”,可能丢失数据 [D:\FastDeploy
\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Objty=int
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(1620): message : 查看对正在编译的函数 模板 实例化“void std::_Default_allocator_traits<_Alloc>::
construct<_Ty,__int64&>(_Alloc &,_Objty *const ,__int64 &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Alloc=std::allocator<int32_t>,
              _Ty=int,
              _Objty=int
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(1620): message : 查看对正在编译的函数 模板 实例化“void std::_Default_allocator_traits<_Alloc>::
construct<_Ty,__int64&>(_Alloc &,_Objty *const ,__int64 &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Alloc=std::allocator<int32_t>,
              _Ty=int,
              _Objty=int
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(1659): message : 查看对正在编译的函数 模板 实例化“void std::_Uninitialized_backout_al<_Alloc>::
_Emplace_back<__int64&>(__int64 &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Alloc=std::allocator<int32_t>
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(1659): message : 查看对正在编译的函数 模板 实例化“void std::_Uninitialized_backout_al<_Alloc>::
_Emplace_back<__int64&>(__int64 &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Alloc=std::allocator<int32_t>
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(1641): message : 查看对正在编译的函数 模板 实例化“int *std::_Uninitialized_copy<_Iter,std::alloc
ator<int32_t>>(const _InIt,const _InIt,int *,_Alloc &)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Iter=__int64 *,
              _InIt=__int64 *,
              _Alloc=std::allocator<int32_t>
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(1163): message : 查看对正在编译的函数 模板 实例化“int *std::vector<int32_t,std::allocator<int32_
t>>::_Ucopy<_Iter>(_Iter,_Iter,int *)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Iter=__int64 *
          ]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(1163): message : 查看对正在编译的函数 模板 实例化“int *std::vector<int32_t,std::allocator<int32_
t>>::_Ucopy<_Iter>(_Iter,_Iter,int *)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              _Iter=__int64 *
          ]
  utils.cc
D:\FastDeploy\.\fastdeploy/backends/common/multiclass_nms.h(26,23): warning C4305: “初始化”: 从“double”到“float”截断 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
  model.cc
D:\FastDeploy\.\fastdeploy/backends/common/multiclass_nms.h(26,23): warning C4305: “初始化”: 从“double”到“float”截断 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
  Defining YAML_CPP_API for DLL import
D:\FastDeploy\third_party\yaml-cpp\include\yaml-cpp/exceptions.h(153,58): warning C4275: 非 dll 接口 class“std::runtime_error”用作 dll 接口 class“YAML::Exception”的基 [D:\FastDeploy\py
thon\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\stdexcept(101): message : 参见“std::runtime_error”的声明 [D:\FastDeploy\python\.setupto
ols-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\third_party\yaml-cpp\include\yaml-cpp/exceptions.h(153): message : 参见“YAML::Exception”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\vision\classification\ppcls\model.cc(56,27): warning C4101: “e”: 未引用的局部变量 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
D:\FastDeploy\fastdeploy\vision\classification\ppcls\model.cc(116,19): warning C4244: “初始化”: 从“const _Ty”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdepl
oy.vcxproj]
          with
          [
              _Ty=int64_t
          ]
D:\FastDeploy\.\fastdeploy/vision/utils/utils.h(39,1): warning C4305: “初始化”: 从“int”到“T”截断 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=float
          ]
D:\FastDeploy\fastdeploy\vision\classification\ppcls\model.cc(121): message : 查看对正在编译的函数 模板 实例化“std::vector<int32_t,std::allocator<int32_t>> fastdeploy::vision::utils::TopKIndices<f
loat>(const T *,int,int)”的引用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxproj]
          with
          [
              T=float
          ]
  base.cc
  cast.cc
  center_crop.cc
  color_space_convert.cc
  convert.cc
  hwc2chw.cc
  limit_short.cc
  mat.cc
D:\FastDeploy\fastdeploy\vision\common\processors\mat.cc(56,49): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.vcxpro
j]
  normalize.cc
D:\FastDeploy\fastdeploy\vision\common\processors\normalize.cc(50,22): warning C4244: “参数”: 从“double”转换到“_Ty”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.v
cxproj]
          with
          [
              _Ty=float
          ]
D:\FastDeploy\fastdeploy\vision\common\processors\normalize.cc(51,21): warning C4244: “参数”: 从“double”转换到“_Ty”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.v
cxproj]
          with
          [
              _Ty=float
          ]
  pad.cc
  pad_to_size.cc
  resize.cc
D:\FastDeploy\fastdeploy\vision\common\processors\resize.cc(30,21): warning C4244: “初始化”: 从“double”转换到“float”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.v
cxproj]
D:\FastDeploy\fastdeploy\vision\common\processors\resize.cc(31,21): warning C4244: “初始化”: 从“double”转换到“float”,可能丢失数据 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy.v
cxproj]

...........

putn@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAA_JPEBD_J@Z) [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
main.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::basic_ostream<char,struct std::char_traits<
char> >::operator<<(int)" (__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV01@H@Z),函数 "public: class fastdeploy::FDLogger & __cdecl fastdeploy::FDLogger::operator<<<int>(int
 const &)" (??$?6H@FDLogger@fastdeploy@@QEAAAEAV01@AEBH@Z) 中引用了该符号 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\Release\fastdeploy_main.cp38-win_amd64.pyd : fatal error LNK1120: 8 个无法解析的外部命令 [D:\FastDeploy\python\.setuptools-cmake-build\fastd
eploy_main.vcxproj]
Traceback (most recent call last):
  File "setup.py", line 387, in <module>
    setuptools.setup(
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
    return run_commands(dist)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
    dist.run_commands()
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\dist.py", line 973, in run_commands
    self.run_command(cmd)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\dist.py", line 1217, in run_command
    super().run_command(command)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
    cmd_obj.run()
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
    self.run_command(cmd_name)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
    self.distribution.run_command(command)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\dist.py", line 1217, in run_command
    super().run_command(command)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
    cmd_obj.run()
  File "setup.py", line 249, in run
    self.run_command('cmake_build')
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\cmd.py", line 319, in run_command
    self.distribution.run_command(command)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\dist.py", line 1217, in run_command
    super().run_command(command)
  File "D:\Anaconda3\envs\fastdeploy\lib\site-packages\setuptools\_distutils\dist.py", line 992, in run_command
    cmd_obj.run()
  File "setup.py", line 243, in run
    subprocess.check_call(build_args)
  File "D:\Anaconda3\envs\fastdeploy\lib\subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['D:\\Anaconda3\\Library\\bin\\cmake.exe', '--build', '.', '--config', 'Release', '--', '/maxcpucount:20']' returned non-zero exit status 1.
joey12300 commented 2 years ago

@monkeycc 你好,目前已经更新了ENABLE_TEXT=ON的依赖库了,辛苦先清空.setuptools-cmake-build的缓存,拉一下最新代码,再重新编译试试

jiangjiajun commented 7 months ago

此ISSUE由于一年未更新,将会关闭处理,如有需要,可再次更新打开。