PaddlePaddle / Paddle

PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署)
http://www.paddlepaddle.org/
Apache License 2.0
22.3k stars 5.62k forks source link

Window10下C++预测 CPU以及GPU版本预测不成功 #20687

Closed SixGodGG closed 5 years ago

SixGodGG commented 5 years ago

GPU 预测,想先按照百度工作人员提供的链接走通,但是没成功。链接地址: https://github.com/PaddlePaddle/PaddleSeg/tree/release/v0.1.0/inference

自己笔记本GPU不是很好,但是这个链接教程没有讲到CPU版本的使用,所以硬着头皮用GPU模式配置。我上网查了一下,也是适配CUDA8.0的,硬性安装了CUDNN7.1

电脑型号:dell inspire 7000
GPU型号:NVIDIA GeForce 940MX CPU型号:i5-7200u 1.自己按照这个步骤,安装了VS2019,CMake 3.0+等,直到运行到这一步的时候编译不通过。 https://github.com/PaddlePaddle/PaddleSeg/blob/release/v0.1.0/inference/docs/windows_vs2019_build.md image 然后我自己的电脑报错如下: image 我前面的步骤完全按照说明来的,报这个多定义了生成类型是什么意思,我也不敢修改这个.json文件。我安装的paddle版本是最新的GPU版本,也是100%安装成功了的。 image 这三个路径我也配置了,配置如下: image 但其实我更想知道的是最基本的windows下PaddlePaddle cpu版本怎么进行c++的预测。 官网是这个链接: https://www.paddlepaddle.org.cn/documentation/docs/zh/1.3/advanced_usage/deploy/inference/build_and_install_lib_cn.html 但具体CPU的预测库我要下载的是哪一个? image 下面的步骤对于新手我觉得不是太友好,具体怎么操作呢?因为我上过Paddlecamp的分类和目标检测课程,aistudio自己用的还可以,也会使用咱们的paddle进行程序的编写和训练,也会在aistudio上预测结果,但是我连最基本的在自己电脑上预测一个二分类问题都不会,这感觉真的不舒服。自己工作用到的程序语言是C++的,所以希望老师解答我这个小白现在的疑惑,真心感谢了。

sjtubinlong commented 5 years ago

@SixGodGG

  1. 编译问题

你是否同时尝试过使用过类似vs2015使用命令行msbuild编译和直接用vs2019 cmake编译两种编译方式。

如果是,先删除整个PaddleSeg目录重新下载,之后按vs2019的编译步骤编译即可 否则,考虑下面的方法:把你上图编译出错图中的「生成+InteliSense」改为「生成」

  1. cpu版本的编译 后续我们会在文档中说明CPU和GPU版本的编译选项的不同。

在 vs2019的打开 「项目」-> 「CMake设置」,然后找到 WITH_GPU选项,把后面的「勾」去掉,重新编译即可。

  1. 预测库版本的选择

你issue中链接的文档是1.3版本Linux预测库的文档,请使用最新版本的官方文档:

https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/advanced_usage/deploy/inference/windows_cpp_inference.html

如果仅使用cpu版,下载第一个或者第二个cpu版本即可 如果使用GPU版本,则选择对应的cuda版本的预测库即可

OliverLPH commented 5 years ago

avx和no_avx指的是芯片的指令集,所以你的cpu i5-7200u是支持avx的。可以参见i5-7200u Features部分。

openblas和mkl则是第三方科学计算库,对于预测加速会有帮助。一般来说mkl都会比openblas快。

SixGodGG commented 5 years ago

avx和no_avx指的是芯片的指令集,所以你的cpu i5-7200u是支持avx的。可以参见i5-7200u Features部分。

openblas和mkl则是第三方科学计算库,对于预测加速会有帮助。一般来说mkl都会比openblas快。

谢谢谢谢,学习了

SixGodGG commented 5 years ago

@SixGodGG

  1. 编译问题

你是否同时尝试过使用过类似vs2015使用命令行msbuild编译和直接用vs2019 cmake编译两种编译方式。

如果是,先删除整个PaddleSeg目录重新下载,之后按vs2019的编译步骤编译即可 否则,考虑下面的方法:把你上图编译出错图中的「生成+InteliSense」改为「生成」

  1. cpu版本的编译 后续我们会在文档中说明CPU和GPU版本的编译选项的不同。

在 vs2019的打开 「项目」-> 「CMake设置」,然后找到 WITH_GPU选项,把后面的「勾」去掉,重新编译即可。

  1. 预测库版本的选择

你issue中链接的文档是1.3版本Linux预测库的文档,请使用最新版本的官方文档:

https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/advanced_usage/deploy/inference/windows_cpp_inference.html

如果仅使用cpu版,下载第一个或者第二个cpu版本即可 如果使用GPU版本,则选择对应的cuda版本的预测库即可

1.我没用2015弄过,用2019改为生成后,只是隐藏了错误吧,我再次全部生成的时候还是报错。 2.GPU去掉勾这个会了,但是最后还有一个勾,应该不用去掉吧,无论如何,我这里都是报错,我觉得是因为我下载的是CUDA8.0的预测库有关,如果用CPU的预测库,可能就不报错了,我会再试试的。谢谢。 3.懂了,谢谢。

SixGodGG commented 5 years ago

@SixGodGG

  1. 编译问题

你是否同时尝试过使用过类似vs2015使用命令行msbuild编译和直接用vs2019 cmake编译两种编译方式。

如果是,先删除整个PaddleSeg目录重新下载,之后按vs2019的编译步骤编译即可 否则,考虑下面的方法:把你上图编译出错图中的「生成+InteliSense」改为「生成」

  1. cpu版本的编译 后续我们会在文档中说明CPU和GPU版本的编译选项的不同。

在 vs2019的打开 「项目」-> 「CMake设置」,然后找到 WITH_GPU选项,把后面的「勾」去掉,重新编译即可。

  1. 预测库版本的选择

你issue中链接的文档是1.3版本Linux预测库的文档,请使用最新版本的官方文档:

https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/advanced_usage/deploy/inference/windows_cpp_inference.html

如果仅使用cpu版,下载第一个或者第二个cpu版本即可 如果使用GPU版本,则选择对应的cuda版本的预测库即可

我下载了您下面链接中的CPU版本的paddle预测库,下载的是第一个。 image 然后重新按照https://github.com/sjtubinlong/PaddleSolution/blob/master/deploy/docs/windows_vs2019_build.md 这个链接中的步骤进行。进行到这一步时我是这样配置的: image 但是全部生成后,报上图的错误,我觉得哪里配置有问题,还是用了CUDA,请教,望回复

sjtubinlong commented 5 years ago

@SixGodGG 请检查上图中PADDLE_DIR指定的目录,确认下是否链接到了错误的windows预测库。

可以打开里面的version.txt查看 WITH_GPU是否为OFF来确认链接的库是否CPU版本.

CPU预测库不会链接cuda.

SixGodGG commented 5 years ago

@SixGodGG 请检查上图中PADDLE_DIR指定的目录,确认下是否链接到了错误的windows预测库。

可以打开里面的version.txt查看 WITH_GPU是否为OFF来确认链接的库是否CPU版本.

CPU预测库不会链接cuda.

image 你好,我还是想先实现CPU版本,重新下载了预测库,还是不行,你这三个路径怎么写的,方便截图一下吗?另外最开始的paddleseg文件夹我是下载的你那个程序,直接解压。 image CPU的可以吗? 应该不影响吧

SixGodGG commented 5 years ago

@sjtubinlong

joey12300 commented 5 years ago

@SixGodGG 您好,这是因为CMakeCache.txt缓存了你之前的cmake参数。如果你使用cpu_avx_mkl这个库的话,是不会链接到cuda的。建议你先把整个PaddleSeg目录删了,重新解压,然后按照vs2019预测库安装教程执行每一步操作。WITH_GPU, CUDA_LIB的勾去掉。

SixGodGG commented 5 years ago

@joey12300 @SixGodGG image 现在报这个错误,帮我看看,我按照你说的 重新删了以后重新解压了,库也是下载的最新的CPU的。

joey12300 commented 5 years ago

@SixGodGG 你看看fluid_install_dir\paddle\fluid\inference目录下还有没有libpaddle_fluid.lib。

SixGodGG commented 5 years ago

image image 我这里的paddle目录下没有fluid 文件夹 @joey12300 @sjtubinlong 您帮忙再看看

SixGodGG commented 5 years ago

image 我再重新下载一遍 @joey12300 @sjtubinlong

joey12300 commented 5 years ago

@SixGodGG 新版本Windows的预测库路径稍微修改了一下。你可以先用这个https://github.com/joey12300/PaddleSeg/blob/release/v0.1.0/inference/CMakeLists.txt 来替代你使用的CMakeLists.txt。替代完后重新编译一下就行,不用再重新下载。

SixGodGG commented 5 years ago

@SixGodGG 新版本Windows的预测库路径稍微修改了一下。你可以先用这个https://github.com/joey12300/PaddleSeg/blob/release/v0.1.0/inference/CMakeLists.txt 来替代你使用的CMakeLists.txt。替代完后重新编译一下就行,不用再重新下载。

这才是关键, 都对应不上,作为新手,我们哪知道改哪里,怎么改。建议说明文档还是标注一下吧。行,我下载一下试试, 刚才最新的那个我重新下载了,确实还不行。

SixGodGG commented 5 years ago

------ 全部生成 已启动: 项目: inference,配置: x64-Release ------ [1/14] cmd.exe /C "cd /D D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E make_directory D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E make_directory D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-build && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E make_directory D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E make_directory D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/tmp && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E make_directory D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-stamp && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E make_directory D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E make_directory D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-stamp && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-stamp/ext-yaml-cpp-mkdir" [2/14] cmd.exe /C "cd /D D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release\ext\yaml-cpp\src && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -P D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-stamp/ext-yaml-cpp-download-RelWithDebInfo.cmake && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-stamp/ext-yaml-cpp-download" -- ext-yaml-cpp download command succeeded. See also D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-stamp/ext-yaml-cpp-download-*.log [3/14] cmd.exe /C "cd /D D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo_append && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-stamp/ext-yaml-cpp-patch" [4/14] cmd.exe /C "cd /D D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release\ext\yaml-cpp\src\ext-yaml-cpp && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -P D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/tmp/ext-yaml-cpp-gitupdate.cmake" [5/14] cmd.exe /C "cd /D D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release\ext\yaml-cpp\src\ext-yaml-cpp-build && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DYAML_CPP_BUILD_TESTS=OFF -DYAML_CPP_BUILD_TOOLS=OFF -DYAML_CPP_INSTALL=OFF -DYAML_CPP_BUILD_CONTRIB=OFF -DMSVC_SHARED_RT=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo "-DCMAKE_CXX_FLAGS=/DWIN32 /D_WINDOWS /W3 /GR /EHsc" "-DCMAKE_CXX_FLAGS_DEBUG=/MDd /ZI /Ob0 /Od /RTC1 /JMC" "-DCMAKE_CXX_FLAGS_RELEASE=/MD /O2 /Ob2 /DNDEBUG" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/lib -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY=D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/lib -GNinja D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-stamp/ext-yaml-cpp-configure" -- The C compiler identification is MSVC 19.22.27905.0 -- The CXX compiler identification is MSVC 19.22.27905.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.22.27905/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.22.27905/bin/Hostx64/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.22.27905/bin/Hostx64/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.22.27905/bin/Hostx64/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-build [6/14] cmd.exe /C "cd /D D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release\ext\yaml-cpp\src\ext-yaml-cpp-build && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --build . && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-stamp/ext-yaml-cpp-build" [1/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\directives.cpp.obj [2/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\binary.cpp.obj [3/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\emit.cpp.obj [4/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\emitter.cpp.obj [5/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\emitfromevents.cpp.obj [6/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\convert.cpp.obj [7/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\exceptions.cpp.obj [8/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\emitterstate.cpp.obj [9/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\emitterutils.cpp.obj [10/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\exp.cpp.obj [11/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\nodebuilder.cpp.obj [12/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\null.cpp.obj [13/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\node.cpp.obj [14/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\ostream_wrapper.cpp.obj [15/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\node_data.cpp.obj [16/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\memory.cpp.obj [17/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\parse.cpp.obj [18/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\nodeevents.cpp.obj [19/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\scanner.cpp.obj [20/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\scantag.cpp.obj [21/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\scanscalar.cpp.obj [22/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\parser.cpp.obj [23/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\regex_yaml.cpp.obj [24/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\simplekey.cpp.obj [25/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\stream.cpp.obj [26/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\singledocparser.cpp.obj [27/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\tag.cpp.obj [28/29] Building CXX object CMakeFiles\yaml-cpp.dir\src\scantoken.cpp.obj [29/29] Linking CXX static library D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release\ext\yaml-cpp\lib\libyaml-cppmt.lib [7/14] cmd.exe /C "cd /D D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release\ext\yaml-cpp\src\ext-yaml-cpp-build && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo_append && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-stamp/ext-yaml-cpp-install" [8/14] cmd.exe /C "cd /D D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E make_directory D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/CMakeFiles && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/CMakeFiles/ext-yaml-cpp-complete && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E touch D:/DeepLearning/PaddleSolution/PaddleSeg-master/inference/out/build/x64-Release/ext/yaml-cpp/src/ext-yaml-cpp-stamp/ext-yaml-cpp-done" [9/14] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1422~1.279\bin\HostX64\x64\cl.exe /nologo /TP -DGOOGLE_GLOG_DLL_DECL="" -DSTATIC_LIB -DUSE_MKL -I......\ -Iext\yaml-cpp\src\ext-yaml-cpp\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\protobuf\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\glog\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\gflags\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\xxhash\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappy\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappystream\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\zlib\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\boost -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\eigen3 -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\fluid\inference -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\include -ID:\DeepLearning\PaddleSolution\opencv\build\include -ID:\DeepLearning\PaddleSolution\opencv\opencv\build\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mkldnn\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MT /Zi /O2 /Ob1 /DNDEBUG /showIncludes /FoCMakeFiles\libpaddleseg_inference.dir\preprocessor\preprocessor_seg.cpp.obj /FdCMakeFiles\libpaddleseg_inference.dir\libpaddleseg_inference.pdb /FS -c ......\preprocessor\preprocessor_seg.cpp [10/14] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1422~1.279\bin\HostX64\x64\cl.exe /nologo /TP -DGOOGLE_GLOG_DLL_DECL="" -DSTATIC_LIB -DUSE_MKL -I......\ -Iext\yaml-cpp\src\ext-yaml-cpp\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\protobuf\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\glog\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\gflags\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\xxhash\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappy\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappystream\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\zlib\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\boost -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\eigen3 -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\fluid\inference -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\include -ID:\DeepLearning\PaddleSolution\opencv\build\include -ID:\DeepLearning\PaddleSolution\opencv\opencv\build\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mkldnn\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MT /Zi /O2 /Ob1 /DNDEBUG /showIncludes /FoCMakeFiles\libpaddleseg_inference.dir\preprocessor\preprocessor.cpp.obj /FdCMakeFiles\libpaddleseg_inference.dir\libpaddleseg_inference.pdb /FS -c ......\preprocessor\preprocessor.cpp [11/14] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1422~1.279\bin\HostX64\x64\cl.exe /nologo /TP -DGOOGLE_GLOG_DLL_DECL="" -DSTATIC_LIB -DUSE_MKL -I......\ -Iext\yaml-cpp\src\ext-yaml-cpp\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\protobuf\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\glog\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\gflags\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\xxhash\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappy\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappystream\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\zlib\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\boost -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\eigen3 -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\fluid\inference -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\include -ID:\DeepLearning\PaddleSolution\opencv\build\include -ID:\DeepLearning\PaddleSolution\opencv\opencv\build\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mkldnn\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MT /Zi /O2 /Ob1 /DNDEBUG /showIncludes /FoCMakeFiles\demo.dir\demo.cpp.obj /FdCMakeFiles\demo.dir\ /FS -c ......\demo.cpp D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\include\paddle_analysis_config.h(99): warning C4244: “return”: 从“const uint64_t”转换到“int”,可能丢失数据 [12/14] C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1422~1.279\bin\HostX64\x64\cl.exe /nologo /TP -DGOOGLE_GLOG_DLL_DECL="" -DSTATIC_LIB -DUSE_MKL -I......\ -Iext\yaml-cpp\src\ext-yaml-cpp\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\protobuf\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\glog\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\gflags\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\xxhash\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappy\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappystream\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\zlib\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\boost -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\eigen3 -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\fluid\inference -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\include -ID:\DeepLearning\PaddleSolution\opencv\build\include -ID:\DeepLearning\PaddleSolution\opencv\opencv\build\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\include -ID:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mkldnn\include /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MT /Zi /O2 /Ob1 /DNDEBUG /showIncludes /FoCMakeFiles\libpaddleseg_inference.dir\predictor\seg_predictor.cpp.obj /FdCMakeFiles\libpaddleseg_inference.dir\libpaddleseg_inference.pdb /FS -c ......\predictor\seg_predictor.cpp D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\include\paddle_analysis_config.h(99): warning C4244: “return”: 从“const uint64_t”转换到“int”,可能丢失数据 D:\predictor\seg_predictor.cpp(139): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 D:\predictor\seg_predictor.cpp(223): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 [13/14] cmd.exe /C "cd . && C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1422~1.279\bin\Hostx64\x64\link.exe /lib /nologo /machine:x64 /out:libpaddleseg_inference.lib CMakeFiles\libpaddleseg_inference.dir\preprocessor\preprocessor.cpp.obj CMakeFiles\libpaddleseg_inference.dir\preprocessor\preprocessor_seg.cpp.obj CMakeFiles\libpaddleseg_inference.dir\predictor\seg_predictor.cpp.obj && cd ." [14/14] cmd.exe /C "cd . && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\demo.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1422~1.279\bin\Hostx64\x64\link.exe /nologo CMakeFiles\demo.dir\demo.cpp.obj /out:demo.exe /implib:demo.lib /pdb:demo.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappy\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappystream\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\zlib\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\protobuf\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\glog\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\gflags\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\xxhash\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\lib -LIBPATH:D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release\ext\yaml-cpp\lib -LIBPATH:D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\fluid\inference -LIBPATH:D:\DeepLearning\PaddleSolution\opencv\build\x64\vc14\lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\lib\libpaddle_fluid.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\lib\mklml.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\lib\libiomp5md.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mkldnn\lib\mkldnn.lib opencv_world346.lib glog.lib libyaml-cppmt.lib gflags_static.lib libprotobuf.lib zlibstatic.lib xxhash.lib libcmt.lib shlwapi.lib snappy.lib snappystream.lib libpaddleseg_inference.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\lib\libpaddle_fluid.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\lib\mklml.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\lib\libiomp5md.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mkldnn\lib\mkldnn.lib opencv_world346.lib glog.lib libyaml-cppmt.lib gflags_static.lib libprotobuf.lib zlibstatic.lib xxhash.lib libcmt.lib shlwapi.lib snappy.lib snappystream.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cmd.exe /C "cd /D D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/DeepLearning/PaddleSolution/fluid_inference_install_dir/third_party/install/mklml/lib/mklml.dll ./mklml.dll && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/DeepLearning/PaddleSolution/fluid_inference_install_dir/third_party/install/mklml/lib/libiomp5md.dll ./libiomp5md.dll && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/DeepLearning/PaddleSolution/fluid_inference_install_dir/third_party/install/mkldnn/lib/mkldnn.dll ./mkldnn.dll && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/DeepLearning/PaddleSolution/fluid_inference_install_dir/third_party/install/mklml/lib/mklml.dll ./release/mklml.dll && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/DeepLearning/PaddleSolution/fluid_inference_install_dir/third_party/install/mklml/lib/libiomp5md.dll ./release/libiomp5md.dll && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/DeepLearning/PaddleSolution/fluid_inference_install_dir/third_party/install/mkldnn/lib/mkldnn.dll ./release/mkldnn.dll"" FAILED: demo.exe cmd.exe /C "cd . && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\demo.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1422~1.279\bin\Hostx64\x64\link.exe /nologo CMakeFiles\demo.dir\demo.cpp.obj /out:demo.exe /implib:demo.lib /pdb:demo.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappy\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappystream\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\zlib\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\protobuf\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\glog\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\gflags\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\xxhash\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\lib -LIBPATH:D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release\ext\yaml-cpp\lib -LIBPATH:D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\fluid\inference -LIBPATH:D:\DeepLearning\PaddleSolution\opencv\build\x64\vc14\lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\lib\libpaddle_fluid.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\lib\mklml.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\lib\libiomp5md.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mkldnn\lib\mkldnn.lib opencv_world346.lib glog.lib libyaml-cppmt.lib gflags_static.lib libprotobuf.lib zlibstatic.lib xxhash.lib libcmt.lib shlwapi.lib snappy.lib snappystream.lib libpaddleseg_inference.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\lib\libpaddle_fluid.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\lib\mklml.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\lib\libiomp5md.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mkldnn\lib\mkldnn.lib opencv_world346.lib glog.lib libyaml-cppmt.lib gflags_static.lib libprotobuf.lib zlibstatic.lib xxhash.lib libcmt.lib shlwapi.lib snappy.lib snappystream.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cmd.exe /C "cd /D D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/DeepLearning/PaddleSolution/fluid_inference_install_dir/third_party/install/mklml/lib/mklml.dll ./mklml.dll && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/DeepLearning/PaddleSolution/fluid_inference_install_dir/third_party/install/mklml/lib/libiomp5md.dll ./libiomp5md.dll && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/DeepLearning/PaddleSolution/fluid_inference_install_dir/third_party/install/mkldnn/lib/mkldnn.dll ./mkldnn.dll && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/DeepLearning/PaddleSolution/fluid_inference_install_dir/third_party/install/mklml/lib/mklml.dll ./release/mklml.dll && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/DeepLearning/PaddleSolution/fluid_inference_install_dir/third_party/install/mklml/lib/libiomp5md.dll ./release/libiomp5md.dll && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/DeepLearning/PaddleSolution/fluid_inference_install_dir/third_party/install/mkldnn/lib/mkldnn.dll ./release/mkldnn.dll"" D:\DeepLearning\PaddleSolution\PaddleSeg-master\libcmt.lib(initializers.obj) : warning LNK4098: 默认库“msvcrt.lib”与其他库的使用冲突;请使用 /NODEFAULTLIB:library D:\DeepLearning\PaddleSolution\PaddleSeg-master\LINK : warning LNK4217: 符号“free”(在“ libucrt.lib(free.obj)”中定义)已由“xxhash.lib(xxhash.obj)”(函数“XXH32_freeState”中)导入 D:\DeepLearning\PaddleSolution\PaddleSeg-master\LINK : warning LNK4217: 符号“malloc”(在“ libucrt.lib(malloc.obj)”中定义)已由“xxhash.lib(xxhash.obj)”(函数“XXH32_createState”中)导入 FINAL LINK: command "C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1422~1.279\bin\Hostx64\x64\link.exe /nologo CMakeFiles\demo.dir\demo.cpp.obj /out:demo.exe /implib:demo.lib /pdb:demo.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappy\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\snappystream\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\zlib\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\protobuf\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\glog\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\gflags\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\xxhash\lib -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\lib -LIBPATH:D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release\ext\yaml-cpp\lib -LIBPATH:D:\DeepLearning\PaddleSolution\PaddleSeg-master\inference\out\build\x64-Release -LIBPATH:D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\fluid\inference -LIBPATH:D:\DeepLearning\PaddleSolution\opencv\build\x64\vc14\lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\lib\libpaddle_fluid.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\lib\mklml.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\lib\libiomp5md.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mkldnn\lib\mkldnn.lib opencv_world346.lib glog.lib libyaml-cppmt.lib gflags_static.lib libprotobuf.lib zlibstatic.lib xxhash.lib libcmt.lib shlwapi.lib snappy.lib snappystream.lib libpaddleseg_inference.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\paddle\lib\libpaddle_fluid.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\lib\mklml.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mklml\lib\libiomp5md.lib D:\DeepLearning\PaddleSolution\fluid_inference_install_dir\third_party\install\mkldnn\lib\mkldnn.lib opencv_world346.lib glog.lib libyaml-cppmt.lib gflags_static.lib libprotobuf.lib zlibstatic.lib xxhash.lib libcmt.lib shlwapi.lib snappy.lib snappystream.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\demo.dir/intermediate.manifest CMakeFiles\demo.dir/manifest.res" failed (exit code 1168) with the following output: D:\DeepLearning\PaddleSolution\PaddleSeg-master\LINK : fatal error LNK1168: 无法打开 demo.exe 进行写入 ninja: build stopped: subcommand failed.

全部生成 失败。

@joey12300 @sjtubinlong 你好 还是不行,要么您加一下我QQ吧 帮我远程一下 反正东西都有 你看看哪里出问题了 我就想CPU先成功。QQ:695768170 wx:13611238816

joey12300 commented 5 years ago

@SixGodGG 新版本Windows的预测库路径稍微修改了一下。你可以先用这个https://github.com/joey12300/PaddleSeg/blob/release/v0.1.0/inference/CMakeLists.txt 来替代你使用的CMakeLists.txt。替代完后重新编译一下就行,不用再重新下载。

这才是关键, 都对应不上,作为新手,我们哪知道改哪里,怎么改。建议说明文档还是标注一下吧。行,我下载一下试试, 刚才最新的那个我重新下载了,确实还不行。

谢谢你的反馈,之后会在相关说明文档进行详细说明。欢迎继续使用