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.88k stars 450 forks source link

Python 3.11.2 编译 没有wheel包 #1362

Closed monkeycc closed 1 year ago

monkeycc commented 1 year ago

环境

set ENABLE_ORT_BACKEND=ON set ENABLE_PADDLE_BACKEND=ON set ENABLE_OPENVINO_BACKEND=ON set ENABLE_VISION=ON set ENABLE_TEXT=ON set ENABLE_TRT_BACKEND=ON set WITH_GPU=ON set DENABLE_ENCRYPTION=ON set TRT_DIRECTORY=D:\TensorRT-8.4.3.1 set CUDA_DIRECTORY=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6

python setup.py build python setup.py bdist_wheel


- 【系统平台】: Windows x64(Windows10) 
- 【硬件】: CUDA 11.6   CUDNN 8.4
- 【编译语言】: Python 3.11.2

DENABLE_ENCRYPTION=ON
Python 3.11.2

## 问题日志及出现问题的操作流程

D:\FastDeploy.\fastdeploy/text/uie/model.h(53): message : 参见“std::vector<std::vector<fastdeploy::text::UIEResult ,std::allocator<fastdeploy::text::UIEResult >>,std::allocator<std::vector<fastdeploy::text::UIEResult ,std::allocator<fastdeploy::text:: UIEResult >>>>”的声明 [D:\FastDeploy\python.setuptools-cmake-build\fastdeploymain.vcxproj] D:\FastDeploy.\fastdeploy/text/uie/model.h(54,27): warning C4251: “fastdeploy::text::SchemaNode::children”: class“std::vector<fastdeploy::text::SchemaNode,std::allocator>”需要有 dll 接口由 struct“fastdeploy::text::SchemaNode”的客 户端使用 [D:\FastDeploy\python.setuptools-cmake-build\fastdeploy_main.vcxproj] D:\FastDeploy.\fastdeploy/text/uie/model.h(54): message : 参见“std::vector<fastdeploy::text::SchemaNode,std::allocator>”的声明 [D:\FastDeploy\python.setuptools-cmake-build\fastdeploy_main.vcxproj] D:\FastDeploy.\fastdeploy/text/uie/model.h(97,33): warning C4099: “fastdeploy::text::UIEModel”: 类型名称以前使用“class”现在使用的是“struct” [D:\FastDeploy\python.setuptools-cmake-build\fastdeploy_main.vcxproj] D:\FastDeploy.\fastdeploy/text/uie/model.h(97): message : 参见“fastdeploy::text::UIEModel”的声明 [D:\FastDeploy\python.setuptools-cmake-build\fastdeploymain.vcxproj] D:\FastDeploy.\fastdeploy/text/uie/model.h(201,27): warning C4251: “fastdeploy::text::UIEModel::schema”: class“std::unique_ptr<fastdeploy::text::Schema,std::default_delete>”需要有 dll 接口由 struct“fastdeploy::text::UIEModel”的客户端使用 [D:\FastDeploy\python.setuptools-cmake-build\fastdeploy_main.vcxproj] D:\FastDeploy.\fastdeploy/text/uie/model.h(201): message : 参见“std::unique_ptr<fastdeploy::text::Schema,std::default_delete>”的声明 [D:\FastDeploy\python.setuptools-cmake-build\fastdeploy_main.vcxproj] 正在创建库 D:/FastDeploy/python/.setuptools-cmake-build/Release/fastdeploy_main.lib 和对象 D:/FastDeploy/python/.setuptools-cmake-build/Release/fastdeploy_main.exp fastdeploy_main.vcxproj -> D:\FastDeploy\python.setuptools-cmake-build\Release\fastdeploy_main.cp311-win_amd64.pyd Building Custom Rule D:/FastDeploy/CMakeLists.txt Building Custom Rule D:/FastDeploy/CMakeLists.txt Building Custom Rule D:/FastDeploy/third_party/yaml-cpp/util/CMakeLists.txt Building Custom Rule D:/FastDeploy/third_party/yaml-cpp/util/CMakeLists.txt Building Custom Rule D:/FastDeploy/third_party/yaml-cpp/util/CMakeLists.txt cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [D:\FastDeploy\python.setuptools-cmake-build\third_party\yaml-cpp\util\yaml-cpp-sandbox.vcxproj] sandbox.cpp cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [D:\FastDeploy\python.setuptools-cmake-build\third_party\yaml-cpp\util\yaml-cpp-read.vcxproj] read.cpp cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [D:\FastDeploy\python.setuptools-cmake-build\third_party\yaml-cpp\util\yaml-cpp-parse.vcxproj] parse.cpp Defining YAML_CPP_API for DLL import Defining YAML_CPP_API for DLL import Defining YAML_CPP_API for DLL import yaml-cpp-sandbox.vcxproj -> D:\FastDeploy\python.setuptools-cmake-build\third_party\yaml-cpp\util\Release\sandbox.exe yaml-cpp-parse.vcxproj -> D:\FastDeploy\python.setuptools-cmake-build\third_party\yaml-cpp\util\Release\parse.exe yaml-cpp-read.vcxproj -> D:\FastDeploy\python.setuptools-cmake-build\third_party\yaml-cpp\util\Release\read.exe Building Custom Rule D:/FastDeploy/CMakeLists.txt creating build creating build\lib.win-amd64-cpython-311 creating build\lib.win-amd64-cpython-311\fastdeploy copying fastdeploy\code_version.py -> build\lib.win-amd64-cpython-311\fastdeploy copying fastdeploy\c_lib_wrap.py -> build\lib.win-amd64-cpython-311\fastdeploy copying fastdeploy\download.py -> build\lib.win-amd64-cpython-311\fastdeploy copying fastdeploy\model.py -> build\lib.win-amd64-cpython-311\fastdeploy copying fastdeploy\runtime.py -> build\lib.win-amd64-cpython-311\fastdeploy copying fastdeploy__init.py -> build\lib.win-amd64-cpython-311\fastdeploy creating build\lib.win-amd64-cpython-311\fastdeploy\encryption copying fastdeploy\encryption\encryption.py -> build\lib.win-amd64-cpython-311\fastdeploy\encryption copying fastdeploy\encryption__init.py -> build\lib.win-amd64-cpython-311\fastdeploy\encryption creating build\lib.win-amd64-cpython-311\fastdeploy\libs copying fastdeploy\libs__init.py -> build\lib.win-amd64-cpython-311\fastdeploy\libs creating build\lib.win-amd64-cpython-311\fastdeploy\pipeline copying fastdeploy\pipeline__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\pipeline creating build\lib.win-amd64-cpython-311\fastdeploy\serving copying fastdeploy\serving\model_manager.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving copying fastdeploy\serving\server.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving copying fastdeploy\serving\utils.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving copying fastdeploy\serving\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving creating build\lib.win-amd64-cpython-311\fastdeploy\text copying fastdeploy\text\init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\text creating build\lib.win-amd64-cpython-311\fastdeploy\utils copying fastdeploy\utils\example_resource.py -> build\lib.win-amd64-cpython-311\fastdeploy\utils copying fastdeploy\utils\hub_config.py -> build\lib.win-amd64-cpython-311\fastdeploy\utils copying fastdeploy\utils\hub_env.py -> build\lib.win-amd64-cpython-311\fastdeploy\utils copying fastdeploy\utils\hub_model_server.py -> build\lib.win-amd64-cpython-311\fastdeploy\utils copying fastdeploy\utils\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\utils creating build\lib.win-amd64-cpython-311\fastdeploy\vision copying fastdeploy\vision\utils.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision copying fastdeploy\vision\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision creating build\lib.win-amd64-cpython-311\fastdeploy\pipeline\pptinypose copying fastdeploy\pipeline\pptinypose\init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\pipeline\pptinypose creating build\lib.win-amd64-cpython-311\fastdeploy\serving\handler copying fastdeploy\serving\handler\base_handler.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving\handler copying fastdeploy\serving\handler\vision_model_handler.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving\handler copying fastdeploy\serving\handler\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving\handler creating build\lib.win-amd64-cpython-311\fastdeploy\serving\router copying fastdeploy\serving\router\base_router.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving\router copying fastdeploy\serving\router\http_router.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving\router copying fastdeploy\serving\router\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving\router creating build\lib.win-amd64-cpython-311\fastdeploy\text\uie copying fastdeploy\text\uie\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\text\uie creating build\lib.win-amd64-cpython-311\fastdeploy\vision\classification copying fastdeploy\vision\classification\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\classification creating build\lib.win-amd64-cpython-311\fastdeploy\vision\common copying fastdeploy\vision\common\manager.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\common copying fastdeploy\vision\common\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\common creating build\lib.win-amd64-cpython-311\fastdeploy\vision\detection copying fastdeploy\vision\detection\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection creating build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation copying fastdeploy\vision\evaluation\classify.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation copying fastdeploy\vision\evaluation\detection.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation copying fastdeploy\vision\evaluation\segmentation.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation copying fastdeploy\vision\evaluation\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation creating build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign copying fastdeploy\vision\facealign\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign creating build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet copying fastdeploy\vision\facedet\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet creating build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid copying fastdeploy\vision\faceid\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid creating build\lib.win-amd64-cpython-311\fastdeploy\vision\generation copying fastdeploy\vision\generation\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\generation creating build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose copying fastdeploy\vision\headpose\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose creating build\lib.win-amd64-cpython-311\fastdeploy\vision\keypointdetection copying fastdeploy\vision\keypointdetection\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\keypointdetection creating build\lib.win-amd64-cpython-311\fastdeploy\vision\matting copying fastdeploy\vision\matting\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting creating build\lib.win-amd64-cpython-311\fastdeploy\vision\ocr copying fastdeploy\vision\ocr\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\ocr creating build\lib.win-amd64-cpython-311\fastdeploy\vision\segmentation copying fastdeploy\vision\segmentation\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\segmentation creating build\lib.win-amd64-cpython-311\fastdeploy\vision\sr copying fastdeploy\vision\sr\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\sr creating build\lib.win-amd64-cpython-311\fastdeploy\vision\tracking copying fastdeploy\vision\tracking\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\tracking creating build\lib.win-amd64-cpython-311\fastdeploy\vision\visualize copying fastdeploy\vision\visualize\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\visualize creating build\lib.win-amd64-cpython-311\fastdeploy\vision\classification\contrib copying fastdeploy\vision\classification\contrib\resnet.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\classification\contrib copying fastdeploy\vision\classification\contrib\yolov5cls.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\classification\contrib copying fastdeploy\vision\classification\contrib\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\classification\contrib creating build\lib.win-amd64-cpython-311\fastdeploy\vision\classification\ppcls copying fastdeploy\vision\classification\ppcls\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\classification\ppcls creating build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\fastestdet.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\nanodet_plus.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\scaled_yolov4.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\yolor.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\yolov5.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\yolov5lite.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\yolov5seg.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\yolov6.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\yolov7.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\yolov7end2end_ort.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\yolov7end2end_trt.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\yolov8.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\yolox.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib copying fastdeploy\vision\detection\contrib\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib creating build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\ppdet copying fastdeploy\vision\detection\ppdet\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\ppdet creating build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib\rkyolo copying fastdeploy\vision\detection\contrib\rkyolo\rkyolov5.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib\rkyolo copying fastdeploy\vision\detection\contrib\rkyolo\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib\rkyolo creating build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils copying fastdeploy\vision\evaluation\utils\cityscapes.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils copying fastdeploy\vision\evaluation\utils\coco.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils copying fastdeploy\vision\evaluation\utils\coco_metrics.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils copying fastdeploy\vision\evaluation\utils\coco_utils.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils copying fastdeploy\vision\evaluation\utils\fd_logging.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils copying fastdeploy\vision\evaluation\utils\json_results.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils copying fastdeploy\vision\evaluation\utils\map_utils.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils copying fastdeploy\vision\evaluation\utils\seg_metrics.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils copying fastdeploy\vision\evaluation\utils\util.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils copying fastdeploy\vision\evaluation\utils\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils creating build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign\contrib copying fastdeploy\vision\facealign\contrib\face_landmark_1000.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign\contrib copying fastdeploy\vision\facealign\contrib\pfld.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign\contrib copying fastdeploy\vision\facealign\contrib\pipnet.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign\contrib copying fastdeploy\vision\facealign\contrib\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign\contrib creating build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib copying fastdeploy\vision\facedet\contrib\blazeface.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib copying fastdeploy\vision\facedet\contrib\centerface.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib copying fastdeploy\vision\facedet\contrib\retinaface.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib copying fastdeploy\vision\facedet\contrib\scrfd.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib copying fastdeploy\vision\facedet\contrib\ultraface.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib copying fastdeploy\vision\facedet\contrib\yolov5face.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib copying fastdeploy\vision\facedet\contrib\yolov7face.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib copying fastdeploy\vision\facedet\contrib\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib creating build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib copying fastdeploy\vision\faceid\contrib\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib creating build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib\adaface copying fastdeploy\vision\faceid\contrib\adaface\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib\adaface creating build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib\insightface copying fastdeploy\vision\faceid\contrib\insightface\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib\insightface creating build\lib.win-amd64-cpython-311\fastdeploy\vision\generation\contrib copying fastdeploy\vision\generation\contrib\anemigan.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\generation\contrib copying fastdeploy\vision\generation\contrib\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\generation\contrib creating build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose\contrib copying fastdeploy\vision\headpose\contrib\fsanet.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose\contrib copying fastdeploy\vision\headpose\contrib\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose\contrib creating build\lib.win-amd64-cpython-311\fastdeploy\vision\keypointdetection\pptinypose copying fastdeploy\vision\keypointdetection\pptinypose\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\keypointdetection\pptinypose creating build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\contrib copying fastdeploy\vision\matting\contrib\modnet.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\contrib copying fastdeploy\vision\matting\contrib\rvm.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\contrib copying fastdeploy\vision\matting\contrib\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\contrib creating build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\ppmatting copying fastdeploy\vision\matting\ppmatting\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\ppmatting creating build\lib.win-amd64-cpython-311\fastdeploy\vision\ocr\ppocr copying fastdeploy\vision\ocr\ppocr\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\ocr\ppocr creating build\lib.win-amd64-cpython-311\fastdeploy\vision\segmentation\ppseg copying fastdeploy\vision\segmentation\ppseg\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\segmentation\ppseg creating build\lib.win-amd64-cpython-311\fastdeploy\vision\sr\ppsr copying fastdeploy\vision\sr\ppsr\init.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\sr\ppsr creating build\lib.win-amd64-cpython-311\fastdeploy\vision\tracking\pptracking copying fastdeploy\vision\tracking\pptracking\init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\tracking\pptracking running build_ext copying D:\FastDeploy\python.setuptools-cmake-build\Release\fastdeploy_main.cp311-win_amd64.pyd -> D:\FastDeploy\python\build\lib.win-amd64-cpython-311\fastdeploy

D:\FastDeploy\python>



[CMakeOutput.log](https://github.com/PaddlePaddle/FastDeploy/files/10773762/CMakeOutput.log)
jiangjiajun commented 1 year ago

看起来是编译CUDA代码时报的错, 麻烦 @wang-xinyu 帮忙看下

wang-xinyu commented 1 year ago

没有看到任何错误信息啊,而且最后已经开始执行copy操作了。 @monkeycc 能找到报错信息吗

monkeycc commented 1 year ago
D:\FastDeploy\.\fastdeploy/vision/ocr/ppocr/cls_preprocessor.h(63,20): warning C4251: “fastdeploy::vision::ocr::Classif
ierPreprocessor::cls_image_shape_”: class“std::vector<int32_t,std::allocator<int32_t>>”需要有 dll 接口由 class“fastdeploy::vi
sion::ocr::ClassifierPreprocessor”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/runtime/backends/tensorrt/option.h(46): message : 参见“std::vector<int32_t,std::allocator<int3
2_t>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/ocr/ppocr/det_postprocessor.h(75,15): warning C4251: “fastdeploy::vision::ocr::DBDete
ctorPostprocessor::det_db_score_mode_”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 d
ll 接口由 class“fastdeploy::vision::ocr::DBDetectorPostprocessor”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fast
deploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4871): messa
ge : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明 [D:\FastDeploy\python\.setuptools-cmake
-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/ocr/ppocr/det_preprocessor.h(59,22): warning C4251: “fastdeploy::vision::ocr::DBDetec
torPreprocessor::mean_”: class“std::vector<float,std::allocator<float>>”需要有 dll 接口由 class“fastdeploy::vision::ocr::DBDe
tectorPreprocessor”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv\build\include\opencv2/imgproc.hpp(3233): message
 : 参见“std::vector<float,std::allocator<float>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxpro
j]
D:\FastDeploy\.\fastdeploy/vision/ocr/ppocr/det_preprocessor.h(60,22): warning C4251: “fastdeploy::vision::ocr::DBDetec
torPreprocessor::scale_”: class“std::vector<float,std::allocator<float>>”需要有 dll 接口由 class“fastdeploy::vision::ocr::DBD
etectorPreprocessor”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv\build\include\opencv2/imgproc.hpp(3233): message
 : 参见“std::vector<float,std::allocator<float>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxpro
j]
D:\FastDeploy\.\fastdeploy/vision/ocr/ppocr/rec_preprocessor.h(70,20): warning C4251: “fastdeploy::vision::ocr::Recogni
zerPreprocessor::rec_image_shape_”: class“std::vector<int32_t,std::allocator<int32_t>>”需要有 dll 接口由 class“fastdeploy::vi
sion::ocr::RecognizerPreprocessor”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/runtime/backends/tensorrt/option.h(46): message : 参见“std::vector<int32_t,std::allocator<int3
2_t>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/ocr/ppocr/rec_preprocessor.h(71,22): warning C4251: “fastdeploy::vision::ocr::Recogni
zerPreprocessor::mean_”: class“std::vector<float,std::allocator<float>>”需要有 dll 接口由 class“fastdeploy::vision::ocr::Reco
gnizerPreprocessor”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv\build\include\opencv2/imgproc.hpp(3233): message
 : 参见“std::vector<float,std::allocator<float>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxpro
j]
D:\FastDeploy\.\fastdeploy/vision/ocr/ppocr/rec_preprocessor.h(72,22): warning C4251: “fastdeploy::vision::ocr::Recogni
zerPreprocessor::scale_”: class“std::vector<float,std::allocator<float>>”需要有 dll 接口由 class“fastdeploy::vision::ocr::Rec
ognizerPreprocessor”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv\build\include\opencv2/imgproc.hpp(3233): message
 : 参见“std::vector<float,std::allocator<float>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxpro
j]
D:\FastDeploy\.\fastdeploy/vision/ocr/ppocr/rec_postprocessor.h(55,28): warning C4251: “fastdeploy::vision::ocr::Recogn
izerPostprocessor::label_list_”: class“std::vector<std::string,std::allocator<std::string>>”需要有 dll 接口由 class“fastdeplo
y::vision::ocr::RecognizerPostprocessor”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/runtime/backends/lite/option.h(82): message : 参见“std::vector<std::string,std::allocator<std:
:string>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/segmentation/ppseg/preprocessor.h(60,43): warning C4251: “fastdeploy::vision::segment
ation::PaddleSegPreprocessor::processors_”: class“std::vector<std::shared_ptr<fastdeploy::vision::Processor>,std::alloc
ator<std::shared_ptr<fastdeploy::vision::Processor>>>”需要有 dll 接口由 class“fastdeploy::vision::segmentation::PaddleSegPrep
rocessor”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/common/processors/transform.h(39): message : 参见“std::vector<std::shared_ptr<fastdeplo
y::vision::Processor>,std::allocator<std::shared_ptr<fastdeploy::vision::Processor>>>”的声明 [D:\FastDeploy\python\.setupt
ools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/segmentation/ppseg/preprocessor.h(61,15): warning C4251: “fastdeploy::vision::segment
ation::PaddleSegPreprocessor::config_file_”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”
需要有 dll 接口由 class“fastdeploy::vision::segmentation::PaddleSegPreprocessor”的客户端使用 [D:\FastDeploy\python\.setuptools-cmak
e-build\fastdeploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4871): messa
ge : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明 [D:\FastDeploy\python\.setuptools-cmake
-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/sr/ppsr/ppmsvsr.h(1,1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防
止数据丢失 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/sr/ppsr/ppmsvsr.h(54,22): warning C4251: “fastdeploy::vision::sr::PPMSVSR::mean_”: cl
ass“std::vector<float,std::allocator<float>>”需要有 dll 接口由 class“fastdeploy::vision::sr::PPMSVSR”的客户端使用 [D:\FastDeploy\py
thon\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv\build\include\opencv2/imgproc.hpp(3233): message
 : 参见“std::vector<float,std::allocator<float>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxpro
j]
D:\FastDeploy\.\fastdeploy/vision/sr/ppsr/ppmsvsr.h(55,22): warning C4251: “fastdeploy::vision::sr::PPMSVSR::scale_”: c
lass“std::vector<float,std::allocator<float>>”需要有 dll 接口由 class“fastdeploy::vision::sr::PPMSVSR”的客户端使用 [D:\FastDeploy\p
ython\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv\build\include\opencv2/imgproc.hpp(3233): message
 : 参见“std::vector<float,std::allocator<float>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxpro
j]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/trajectory.h(41,63): warning C4275: 非 dll 接口 class“cv::KalmanFilt
er”用作 dll 接口 class“fastdeploy::vision::tracking::TKalmanFilter”的基 [D:\FastDeploy\python\.setuptools-cmake-build\fastdep
loy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv\build\include\opencv2/video/tracking.hpp(360): m
essage : 参见“cv::KalmanFilter”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/trajectory.h(41): message : 参见“fastdeploy::vision::tracking::TKal
manFilter”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/trajectory.h(125,13): warning C4251: “fastdeploy::vision::trackin
g::Trajectory::ltrb”: class“cv::Vec<float,4>”需要有 dll 接口由 class“fastdeploy::vision::tracking::Trajectory”的客户端使用 [D:\Fast
Deploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv\build\include\opencv2/core/matx.hpp(435): messag
e : 参见“cv::Vec<float,4>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/trajectory.h(126,11): warning C4251: “fastdeploy::vision::trackin
g::Trajectory::smooth_embedding”: class“cv::Mat”需要有 dll 接口由 class“fastdeploy::vision::tracking::Trajectory”的客户端使用 [D:\F
astDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv\build\include\opencv2/core/mat.hpp(813): message
 : 参见“cv::Mat”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/trajectory.h(135,13): warning C4251: “fastdeploy::vision::trackin
g::Trajectory::xyah”: class“cv::Vec<float,4>”需要有 dll 接口由 class“fastdeploy::vision::tracking::Trajectory”的客户端使用 [D:\Fast
Deploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv\build\include\opencv2/core/matx.hpp(435): messag
e : 参见“cv::Vec<float,4>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/trajectory.h(136,11): warning C4251: “fastdeploy::vision::trackin
g::Trajectory::current_embedding”: class“cv::Mat”需要有 dll 接口由 class“fastdeploy::vision::tracking::Trajectory”的客户端使用 [D:\
FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\opencv\build\include\opencv2/core/mat.hpp(813): message
 : 参见“cv::Mat”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/trajectory.h(160,17): warning C4305: “初始化”: 从“double”到“float”截断 [
D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/trajectory.h(174,17): warning C4305: “初始化”: 从“double”到“float”截断 [
D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/tracker.h(67,18): warning C4251: “fastdeploy::vision::tracking::J
DETracker::tracked_trajectories”: class“std::vector<fastdeploy::vision::tracking::Trajectory,std::allocator<fastdeploy:
:vision::tracking::Trajectory>>”需要有 dll 接口由 class“fastdeploy::vision::tracking::JDETracker”的客户端使用 [D:\FastDeploy\python
\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/trajectory.h(36): message : 参见“std::vector<fastdeploy::vision::tr
acking::Trajectory,std::allocator<fastdeploy::vision::tracking::Trajectory>>”的声明 [D:\FastDeploy\python\.setuptools-cmak
e-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/tracker.h(68,18): warning C4251: “fastdeploy::vision::tracking::J
DETracker::lost_trajectories”: class“std::vector<fastdeploy::vision::tracking::Trajectory,std::allocator<fastdeploy::vi
sion::tracking::Trajectory>>”需要有 dll 接口由 class“fastdeploy::vision::tracking::JDETracker”的客户端使用 [D:\FastDeploy\python\.s
etuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/trajectory.h(36): message : 参见“std::vector<fastdeploy::vision::tr
acking::Trajectory,std::allocator<fastdeploy::vision::tracking::Trajectory>>”的声明 [D:\FastDeploy\python\.setuptools-cmak
e-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/tracker.h(69,18): warning C4251: “fastdeploy::vision::tracking::J
DETracker::removed_trajectories”: class“std::vector<fastdeploy::vision::tracking::Trajectory,std::allocator<fastdeploy:
:vision::tracking::Trajectory>>”需要有 dll 接口由 class“fastdeploy::vision::tracking::JDETracker”的客户端使用 [D:\FastDeploy\python
\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/trajectory.h(36): message : 参见“std::vector<fastdeploy::vision::tr
acking::Trajectory,std::allocator<fastdeploy::vision::tracking::Trajectory>>”的声明 [D:\FastDeploy\python\.setuptools-cmak
e-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/model.h(86,43): warning C4251: “fastdeploy::vision::tracking::PPT
racking::processors_”: class“std::vector<std::shared_ptr<fastdeploy::vision::Processor>,std::allocator<std::shared_ptr<
fastdeploy::vision::Processor>>>”需要有 dll 接口由 class“fastdeploy::vision::tracking::PPTracking”的客户端使用 [D:\FastDeploy\pytho
n\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/common/processors/transform.h(39): message : 参见“std::vector<std::shared_ptr<fastdeplo
y::vision::Processor>,std::allocator<std::shared_ptr<fastdeploy::vision::Processor>>>”的声明 [D:\FastDeploy\python\.setupt
ools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/model.h(87,15): warning C4251: “fastdeploy::vision::tracking::PPT
racking::config_file_”: class“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“fas
tdeploy::vision::tracking::PPTracking”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4871): messa
ge : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明 [D:\FastDeploy\python\.setuptools-cmake
-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/model.h(93,31): warning C4251: “fastdeploy::vision::tracking::PPT
racking::jdeTracker_”: class“std::unique_ptr<fastdeploy::vision::tracking::JDETracker,std::default_delete<fastdeploy::v
ision::tracking::JDETracker>>”需要有 dll 接口由 class“fastdeploy::vision::tracking::PPTracking”的客户端使用 [D:\FastDeploy\python\.
setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/tracking/pptracking/model.h(93): message : 参见“std::unique_ptr<fastdeploy::vision::tra
cking::JDETracker,std::default_delete<fastdeploy::vision::tracking::JDETracker>>”的声明 [D:\FastDeploy\python\.setuptools-
cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/vision/visualize/visualize.h(30,27): warning C4251: “fastdeploy::vision::Visualize::color_ma
p_”: class“std::vector<int32_t,std::allocator<int32_t>>”需要有 dll 接口由 class“fastdeploy::vision::Visualize”的客户端使用 [D:\Fast
Deploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/runtime/backends/tensorrt/option.h(46): message : 参见“std::vector<int32_t,std::allocator<int3
2_t>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/base.h(100,1
5): warning C4251: “paddlenlp::fast_tokenizer::core::PadMethod::pad_token_”: class“std::basic_string<char,std::char_tra
its<char>,std::allocator<char>>”需要有 dll 接口由 struct“paddlenlp::fast_tokenizer::core::PadMethod”的客户端使用 [D:\FastDeploy\pyt
hon\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4871): messa
ge : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明 [D:\FastDeploy\python\.setuptools-cmake
-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/base.h(173,1
5): warning C4251: “paddlenlp::fast_tokenizer::core::Token::value_”: class“std::basic_string<char,std::char_traits<char
>,std::allocator<char>>”需要有 dll 接口由 struct“paddlenlp::fast_tokenizer::core::Token”的客户端使用 [D:\FastDeploy\python\.setupto
ols-cmake-build\fastdeploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4871): messa
ge : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明 [D:\FastDeploy\python\.setuptools-cmake
-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/base.h(174,1
0): warning C4251: “paddlenlp::fast_tokenizer::core::Token::offset_”: struct“std::pair<uint32_t,uint32_t>”需要有 dll 接口由 s
truct“paddlenlp::fast_tokenizer::core::Token”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxpr
oj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/base.h(29):
message : 参见“std::pair<uint32_t,uint32_t>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/base.h(366,2
3): warning C4251: “paddlenlp::fast_tokenizer::core::BPEWord::symbols_”: class“std::vector<paddlenlp::fast_tokenizer::c
ore::Symbol,std::allocator<paddlenlp::fast_tokenizer::core::Symbol>>”需要有 dll 接口由 struct“paddlenlp::fast_tokenizer::core
::BPEWord”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/base.h(366):
 message : 参见“std::vector<paddlenlp::fast_tokenizer::core::Symbol,std::allocator<paddlenlp::fast_tokenizer::core::Symbo
l>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/encoding.h(1
16,25): warning C4251: “paddlenlp::fast_tokenizer::core::Encoding::ids_”: class“std::vector<std::_Vbase,std::allocator<
std::_Vbase>>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::Encoding”的客户端使用 [D:\FastDeploy\python\.setuptools-cmak
e-build\fastdeploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(2380): messag
e : 参见“std::vector<std::_Vbase,std::allocator<std::_Vbase>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeplo
y_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/encoding.h(1
17,25): warning C4251: “paddlenlp::fast_tokenizer::core::Encoding::type_ids_”: class“std::vector<std::_Vbase,std::alloc
ator<std::_Vbase>>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::Encoding”的客户端使用 [D:\FastDeploy\python\.setuptools
-cmake-build\fastdeploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(2380): messag
e : 参见“std::vector<std::_Vbase,std::allocator<std::_Vbase>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeplo
y_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/encoding.h(1
18,28): warning C4251: “paddlenlp::fast_tokenizer::core::Encoding::tokens_”: class“std::vector<std::string,std::allocat
or<std::string>>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::Encoding”的客户端使用 [D:\FastDeploy\python\.setuptools-c
make-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/runtime/backends/lite/option.h(82): message : 参见“std::vector<std::string,std::allocator<std:
:string>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/encoding.h(1
19,25): warning C4251: “paddlenlp::fast_tokenizer::core::Encoding::words_idx_”: class“std::vector<std::_Vbase,std::allo
cator<std::_Vbase>>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::Encoding”的客户端使用 [D:\FastDeploy\python\.setuptool
s-cmake-build\fastdeploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(2380): messag
e : 参见“std::vector<std::_Vbase,std::allocator<std::_Vbase>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeplo
y_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/encoding.h(1
20,23): warning C4251: “paddlenlp::fast_tokenizer::core::Encoding::offsets_”: class“std::vector<paddlenlp::fast_tokeniz
er::core::Offset,std::allocator<paddlenlp::fast_tokenizer::core::Offset>>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::
core::Encoding”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/base.h(357):
 message : 参见“std::vector<paddlenlp::fast_tokenizer::core::Offset,std::allocator<paddlenlp::fast_tokenizer::core::Offse
t>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/encoding.h(1
21,25): warning C4251: “paddlenlp::fast_tokenizer::core::Encoding::special_tokens_mask_”: class“std::vector<std::_Vbase
,std::allocator<std::_Vbase>>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::Encoding”的客户端使用 [D:\FastDeploy\python\
.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(2380): messag
e : 参见“std::vector<std::_Vbase,std::allocator<std::_Vbase>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeplo
y_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/encoding.h(1
22,25): warning C4251: “paddlenlp::fast_tokenizer::core::Encoding::attention_mask_”: class“std::vector<std::_Vbase,std:
:allocator<std::_Vbase>>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::Encoding”的客户端使用 [D:\FastDeploy\python\.setu
ptools-cmake-build\fastdeploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(2380): messag
e : 参见“std::vector<std::_Vbase,std::allocator<std::_Vbase>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeplo
y_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/encoding.h(1
23,25): warning C4251: “paddlenlp::fast_tokenizer::core::Encoding::overflowing_”: class“std::vector<paddlenlp::fast_tok
enizer::core::Encoding,std::allocator<paddlenlp::fast_tokenizer::core::Encoding>>”需要有 dll 接口由 class“paddlenlp::fast_tok
enizer::core::Encoding”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/encoding.h(4
3): message : 参见“std::vector<paddlenlp::fast_tokenizer::core::Encoding,std::allocator<paddlenlp::fast_tokenizer::core::
Encoding>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/encoding.h(1
24,39): warning C4251: “paddlenlp::fast_tokenizer::core::Encoding::sequence_ranges_”: class“std::unordered_map<uint32_t
,paddlenlp::fast_tokenizer::core::Range,std::hash<uint32_t>,std::equal_to<uint32_t>,std::allocator<std::pair<const uint
32_t,paddlenlp::fast_tokenizer::core::Range>>>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::Encoding”的客户端使用 [D:\F
astDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/encoding.h(4
4): message : 参见“std::unordered_map<uint32_t,paddlenlp::fast_tokenizer::core::Range,std::hash<uint32_t>,std::equal_to<u
int32_t>,std::allocator<std::pair<const uint32_t,paddlenlp::fast_tokenizer::core::Range>>>”的声明 [D:\FastDeploy\python\.s
etuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(78,15): warning C4251: “paddlenlp::fast_tokenizer::core::AddedToken::content_”: class“std::basic_string<char,std
::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::AddedToken”的客户端使用 [D:\Fast
Deploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4871): messa
ge : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明 [D:\FastDeploy\python\.setuptools-cmake
-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(130,15): warning C4251: “paddlenlp::fast_tokenizer::core::AddedVocabulary::vocab_”: class“std::unordered_map<std
::string,uint32_t,std::hash<std::string>,std::equal_to<std::string>,std::allocator<std::pair<const std::string,uint32_t
>>>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::AddedVocabulary”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-b
uild\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/utils/utils.h(53)
: message : 参见“std::unordered_map<std::string,uint32_t,std::hash<std::string>,std::equal_to<std::string>,std::allocator
<std::pair<const std::string,uint32_t>>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(131,44): warning C4251: “paddlenlp::fast_tokenizer::core::AddedVocabulary::vocab_reversed_”: class“std::unordere
d_map<uint32_t,paddlenlp::fast_tokenizer::core::AddedToken,std::hash<uint32_t>,std::equal_to<uint32_t>,std::allocator<s
td::pair<const uint32_t,paddlenlp::fast_tokenizer::core::AddedToken>>>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::cor
e::AddedVocabulary”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(126): message : 参见“std::unordered_map<uint32_t,paddlenlp::fast_tokenizer::core::AddedToken,std::hash<uint32_t>,s
td::equal_to<uint32_t>,std::allocator<std::pair<const uint32_t,paddlenlp::fast_tokenizer::core::AddedToken>>>”的声明 [D:\F
astDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(132,27): warning C4251: “paddlenlp::fast_tokenizer::core::AddedVocabulary::added_tokens_”: class“std::vector<pad
dlenlp::fast_tokenizer::core::AddedToken,std::allocator<paddlenlp::fast_tokenizer::core::AddedToken>>”需要有 dll 接口由 class
“paddlenlp::fast_tokenizer::core::AddedVocabulary”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.
vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(107): message : 参见“std::vector<paddlenlp::fast_tokenizer::core::AddedToken,std::allocator<paddlenlp::fast_tokeni
zer::core::AddedToken>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(133,27): warning C4251: “paddlenlp::fast_tokenizer::core::AddedVocabulary::special_tokens_”: class“std::vector<p
addlenlp::fast_tokenizer::core::AddedToken,std::allocator<paddlenlp::fast_tokenizer::core::AddedToken>>”需要有 dll 接口由 cla
ss“paddlenlp::fast_tokenizer::core::AddedVocabulary”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_mai
n.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(107): message : 参见“std::vector<paddlenlp::fast_tokenizer::core::AddedToken,std::allocator<paddlenlp::fast_tokeni
zer::core::AddedToken>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(134,35): warning C4251: “paddlenlp::fast_tokenizer::core::AddedVocabulary::special_tokens_set_”: class“std::unor
dered_set<std::string,std::hash<std::string>,std::equal_to<std::string>,std::allocator<std::string>>”需要有 dll 接口由 class“
paddlenlp::fast_tokenizer::core::AddedVocabulary”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.v
cxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(134): message : 参见“std::unordered_set<std::string,std::hash<std::string>,std::equal_to<std::string>,std::allocat
or<std::string>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(135,12): warning C4251: “paddlenlp::fast_tokenizer::core::AddedVocabulary::split_trie_”: struct“std::pair<std::s
hared_ptr<re2::RE2>,paddlenlp::fast_tokenizer::core::Vocab>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::AddedVoc
abulary”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(47): message : 参见“std::pair<std::shared_ptr<re2::RE2>,paddlenlp::fast_tokenizer::core::Vocab>”的声明 [D:\FastDeploy
\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(136,12): warning C4251: “paddlenlp::fast_tokenizer::core::AddedVocabulary::split_normalized_trie_”: struct“std::
pair<std::shared_ptr<re2::RE2>,paddlenlp::fast_tokenizer::core::Vocab>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::cor
e::AddedVocabulary”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/added_vocabu
lary.h(47): message : 参见“std::pair<std::shared_ptr<re2::RE2>,paddlenlp::fast_tokenizer::core::Vocab>”的声明 [D:\FastDeploy
\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/tokenizer.h(
236,44): warning C4251: “paddlenlp::fast_tokenizer::core::Tokenizer::normalizer_”: class“std::shared_ptr<paddlenlp::fas
t_tokenizer::normalizers::Normalizer>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::Tokenizer”的客户端使用 [D:\FastDeplo
y\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/tokenizer.h(
236): message : 参见“std::shared_ptr<paddlenlp::fast_tokenizer::normalizers::Normalizer>”的声明 [D:\FastDeploy\python\.setup
tools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/tokenizer.h(
237,48): warning C4251: “paddlenlp::fast_tokenizer::core::Tokenizer::pretokenizer_”: class“std::shared_ptr<paddlenlp::f
ast_tokenizer::pretokenizers::PreTokenizer>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::Tokenizer”的客户端使用 [D:\Fas
tDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/tokenizer.h(
237): message : 参见“std::shared_ptr<paddlenlp::fast_tokenizer::pretokenizers::PreTokenizer>”的声明 [D:\FastDeploy\python\.s
etuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/tokenizer.h(
238,34): warning C4251: “paddlenlp::fast_tokenizer::core::Tokenizer::model_”: class“std::shared_ptr<paddlenlp::fast_tok
enizer::models::Model>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::Tokenizer”的客户端使用 [D:\FastDeploy\python\.setup
tools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/tokenizer.h(
238): message : 参见“std::shared_ptr<paddlenlp::fast_tokenizer::models::Model>”的声明 [D:\FastDeploy\python\.setuptools-cmak
e-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/tokenizer.h(
239,50): warning C4251: “paddlenlp::fast_tokenizer::core::Tokenizer::post_processor_”: class“std::shared_ptr<paddlenlp:
:fast_tokenizer::postprocessors::PostProcessor>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::Tokenizer”的客户端使用 [D:
\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/tokenizer.h(
239): message : 参见“std::shared_ptr<paddlenlp::fast_tokenizer::postprocessors::PostProcessor>”的声明 [D:\FastDeploy\python\
.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/tokenizer.h(
240,38): warning C4251: “paddlenlp::fast_tokenizer::core::Tokenizer::decoder_”: class“std::shared_ptr<paddlenlp::fast_t
okenizer::decoders::Decoder>”需要有 dll 接口由 class“paddlenlp::fast_tokenizer::core::Tokenizer”的客户端使用 [D:\FastDeploy\python\
.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\python\.setuptools-cmake-build\third_libs\install\fast_tokenizer\include\fast_tokenizer/core/tokenizer.h(
240): message : 参见“std::shared_ptr<paddlenlp::fast_tokenizer::decoders::Decoder>”的声明 [D:\FastDeploy\python\.setuptools-
cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(35,15): warning C4251: “fastdeploy::text::UIEResult::text_”: class“std::bas
ic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 struct“fastdeploy::text::UIEResult”的客户端使用 [D:\F
astDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4871): messa
ge : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明 [D:\FastDeploy\python\.setuptools-cmake
-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(36,59): warning C4251: “fastdeploy::text::UIEResult::relation_”: class“std:
:unordered_map<std::string,std::vector<fastdeploy::text::UIEResult,std::allocator<fastdeploy::text::UIEResult>>,std::ha
sh<std::string>,std::equal_to<std::string>,std::allocator<std::pair<const std::string,std::vector<fastdeploy::text::UIE
Result,std::allocator<fastdeploy::text::UIEResult>>>>>”需要有 dll 接口由 struct“fastdeploy::text::UIEResult”的客户端使用 [D:\FastDe
ploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(36): message : 参见“std::unordered_map<std::string,std::vector<fastdeploy::te
xt::UIEResult,std::allocator<fastdeploy::text::UIEResult>>,std::hash<std::string>,std::equal_to<std::string>,std::alloc
ator<std::pair<const std::string,std::vector<fastdeploy::text::UIEResult,std::allocator<fastdeploy::text::UIEResult>>>>
>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(51,15): warning C4251: “fastdeploy::text::SchemaNode::name_”: class“std::ba
sic_string<char,std::char_traits<char>,std::allocator<char>>”需要有 dll 接口由 struct“fastdeploy::text::SchemaNode”的客户端使用 [D:
\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4871): messa
ge : 参见“std::basic_string<char,std::char_traits<char>,std::allocator<char>>”的声明 [D:\FastDeploy\python\.setuptools-cmake
-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(52,41): warning C4251: “fastdeploy::text::SchemaNode::prefix_”: class“std::
vector<std::vector<std::string,std::allocator<std::string>>,std::allocator<std::vector<std::string,std::allocator<std::
string>>>>”需要有 dll 接口由 struct“fastdeploy::text::SchemaNode”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdep
loy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(52): message : 参见“std::vector<std::vector<std::string,std::allocator<std::s
tring>>,std::allocator<std::vector<std::string,std::allocator<std::string>>>>”的声明 [D:\FastDeploy\python\.setuptools-cma
ke-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(53,40): warning C4251: “fastdeploy::text::SchemaNode::relations_”: class“st
d::vector<std::vector<fastdeploy::text::UIEResult *,std::allocator<fastdeploy::text::UIEResult *>>,std::allocator<std::
vector<fastdeploy::text::UIEResult *,std::allocator<fastdeploy::text::UIEResult *>>>>”需要有 dll 接口由 struct“fastdeploy::te
xt::SchemaNode”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(53): message : 参见“std::vector<std::vector<fastdeploy::text::UIEResult *,std
::allocator<fastdeploy::text::UIEResult *>>,std::allocator<std::vector<fastdeploy::text::UIEResult *,std::allocator<fas
tdeploy::text::UIEResult *>>>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(54,27): warning C4251: “fastdeploy::text::SchemaNode::children_”: class“std
::vector<fastdeploy::text::SchemaNode,std::allocator<fastdeploy::text::SchemaNode>>”需要有 dll 接口由 struct“fastdeploy::text
::SchemaNode”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(54): message : 参见“std::vector<fastdeploy::text::SchemaNode,std::allocator<f
astdeploy::text::SchemaNode>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(97,33): warning C4099: “fastdeploy::text::UIEModel”: 类型名称以前使用“class”现在使用的是“
struct” [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(97): message : 参见“fastdeploy::text::UIEModel”的声明 [D:\FastDeploy\python\.set
uptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(201,27): warning C4251: “fastdeploy::text::UIEModel::schema_”: class“std::u
nique_ptr<fastdeploy::text::Schema,std::default_delete<fastdeploy::text::Schema>>”需要有 dll 接口由 struct“fastdeploy::text::
UIEModel”的客户端使用 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
D:\FastDeploy\.\fastdeploy/text/uie/model.h(201): message : 参见“std::unique_ptr<fastdeploy::text::Schema,std::default_de
lete<fastdeploy::text::Schema>>”的声明 [D:\FastDeploy\python\.setuptools-cmake-build\fastdeploy_main.vcxproj]
    正在创建库 D:/FastDeploy/python/.setuptools-cmake-build/Release/fastdeploy_main.lib 和对象 D:/FastDeploy/python/.setuptools
  -cmake-build/Release/fastdeploy_main.exp
  fastdeploy_main.vcxproj -> D:\FastDeploy\python\.setuptools-cmake-build\Release\fastdeploy_main.cp311-win_amd64.pyd
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
  Building Custom Rule D:/FastDeploy/third_party/yaml-cpp/util/CMakeLists.txt
  Building Custom Rule D:/FastDeploy/third_party/yaml-cpp/util/CMakeLists.txt
  Building Custom Rule D:/FastDeploy/third_party/yaml-cpp/util/CMakeLists.txt
cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [D:\FastDeploy\python\.setuptools-cmake-build\third_party\yaml-cpp\util\yaml-c
pp-sandbox.vcxproj]
  sandbox.cpp
cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [D:\FastDeploy\python\.setuptools-cmake-build\third_party\yaml-cpp\util\yaml-c
pp-read.vcxproj]
  read.cpp
cl : 命令行 warning D9025: 正在重写“/W3”(用“/w”) [D:\FastDeploy\python\.setuptools-cmake-build\third_party\yaml-cpp\util\yaml-c
pp-parse.vcxproj]
  parse.cpp
  Defining YAML_CPP_API for DLL import
  Defining YAML_CPP_API for DLL import
  Defining YAML_CPP_API for DLL import
  yaml-cpp-sandbox.vcxproj -> D:\FastDeploy\python\.setuptools-cmake-build\third_party\yaml-cpp\util\Release\sandbox.ex
  e
  yaml-cpp-parse.vcxproj -> D:\FastDeploy\python\.setuptools-cmake-build\third_party\yaml-cpp\util\Release\parse.exe
  yaml-cpp-read.vcxproj -> D:\FastDeploy\python\.setuptools-cmake-build\third_party\yaml-cpp\util\Release\read.exe
  Building Custom Rule D:/FastDeploy/CMakeLists.txt
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\fastdeploy
copying fastdeploy\code_version.py -> build\lib.win-amd64-cpython-311\fastdeploy
copying fastdeploy\c_lib_wrap.py -> build\lib.win-amd64-cpython-311\fastdeploy
copying fastdeploy\download.py -> build\lib.win-amd64-cpython-311\fastdeploy
copying fastdeploy\model.py -> build\lib.win-amd64-cpython-311\fastdeploy
copying fastdeploy\runtime.py -> build\lib.win-amd64-cpython-311\fastdeploy
copying fastdeploy\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy
creating build\lib.win-amd64-cpython-311\fastdeploy\encryption
copying fastdeploy\encryption\encryption.py -> build\lib.win-amd64-cpython-311\fastdeploy\encryption
copying fastdeploy\encryption\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\encryption
creating build\lib.win-amd64-cpython-311\fastdeploy\libs
copying fastdeploy\libs\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\libs
creating build\lib.win-amd64-cpython-311\fastdeploy\pipeline
copying fastdeploy\pipeline\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\pipeline
creating build\lib.win-amd64-cpython-311\fastdeploy\serving
copying fastdeploy\serving\model_manager.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving
copying fastdeploy\serving\server.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving
copying fastdeploy\serving\utils.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving
copying fastdeploy\serving\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving
creating build\lib.win-amd64-cpython-311\fastdeploy\text
copying fastdeploy\text\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\text
creating build\lib.win-amd64-cpython-311\fastdeploy\utils
copying fastdeploy\utils\example_resource.py -> build\lib.win-amd64-cpython-311\fastdeploy\utils
copying fastdeploy\utils\hub_config.py -> build\lib.win-amd64-cpython-311\fastdeploy\utils
copying fastdeploy\utils\hub_env.py -> build\lib.win-amd64-cpython-311\fastdeploy\utils
copying fastdeploy\utils\hub_model_server.py -> build\lib.win-amd64-cpython-311\fastdeploy\utils
copying fastdeploy\utils\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\utils
creating build\lib.win-amd64-cpython-311\fastdeploy\vision
copying fastdeploy\vision\utils.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision
copying fastdeploy\vision\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision
creating build\lib.win-amd64-cpython-311\fastdeploy\pipeline\pptinypose
copying fastdeploy\pipeline\pptinypose\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\pipeline\pptinypose
creating build\lib.win-amd64-cpython-311\fastdeploy\serving\handler
copying fastdeploy\serving\handler\base_handler.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving\handler
copying fastdeploy\serving\handler\vision_model_handler.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving\handler
copying fastdeploy\serving\handler\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving\handler
creating build\lib.win-amd64-cpython-311\fastdeploy\serving\router
copying fastdeploy\serving\router\base_router.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving\router
copying fastdeploy\serving\router\http_router.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving\router
copying fastdeploy\serving\router\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\serving\router
creating build\lib.win-amd64-cpython-311\fastdeploy\text\uie
copying fastdeploy\text\uie\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\text\uie
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\classification
copying fastdeploy\vision\classification\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\classification
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\common
copying fastdeploy\vision\common\manager.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\common
copying fastdeploy\vision\common\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\common
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\detection
copying fastdeploy\vision\detection\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation
copying fastdeploy\vision\evaluation\classify.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation
copying fastdeploy\vision\evaluation\detection.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation
copying fastdeploy\vision\evaluation\segmentation.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation
copying fastdeploy\vision\evaluation\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign
copying fastdeploy\vision\facealign\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet
copying fastdeploy\vision\facedet\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid
copying fastdeploy\vision\faceid\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\generation
copying fastdeploy\vision\generation\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\generation
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose
copying fastdeploy\vision\headpose\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\keypointdetection
copying fastdeploy\vision\keypointdetection\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\keypointdetection
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\matting
copying fastdeploy\vision\matting\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\ocr
copying fastdeploy\vision\ocr\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\ocr
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\segmentation
copying fastdeploy\vision\segmentation\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\segmentation
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\sr
copying fastdeploy\vision\sr\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\sr
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\tracking
copying fastdeploy\vision\tracking\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\tracking
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\visualize
copying fastdeploy\vision\visualize\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\visualize
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\classification\contrib
copying fastdeploy\vision\classification\contrib\resnet.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\classification\contrib
copying fastdeploy\vision\classification\contrib\yolov5cls.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\classification\contrib
copying fastdeploy\vision\classification\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\classification\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\classification\ppcls
copying fastdeploy\vision\classification\ppcls\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\classification\ppcls
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\fastestdet.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\nanodet_plus.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\scaled_yolov4.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\yolor.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\yolov5.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\yolov5lite.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\yolov5seg.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\yolov6.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\yolov7.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\yolov7end2end_ort.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\yolov7end2end_trt.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\yolov8.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\yolox.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
copying fastdeploy\vision\detection\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\ppdet
copying fastdeploy\vision\detection\ppdet\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\ppdet
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib\rkyolo
copying fastdeploy\vision\detection\contrib\rkyolo\rkyolov5.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib\rkyolo
copying fastdeploy\vision\detection\contrib\rkyolo\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\detection\contrib\rkyolo
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils
copying fastdeploy\vision\evaluation\utils\cityscapes.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils
copying fastdeploy\vision\evaluation\utils\coco.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils
copying fastdeploy\vision\evaluation\utils\coco_metrics.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils
copying fastdeploy\vision\evaluation\utils\coco_utils.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils
copying fastdeploy\vision\evaluation\utils\fd_logging.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils
copying fastdeploy\vision\evaluation\utils\json_results.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils
copying fastdeploy\vision\evaluation\utils\map_utils.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils
copying fastdeploy\vision\evaluation\utils\seg_metrics.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils
copying fastdeploy\vision\evaluation\utils\util.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils
copying fastdeploy\vision\evaluation\utils\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\evaluation\utils
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign\contrib
copying fastdeploy\vision\facealign\contrib\face_landmark_1000.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign\contrib
copying fastdeploy\vision\facealign\contrib\pfld.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign\contrib
copying fastdeploy\vision\facealign\contrib\pipnet.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign\contrib
copying fastdeploy\vision\facealign\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facealign\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\blazeface.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\centerface.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\retinaface.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\scrfd.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\ultraface.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\yolov5face.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\yolov7face.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib
copying fastdeploy\vision\faceid\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib\adaface
copying fastdeploy\vision\faceid\contrib\adaface\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib\adaface
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib\insightface
copying fastdeploy\vision\faceid\contrib\insightface\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib\insightface
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\generation\contrib
copying fastdeploy\vision\generation\contrib\anemigan.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\generation\contrib
copying fastdeploy\vision\generation\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\generation\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose\contrib
copying fastdeploy\vision\headpose\contrib\fsanet.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose\contrib
copying fastdeploy\vision\headpose\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\keypointdetection\pptinypose
copying fastdeploy\vision\keypointdetection\pptinypose\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\keypointdetection\pptinypose
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\contrib
copying fastdeploy\vision\matting\contrib\modnet.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\contrib
copying fastdeploy\vision\matting\contrib\rvm.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\contrib
copying fastdeploy\vision\matting\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\ppmatting
copying fastdeploy\vision\matting\ppmatting\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\ppmatting
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\ocr\ppocr
copying fastdeploy\vision\ocr\ppocr\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\ocr\ppocr
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\segmentation\ppseg
copying fastdeploy\vision\segmentation\ppseg\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\segmentation\ppseg
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\sr\ppsr
copying fastdeploy\vision\sr\ppsr\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\sr\ppsr
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\tracking\pptracking
copying fastdeploy\vision\tracking\pptracking\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\tracking\pptracking
running build_ext
copying D:\FastDeploy\python\.setuptools-cmake-build\Release\fastdeploy_main.cp311-win_amd64.pyd -> D:\FastDeploy\python\build\lib.win-amd64-cpython-311\fastdeploy

D:\FastDeploy\python>

删除了 build .setuptools-cmake-build 关闭了杀毒软件

重新编译 还是一样 到这一步 自动退出 @wang-xinyu

wang-xinyu commented 1 year ago

@monkeycc 跟GPU/CUDA应该没关系,试一下编译CPU的包

set ENABLE_ORT_BACKEND=ON
set ENABLE_PADDLE_BACKEND=ON
set ENABLE_OPENVINO_BACKEND=ON
set ENABLE_VISION=ON
set ENABLE_TEXT=ON
set ENABLE_TRT_BACKEND=OFF
set WITH_GPU=OFF
set DENABLE_ENCRYPTION=ON

python setup.py build
python setup.py bdist_wheel
monkeycc commented 1 year ago
set ENABLE_ORT_BACKEND=ON
set ENABLE_PADDLE_BACKEND=ON
set ENABLE_OPENVINO_BACKEND=ON
set ENABLE_VISION=ON
set ENABLE_TEXT=ON
set ENABLE_TRT_BACKEND=OFF
set WITH_GPU=OFF
set DENABLE_ENCRYPTION=ON

python setup.py build
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\blazeface.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\centerface.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\retinaface.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\scrfd.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\ultraface.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\yolov5face.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\yolov7face.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
copying fastdeploy\vision\facedet\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\facedet\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib
copying fastdeploy\vision\faceid\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib\adaface
copying fastdeploy\vision\faceid\contrib\adaface\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib\adaface
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib\insightface
copying fastdeploy\vision\faceid\contrib\insightface\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\faceid\contrib\insightface
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\generation\contrib
copying fastdeploy\vision\generation\contrib\anemigan.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\generation\contrib
copying fastdeploy\vision\generation\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\generation\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose\contrib
copying fastdeploy\vision\headpose\contrib\fsanet.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose\contrib
copying fastdeploy\vision\headpose\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\headpose\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\keypointdetection\pptinypose
copying fastdeploy\vision\keypointdetection\pptinypose\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\keypointdetection\pptinypose
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\contrib
copying fastdeploy\vision\matting\contrib\modnet.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\contrib
copying fastdeploy\vision\matting\contrib\rvm.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\contrib
copying fastdeploy\vision\matting\contrib\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\contrib
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\ppmatting
copying fastdeploy\vision\matting\ppmatting\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\matting\ppmatting
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\ocr\ppocr
copying fastdeploy\vision\ocr\ppocr\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\ocr\ppocr
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\segmentation\ppseg
copying fastdeploy\vision\segmentation\ppseg\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\segmentation\ppseg
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\sr\ppsr
copying fastdeploy\vision\sr\ppsr\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\sr\ppsr
creating build\lib.win-amd64-cpython-311\fastdeploy\vision\tracking\pptracking
copying fastdeploy\vision\tracking\pptracking\__init__.py -> build\lib.win-amd64-cpython-311\fastdeploy\vision\tracking\pptracking
running build_ext
copying D:\FastDeploy\python\.setuptools-cmake-build\Release\fastdeploy_main.cp311-win_amd64.pyd -> D:\FastDeploy\python\build\lib.win-amd64-cpython-311\fastdeploy

CMakeOutput.log

CPU也是一样 @wang-xinyu

wang-xinyu commented 1 year ago

@monkeycc 那就确定和CUDA没关系了,你试过python3.8吗?

monkeycc commented 1 year ago

一样问题 但是可能发现问题点了 @wang-xinyu

在 VS2019 x64 CMD中 python -V Python 3.8.10

但是日志又包含了 anaconda 这两个显示了 python 3.8

FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[D:/Python38/python.exe][v3.8.10(3.8)]
//Details about finding PythonLibs
FIND_PACKAGE_MESSAGE_DETAILS_PythonLibs:INTERNAL=[D:/Python38/libs/python38.lib][D:/Python38/include][v3.8.10(3.8)]

其他的 都是anaconda环境

//ADVANCED property for variable: CUDA_ARCH_NAME
CUDA_ARCH_NAME-ADVANCED:INTERNAL=1
//STRINGS property for variable: CUDA_ARCH_NAME
CUDA_ARCH_NAME-STRINGS:INTERNAL=;Kepler;Maxwell;Pascal;Volta;Turing;Ampere;All;Manual;Auto
//Details about finding OpenCV
FIND_PACKAGE_MESSAGE_DETAILS_OpenCV:INTERNAL=[D:/FastDeploy/python/.setuptools-cmake-build/third_libs/install/opencv/build][v3.4.16()]
//Details about finding Python
FIND_PACKAGE_MESSAGE_DETAILS_Python:INTERNAL=[D:/anaconda31114/python.exe][D:/anaconda31114/libs/python39.lib][D:/anaconda31114/include][cfound components: Interpreter Development Development.Module Development.Embed ][v3.9.13()]
//Details about finding PythonInterp
FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[D:/Python38/python.exe][v3.8.10(3.8)]
//Details about finding PythonLibs
FIND_PACKAGE_MESSAGE_DETAILS_PythonLibs:INTERNAL=[D:/Python38/libs/python38.lib][D:/Python38/include][v3.8.10(3.8)]
//ADVANCED property for variable: PYTHON_DEBUG_LIBRARY
PYTHON_DEBUG_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PYTHON_EXECUTABLE
PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PYTHON_INCLUDE_DIR
PYTHON_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PYTHON_LIBRARY
PYTHON_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PYTHON_LIBRARY_DEBUG
PYTHON_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=C:/Program Files/fastdeploy
_Python_DEVELOPMENT_EMBED_SIGNATURE:INTERNAL=c7798464faae46d3036dfa58a540874c
_Python_DEVELOPMENT_MODULE_SIGNATURE:INTERNAL=c7798464faae46d3036dfa58a540874c
//Path to a program.
_Python_EXECUTABLE:INTERNAL=D:/anaconda31114/python.exe
//Path to a file.
_Python_INCLUDE_DIR:INTERNAL=D:/anaconda31114/include
//Python Properties
_Python_INTERPRETER_PROPERTIES:INTERNAL=Python;3;9;13;64;;cp39-win_amd64;D:\anaconda31114\Lib;D:\anaconda31114\Lib;D:\anaconda31114\Lib\site-packages;D:\anaconda31114\Lib\site-packages
_Python_INTERPRETER_SIGNATURE:INTERNAL=f13a9e0bb27f6ea6294c3cd08523e040
//Path to a library.
_Python_LIBRARY_DEBUG:INTERNAL=_Python_LIBRARY_DEBUG-NOTFOUND
//Path to a library.
_Python_LIBRARY_RELEASE:INTERNAL=D:/anaconda31114/libs/python39.lib
//Path to a library.
_Python_RUNTIME_LIBRARY_RELEASE:INTERNAL=D:/anaconda31114/python39.dll

CMakeCache.txt

可能python和anaconda环境一起 不行? 于是乎 修改系统环境 删除anaconda环境配置 删除 build .setuptools-cmake-build

重启VS CMD 结果 一样~ 电脑系统 win11

wang-xinyu commented 1 year ago

系统的内存是多大的?

monkeycc commented 1 year ago

CPU 12th Gen Intel(R) Core(TM) i9-12900H 2.50 GHz

内存条 32.0 GB (31.7 GB 可用)

硬盘空间 足够富裕

wang-xinyu commented 1 year ago

@jiangjiajun 看有没有什么思路?目前看和CUDA没关系,编译CPU的包也会出同样的问题,windows运行python setup.py build时,没有任何报错,在copy的过程中退出了,没有生成wheel包

jiangjiajun commented 1 year ago

@monkeycc 是python setup.py build意外退出吗? 麻烦将完整的编译日志(包含错误和正确信息),以文件形式上传上来看下。

在build后,能正常执行python setup.py bdist_wheel来生成包吗?

monkeycc commented 1 year ago
creating build\lib.win-amd64-3.8\fastdeploy\vision\matting\contrib
copying fastdeploy\vision\matting\contrib\modnet.py -> build\lib.win-amd64-3.8\fastdeploy\vision\matting\contrib
copying fastdeploy\vision\matting\contrib\rvm.py -> build\lib.win-amd64-3.8\fastdeploy\vision\matting\contrib
copying fastdeploy\vision\matting\contrib\__init__.py -> build\lib.win-amd64-3.8\fastdeploy\vision\matting\contrib
creating build\lib.win-amd64-3.8\fastdeploy\vision\matting\ppmatting
copying fastdeploy\vision\matting\ppmatting\__init__.py -> build\lib.win-amd64-3.8\fastdeploy\vision\matting\ppmatting
creating build\lib.win-amd64-3.8\fastdeploy\vision\ocr\ppocr
copying fastdeploy\vision\ocr\ppocr\__init__.py -> build\lib.win-amd64-3.8\fastdeploy\vision\ocr\ppocr
creating build\lib.win-amd64-3.8\fastdeploy\vision\segmentation\ppseg
copying fastdeploy\vision\segmentation\ppseg\__init__.py -> build\lib.win-amd64-3.8\fastdeploy\vision\segmentation\ppseg
creating build\lib.win-amd64-3.8\fastdeploy\vision\sr\ppsr
copying fastdeploy\vision\sr\ppsr\__init__.py -> build\lib.win-amd64-3.8\fastdeploy\vision\sr\ppsr
creating build\lib.win-amd64-3.8\fastdeploy\vision\tracking\pptracking
copying fastdeploy\vision\tracking\pptracking\__init__.py -> build\lib.win-amd64-3.8\fastdeploy\vision\tracking\pptracking
running build_ext
copying D:\FastDeploy\python\.setuptools-cmake-build\Release\fastdeploy_main.cp38-win_amd64.pyd -> D:\FastDeploy\python\build\lib.win-amd64-3.8\fastdeploy

D:\FastDeploy\python>python
python setup.py bdist_wheel
error: invalid command 'bdist_wheel'

CMakeCache.txt

CMakeOutput.log

在 VS2019 x64 CMD中 python -V Python 3.8.10

FIND_PACKAGE_MESSAGE_DETAILS_PythonInterp:INTERNAL=[D:/Python38/python.exe][v3.8.10(3.8)]
//Details about finding PythonLibs
FIND_PACKAGE_MESSAGE_DETAILS_PythonLibs:INTERNAL=[D:/Python38/libs/python38.lib][D:/Python38/include][v3.8.10(3.8)]

但是日志又包含了 anaconda python3.9

删除anaconda 系统环境配置 重启测试 也是一样

@jiangjiajun

jiangjiajun commented 1 year ago

@monkeycc 看起来是缺少wheel, 先执行python -m pip install wheel,再执行python setup.py build, 再执行python setup.py bdist_wheel

monkeycc commented 1 year ago

成功

确实是缺少了 wheel python -m pip install wheel