Tencent / TNN

TNN: developed by Tencent Youtu Lab and Guangying Lab, a uniform deep learning inference framework for mobile、desktop and server. TNN is distinguished by several outstanding features, including its cross-platform capability, high performance, model compression and code pruning. Based on ncnn and Rapidnet, TNN further strengthens the support and performance optimization for mobile devices, and also draws on the advantages of good extensibility and high performance from existed open source efforts. TNN has been deployed in multiple Apps from Tencent, such as Mobile QQ, Weishi, Pitu, etc. Contributions are welcome to work in collaborative with us and make TNN a better framework.
Other
4.41k stars 771 forks source link

编译CD <path_to_tnn>\examples\windows\cuda\build_msvc.bat报错error C2131 #1846

Open Augenstern-create opened 1 year ago

Augenstern-create commented 1 year ago

1. 环境(environment)

CMake Warning (dev) in CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "TNN". This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "TNN". This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "TNN". This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in source/tnn/device/cuda/CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "TNNCuda". This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in source/tnn/device/cuda/CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "TNNCuda". This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in source/tnn/device/cuda/CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "TNNCuda". This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in source/tnn/device/cuda/CMakeLists.txt: Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC, empty CUDA_ARCHITECTURES not allowed. Run "cmake --help-policy CMP0104" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

CUDA_ARCHITECTURES is empty for target "TNNCuda". This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done -- Build files have been written to: E:/tnn-12-8/TNN/scripts/build_cuda_msvc 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 17.2.1+52cd2da31 版权所有(C) Microsoft Corporation。保留所有权利。

Checking Build System Building Custom Rule E:/tnn-12-8/TNN/source/tnn/device/cuda/CMakeLists.txt TNNTensorRT.vcxproj -> E:\tnn-12-8\TNN\scripts\build_cuda_msvc\source\tnn\network\tensorrt\TNNTensorRT.dir\Release\TN NTensorRT.lib TNNCpu.vcxproj -> E:\tnn-12-8\TNN\scripts\build_cuda_msvc\source\tnn\device\cpu\TNNCpu.dir\Release\TNNCpu.lib TNNCuda.vcxproj -> E:\tnn-12-8\TNN\scripts\build_cuda_msvc\source\tnn\device\cuda\TNNCuda.dir\Release\TNNCuda.lib gflags_nothreads_static.vcxproj -> E:\tnn-12-8\TNN\scripts\build_cuda_msvc\third_party\gflags\Release\gflags_nothread s_static.lib Building Custom Rule E:/tnn-12-8/TNN/CMakeLists.txt TNN.vcxproj -> E:\tnn-12-8\TNN\scripts\build_cuda_msvc\Release\TNN.dll TNNTest.vcxproj -> E:\tnn-12-8\TNN\scripts\build_cuda_msvc\test\Release\TNNTest.exe Building Custom Rule E:/tnn-12-8/TNN/CMakeLists.txt E:\tnn-12-8\TNN\scripts..\include\tnn\version.h E:\tnn-12-8\TNN\scripts..\include\tnn\core\blob.h E:\tnn-12-8\TNN\scripts..\include\tnn\core\common.h E:\tnn-12-8\TNN\scripts..\include\tnn\core\instance.h E:\tnn-12-8\TNN\scripts..\include\tnn\core\macro.h E:\tnn-12-8\TNN\scripts..\include\tnn\core\mat.h E:\tnn-12-8\TNN\scripts..\include\tnn\core\status.h E:\tnn-12-8\TNN\scripts..\include\tnn\core\tnn.h E:\tnn-12-8\TNN\scripts..\include\tnn\utils\bfp16_utils.h E:\tnn-12-8\TNN\scripts..\include\tnn\utils\blob_converter.h E:\tnn-12-8\TNN\scripts..\include\tnn\utils\cpu_utils.h E:\tnn-12-8\TNN\scripts..\include\tnn\utils\data_type_utils.h E:\tnn-12-8\TNN\scripts..\include\tnn\utils\dims_vector_utils.h E:\tnn-12-8\TNN\scripts..\include\tnn\utils\half_utils.h E:\tnn-12-8\TNN\scripts..\include\tnn\utils\mat_utils.h E:\tnn-12-8\TNN\scripts..\include\tnn\utils\string_utils.h 复制了 16 个文件 已复制 1 个文件。 已复制 1 个文件。 已复制 1 个文件。 已复制 1 个文件。 已复制 1 个文件。 系统找不到指定的文件。 已复制 1 个文件。 已复制 1 个文件。 已复制 1 个文件。 已复制 1 个文件。 "Building Completes. check E:\tnn-12-8\TNN\scripts\cuda_msvc_release" !cd! 子目录或文件 build_msvc_cuda 已经存在。 CMake Warning: Ignoring extra path from command line:

"@REM"

-- Selecting Windows SDK version 10.0.19041.0 to target Windows . E:/tnn-12-8/TNN/examples/windows/cuda E:\tnn-12-8\TNN\examples\windows\cuda\......\scripts\cuda_msvc_release\lib\ -- Configuring done -- Generating done -- Build files have been written to: E:/tnn-12-8/TNN/examples/windows/cuda/build_msvc_cuda 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 17.2.1+52cd2da31 版权所有(C) Microsoft Corporation。保留所有权利。

Checking Build System Building Custom Rule E:/tnn-12-8/TNN/third_party/gflags/CMakeLists.txt gflags_nothreads_static.vcxproj -> E:\tnn-12-8\TNN\third_party\gflags\Release\gflags_nothreads_static.lib Building Custom Rule E:/tnn-12-8/TNN/examples/windows/cuda/CMakeLists.txt Building Custom Rule E:/tnn-12-8/TNN/examples/windows/cuda/CMakeLists.txt Building Custom Rule E:/tnn-12-8/TNN/examples/windows/cuda/CMakeLists.txt Building Custom Rule E:/tnn-12-8/TNN/examples/windows/cuda/CMakeLists.txt Building Custom Rule E:/tnn-12-8/TNN/examples/windows/cuda/CMakeLists.txt Building Custom Rule E:/tnn-12-8/TNN/examples/windows/cuda/CMakeLists.txt Building Custom Rule E:/tnn-12-8/TNN/examples/windows/cuda/CMakeLists.txt cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facealignment .vcxproj] cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_imageclassify .vcxproj] TNNFaceAligner.cc TNNImageClassify.cc cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_posedetector. vcxproj] TNNSkeletonDetector.cc cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_readingcompre hension.vcxproj] cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcx proj] TNNBlazePose.cc BertReadingComprehension.cc cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facedetector. vcxproj] TNNFaceDetector.cc bert_tokenizer.cc bert_tokenizer.cc bert_tokenizer.cc bert_tokenizer.cc bert_tokenizer.cc bert_tokenizer.cc blazeface_detector.cc blazeface_detector.cc blazeface_detector.cc blazeface_detector.cc blazeface_detector.cc blazeface_detector.cc blazepose_detector.cc blazepose_detector.cc blazepose_detector.cc blazepose_detector.cc blazepose_detector.cc blazepose_detector.cc blazepose_landmark.cc blazepose_landmark.cc blazepose_landmark.cc blazepose_landmark.cc blazepose_landmark.cc blazepose_landmark.cc face_detect_aligner.cc face_detect_aligner.cc face_detect_aligner.cc face_detect_aligner.cc face_detect_aligner.cc face_detect_aligner.cc face_detect_mesh.cc face_detect_mesh.cc face_detect_mesh.cc face_detect_mesh.cc face_detect_mesh.cc face_detect_mesh.cc face_gray_transfer.cc face_gray_transfer.cc face_gray_transfer.cc face_gray_transfer.cc face_gray_transfer.cc face_gray_transfer.cc face_mesh.cc face_mesh.cc face_mesh.cc face_mesh.cc face_mesh.cc face_mesh.cc hair_segmentation.cc hair_segmentation.cc hair_segmentation.cc hair_segmentation.cc hair_segmentation.cc hair_segmentation.cc image_classifier.cc image_classifier.cc image_classifier.cc image_classifier.cc image_classifier.cc image_classifier.cc monodepth.cc monodepth.cc monodepth.cc monodepth.cc monodepth.cc monodepth.cc object_detector_nanodet.cc object_detector_nanodet.cc object_detector_nanodet.cc object_detector_nanodet.cc object_detector_nanodet.cc object_detector_nanodet.cc E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,45): error C2131: 表达式的计算结果不是常数 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 因读取超过生命周期的变量而失败 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 请参见“this”的用法 [E:\tnn-12-8\TNN\examples\wind ows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension.vcxproj] object_detector_ssd.cc E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,45): error C2131: 表达式的计算结果不是常数 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 因读取超过生命周期的变量而失败 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 请参见“this”的用法 [E:\tnn-12-8\TNN\examples\wind ows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,45): error C2131: 表达式的计算结果不是常数 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 因读取超过生命周期的变量而失败 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 请参见“this”的用法 [E:\tnn-12-8\TNN\examples\wind ows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxproj] object_detector_ssd.cc object_detector_ssd.cc E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,45): error C2131: 表达式的计算结果不是常数 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 因读取超过生命周期的变量而失败 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 请参见“this”的用法 [E:\tnn-12-8\TNN\examples\wind ows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] object_detector_ssd.cc E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,45): error C2131: 表达式的计算结果不是常数 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 因读取超过生命周期的变量而失败 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 请参见“this”的用法 [E:\tnn-12-8\TNN\examples\wind ows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj] object_detector_ssd.cc E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,45): error C2131: 表达式的计算结果不是常数 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 因读取超过生命周期的变量而失败 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 请参见“this”的用法 [E:\tnn-12-8\TNN\examples\wind ows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj] object_detector_ssd.cc object_detector_yolo.cc object_detector_yolo.cc object_detector_yolo.cc object_detector_yolo.cc object_detector_yolo.cc object_detector_yolo.cc pose_detect_landmark.cc pose_detect_landmark.cc pose_detect_landmark.cc pose_detect_landmark.cc pose_detect_landmark.cc pose_detect_landmark.cc sample_timer.cc sample_timer.cc sample_timer.cc sample_timer.cc sample_timer.cc sample_timer.cc skeleton_detector.cc skeleton_detector.cc skeleton_detector.cc skeleton_detector.cc skeleton_detector.cc skeleton_detector.cc C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(316,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty1”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxpro j] with [ _Ty=int ] and [ _Ty1=float ] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_facealignment.vcxproj] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_facealignment.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(317,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty2”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxpro j] with [ _Ty=int ] and [ _Ty2=float ] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(316,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty1”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj ] with [ _Ty=int ] and [ _Ty1=float ] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_facedetector.vcxproj] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_facedetector.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(317,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty2”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj ] with [ _Ty=int ] and [ _Ty2=float ] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(316,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty1”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxpro j] with [ _Ty=int ] and [ _Ty1=float ] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_imageclassify.vcxproj] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_imageclassify.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(317,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty2”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxpro j] with [ _Ty=int ] and [ _Ty2=float ] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(316,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty1”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] with [ _Ty=int ] and [ _Ty1=float ] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_blazepose.vcxproj] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_blazepose.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(317,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty2”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] with [ _Ty=int ] and [ _Ty2=float ] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(316,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty1”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension .vcxproj] with [ _Ty=int ] and [ _Ty1=float ] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_readingcomprehension.vcxproj] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_readingcomprehension.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(317,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty2”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension .vcxproj] with [ _Ty=int ] and [ _Ty2=float ] tnn_fps_counter.cc tnn_fps_counter.cc tnn_fps_counter.cc tnn_fps_counter.cc tnn_fps_counter.cc C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(316,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty1”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj ] with [ _Ty=int ] and [ _Ty1=float ] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_posedetector.vcxproj] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_posedetector.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(317,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty2”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj ] with [ _Ty=int ] and [ _Ty2=float ] tnn_fps_counter.cc tnn_sdk_sample.cc tnn_sdk_sample.cc tnn_sdk_sample.cc tnn_sdk_sample.cc tnn_sdk_sample.cc tnn_sdk_sample.cc 正在生成代码... 正在生成代码... 正在生成代码... 正在生成代码... 正在生成代码... 正在生成代码... 正在编译... ultra_face_detector.cc 正在编译... ultra_face_detector.cc 正在编译... ultra_face_detector.cc 正在编译... ultra_face_detector.cc 正在编译... ultra_face_detector.cc 正在编译... ultra_face_detector.cc utils.cc utils.cc utils.cc utils.cc youtu_face_align.cc youtu_face_align.cc youtu_face_align.cc utils.cc utils.cc youtu_face_align.cc youtu_face_align.cc youtu_face_align.cc clipper.cc clipper.cc clipper.cc clipper.cc landmark_smoothing_filter.cc clipper.cc clipper.cc landmark_smoothing_filter.cc landmark_smoothing_filter.cc low_pass_filter.cc landmark_smoothing_filter.cc low_pass_filter.cc relative_velocity_filter.cc relative_velocity_filter.cc C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj] low_pass_filter.cc landmark_smoothing_filter.cc time_stamp.cc relative_velocity_filter.cc landmark_smoothing_filter.cc time_stamp.cc C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facealignment.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_facedetector.vcxproj] flags.cc low_pass_filter.cc flags.cc time_stamp.cc relative_velocity_filter.cc C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_readingcomprehension.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxproj] flags.cc 正在生成代码... 正在生成代码... low_pass_filter.cc low_pass_filter.cc time_stamp.cc relative_velocity_filter.cc relative_velocity_filter.cc C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_imageclassify.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] 正在生成代码... flags.cc C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj] time_stamp.cc time_stamp.cc C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_blazepose.vcxproj] 正在生成代码... C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_posedetector.vcxproj] flags.cc flags.cc 正在生成代码... 正在生成代码... cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_objectdetecto r.vcxproj] TNNObjectDetector.cc bert_tokenizer.cc blazeface_detector.cc blazepose_detector.cc blazepose_landmark.cc face_detect_aligner.cc face_detect_mesh.cc face_gray_transfer.cc face_mesh.cc hair_segmentation.cc image_classifier.cc monodepth.cc object_detector_nanodet.cc E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,45): error C2131: 表达式的计算结果不是常数 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 因读取超过生命周期的变量而失败 [E:\tnn-12-8\TNN\examples\w indows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxproj] E:\tnn-12-8\TNN\examples\base\object_detector_nanodet.cc(183,37): message : 请参见“this”的用法 [E:\tnn-12-8\TNN\examples\wind ows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxproj] object_detector_ssd.cc object_detector_yolo.cc pose_detect_landmark.cc sample_timer.cc skeleton_detector.cc C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(316,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty1”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxpr oj] with [ _Ty=int ] and [ _Ty1=float ] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_objectdetector.vcxproj] E:\tnn-12-8\TNN\examples\base\skeleton_detector.cc(120): message : 查看对正在编译的函数 模板 实例化“std::pair<float,float> &std::pair< float,float>::operator =<int,int,0>(std::pair<int,int> &&) noexcept”的引用 [E:\tnn-12-8\TNN\examples\windows\cuda\build_ms vc_cuda\demo_cuda_objectdetector.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\utility(317,39): warning C 4244: “=”: 从“_Ty”转换到“_Ty2”,可能丢失数据 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxpr oj] with [ _Ty=int ] and [ _Ty2=float ] tnn_fps_counter.cc tnn_sdk_sample.cc 正在生成代码... 正在编译... ultra_face_detector.cc utils.cc youtu_face_align.cc clipper.cc landmark_smoothing_filter.cc low_pass_filter.cc relative_velocity_filter.cc C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxproj] time_stamp.cc C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(49,1): warning C4 005: “INT8_MIN”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(67): message : 参见“INT8_MIN”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.32.31326\include\stdint.h(53,1): warning C4 005: “INT8_MAX”: 宏重定义 [E:\tnn-12-8\TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxproj] E:\tnn-12-8\TNN\examples\windows\cuda......\include\tnn/core/macro.h(70): message : 参见“INT8_MAX”的前一个定义 [E:\tnn-12-8\ TNN\examples\windows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxproj] flags.cc 正在生成代码... 已复制 1 个文件。 已复制 1 个文件。 已复制 1 个文件。 已复制 1 个文件。 已复制 1 个文件。 已复制 1 个文件。 已复制 1 个文件。 文件无法自身复制。 已复制 0 个文件。 文件无法自身复制。 已复制 0 个文件。 文件无法自身复制。 已复制 0 个文件。 文件无法自身复制。 已复制 0 个文件。 文件无法自身复制。 已复制 0 个文件。 文件无法自身复制。 已复制 0 个文件。 文件无法自身复制。 已复制 0 个文件。 Build Successfully! Paste log here or pastebin


  **5. 详细描述bug 情况 (Describe the bug)**
编译过程中报错\TNN\examples\base\object_detector_nanodet.cc(183,45): error C2131: 表达式的计算结果不是常数 [E:\tnn-12-8\TNN\examples\w
indows\cuda\build_msvc_cuda\demo_cuda_objectdetector.vcxproj]

  **6. 运行日志(runtime log)**
 ```txt

[CMakeError.log](https://github.com/Tencent/TNN/files/10191456/CMakeError.log)
[CMakeOutput.log](https://github.com/Tencent/TNN/files/10191459/CMakeOutput.log)

 Paste log here or pastebin

7. 截图(Screenshots)


![image](https://user-images.githubusercontent.com/88466224/206614894-a12e2927-721a-400f-b3d4-a2a6b047d696.png)

 Paste screenshorts here or pastebin