PaddlePaddle / Paddle-Lite

PaddlePaddle High Performance Deep Learning Inference Engine for Mobile and Edge (飞桨高性能深度学习端侧推理引擎)
https://www.paddlepaddle.org.cn/lite
Apache License 2.0
6.94k stars 1.61k forks source link

windows 编译 一直卡住不动 #9171

Closed ANDROIDTODO closed 5 months ago

ANDROIDTODO commented 2 years ago

为使您的问题得到快速解决,在建立 Issue 前,请您先通过如下方式搜索是否有相似问题:历史 issue, FAQ 文档, 官方文档

建立 issue 时,为快速解决问题,请您根据使用情况给出如下信息:

我通过脚本的方式编译windows的库 编译命令: lite\tools\build_windows.bat without_log with_extra use_vs2019 最后一直卡在 ...... 13>已完成生成项目“D:\paddle\Paddle-Lite\build.lite.x86\lite\core\core.vcxproj”(默认目标)的操作。 7>项目“D:\paddle\Paddle-Lite\build.lite.x86\lite\api\lite_pybind.vcxproj”(7)正在节点 10 上生成“D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj”(33) (默认目标)。 33>PrepareForBuild: 正在创建目录“math_host.dir\Release\”。 正在创建目录“D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\Release\”。 正在创建目录“math_host.dir\Release\math_host.tlog\”。 InitializeBuildStatus: 正在创建“math_host.dir\Release\math_host.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。 ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /I\install\dirent\include /I"D:\paddle\Paddle-Lite " /I"D:\paddle\Paddle-Lite\build.lite.x86" /IC:\Users\kdan\AppData\Local\Programs\Python\Python37\include /I"D:\paddle\Paddle-Lite\third-party\pybind\include" /I"D:\ paddle\Paddle-Lite\third-party\flatbuffers\pre-build" /I"D:\paddle\Paddle-Lite\build.lite.x86\third_party\install\xbyak\include" /I"D:\paddle\Paddle-Lite\build.lite. x86\third_party\install\xbyak\include\xbyak" /I"D:\paddle\Paddle-Lite\build.lite.x86\third_party\install\xxhash\include" /I"D:\paddle\Paddle-Lite\build.lite.x86\thir d_party\install\mklml\include" /I"D:\paddle\Paddle-Lite\build.lite.x86\third_party\install\gflags\include" /I"D:\paddle\Paddle-Lite\build.lite.x86\third_party\instal l\glog\include" /I"D:\paddle\Paddle-Lite\build.lite.x86\third_party\install\protobuf\include" /I"D:\paddle\Paddle-Lite\build.lite.x86\third_party\eigen3\src\extern_e igen3" /nologo /W1 /WX- /diagnostics:column /MP /O2 /Ob2 /D _MBCS /D WIN32 /D _WINDOWS /D NDEBUG /D GOOGLE_GLOG_DLL_DECL= /D GLOG_NO_ABBREVIATED_SEVERITIES /D NOMINM AX /D LITE_WITH_AVX /D PADDLE_WITH_XBYAK /D XBYAK64 /D XBYAK_NO_OP_NAMES /D PADDLE_NO_PYTHON /D PADDLE_USE_DSO /D PADDLE_DISABLE_PROFILER /D _XKEYCHECK_H /D HPPL_STU B_FUNC /D LITE_WITH_X86 /D WITH_ARM_DOTPROD /D LITE_WITH_FLATBUFFERS_DESC /D LITE_BUILD_EXTRA /D LITE_WITH_PYTHON /D PADDLE_WITH_MKLML /D LAPACK_FOUND /D EIGENFAST MATH=0 /D PADDLE_VERSION=0.0.0 /D "CMAKE_INTDIR=\"Release\"" /Gm- /EHsc /MT /GS /arch:AVX /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /openmp /Fo"math_host.d ir\Release\" /Fd"D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\Release\libmath_host.pdb" /external:W1 /Gd /TP /wd4068 /wd4129 /wd4244 /wd4267 /wd4297 /wd4530 /wd4577 /wd4819 /wd4838 /errorReport:queue -std=c++11 /bigobj "D:\paddle\Paddle-Lite\lite\backends\host\math\beam_search.cc" "D:\paddle\Paddle-Lite\lite\ba ckends\host\math\sequence_padding.cc" "D:\paddle\Paddle-Lite\lite\backends\host\math\slice.cc" "D:\paddle\Paddle-Lite\lite\backends\host\math\split.cc" "D:\paddle\Pa ddle-Lite\lite\backends\host\math\gpc.cc" "D:\paddle\Paddle-Lite\lite\backends\host\math\norm.cc" "D:\paddle\Paddle-Lite\lite\backends\host\math\pad3d.cc" "D:\paddle \Paddle-Lite\lite\backends\host\math\prior_box.cc" "D:\paddle\Paddle-Lite\lite\backends\host\math\concat.cc" "D:\paddle\Paddle-Lite\lite\backends\host\math\stack.cc" "D:\paddle\Paddle-Lite\lite\backends\host\math\reduce.cc" "D:\paddle\Paddle-Lite\lite\backends\host\math\argmax.cc" "D:\paddle\Paddle-Lite\lite\backends\host\math\i nverse.cc" "D:\paddle\Paddle-Lite\lite\backends\host\math\reverse.cc" "D:\paddle\Paddle-Lite\lite\backends\host\math\topk.cc" 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] beam_search.cc 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] sequence_padding.cc 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] slice.cc 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] split.cc 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] gpc.cc 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] norm.cc 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] pad3d.cc 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] prior_box.cc concat.cc stack.cc 33>cl : 命令行 warning D9002: 忽略未知选项“-std=c++11” [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] reduce.cc argmax.cc inverse.cc reverse.cc topk.cc 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\beam_search.cc) [D:\paddle\P addle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\beam_search.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcx proj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\norm.cc) [D:\paddle\Paddle-L ite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\norm.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\slice.cc) [D:\paddle\Paddle- Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\slice.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\sequence_padding.cc) [D:\pad dle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\sequence_padding.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_hos t.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\stack.cc) [D:\paddle\Paddle- Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\stack.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\reverse.cc) [D:\paddle\Paddl e-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\reverse.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj ] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\concat.cc) [D:\paddle\Paddle -Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\concat.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\inverse.cc) [D:\paddle\Paddl e-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\inverse.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj ] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\split.cc) [D:\paddle\Paddle- Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\split.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\argmax.cc) [D:\paddle\Paddle -Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\argmax.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\pad3d.cc) [D:\paddle\Paddle- Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\pad3d.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\prior_box.cc) [D:\paddle\Pad dle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\prior_box.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxpr oj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\gpc.cc) [D:\paddle\Paddle-Li te\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\gpc.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(33,1): warning C4005: “NOMINMAX”: 宏重定义 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\reduce.cc) [D:\paddle\Paddle -Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] D:\paddle\Paddle-Lite\lite\backends\host\math\reduce.cc : message : 参见“NOMINMAX”的前一个定义 [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\norm.cc) [D :\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\slice.cc) [ D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\beam_search .cc) [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\sequence_pa dding.cc) [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\stack.cc) [ D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\reverse.cc) [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\concat.cc) [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\argmax.cc) [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\split.cc) [ D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\inverse.cc) [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\pad3d.cc) [ D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\prior_box.c c) [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\gpc.cc) [D: \paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite/utils/log/logging.h(37,22): warning C4091: “extern ”: 没有声明变量时忽略“timeval”的左侧 (编译源文件 D:\paddle\Paddle-Lite\lite\backends\host\math\reduce.cc) [D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite\utils\log\logging.h(277): warning C4722: “paddle::lite::VoidifyFatal::~VoidifyFatal”: 析构函数永远不会返回,可能会发生内存泄漏 [D:\paddle\Paddle-Lite\build.lite .x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite\utils\log\logging.h(277): warning C4722: “paddle::lite::VoidifyFatal::~VoidifyFatal”: 析构函数永远不会返回,可能会发生内存泄漏 [D:\paddle\Paddle-Lite\build.lite .x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite\utils\log\logging.h(277): warning C4722: “paddle::lite::VoidifyFatal::~VoidifyFatal”: 析构函数永远不会返回,可能会发生内存泄漏 [D:\paddle\Paddle-Lite\build.lite .x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite\utils\log\logging.h(277): warning C4722: “paddle::lite::VoidifyFatal::~VoidifyFatal”: 析构函数永远不会返回,可能会发生内存泄漏 [D:\paddle\Paddle-Lite\build.lite .x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite\utils\log\logging.h(277): warning C4722: “paddle::lite::VoidifyFatal::~VoidifyFatal”: 析构函数永远不会返回,可能会发生内存泄漏 [D:\paddle\Paddle-Lite\build.lite .x86\lite\backends\host\math\math_host.vcxproj] 33>D:\paddle\Paddle-Lite\lite\utils\log\logging.h(277): warning C4722: “paddle::lite::VoidifyFatal::~VoidifyFatal”: 析构函数永远不会返回,可能会发生内存泄漏 [D:\paddle\Paddle-Lite\build.lite .x86\lite\backends\host\math\math_host.vcxproj] Lib: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\Lib.exe /OUT:"D:\paddle\Paddle-Lite\build.lite.x86\lite\back ends\host\math\Release\libmath_host.lib" /NOLOGO /MACHINE:X64 /machine:x64 /IGNORE:4006 /IGNORE:4098 /IGNORE:4217 /IGNORE:4221 math_host.dir\Release\beam_search.obj math_host.dir\Release\sequence_padding.obj math_host.dir\Release\slice.obj math_host.dir\Release\split.obj math_host.dir\Release\gpc.obj math_host.dir\Release\norm.obj math_host.dir\Release\pad3d.obj math_host.dir\Release\prior_box.obj math_host.dir\Release\concat.obj math_host.dir\Release\stack.obj math_host.dir\Release\reduce.obj math_host.dir\Release\argmax.obj math_host.dir\Release\inverse.obj math_host.dir\Release\reverse.obj math_host.dir\Release\topk.obj math_host.vcxproj -> D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\Release\libmath_host.lib FinalizeBuildStatus: 正在删除文件“math_host.dir\Release\math_host.tlog\unsuccessfulbuild”。 正在对“math_host.dir\Release\math_host.tlog\math_host.lastbuildstate”执行 Touch 任务。 33>已完成生成项目“D:\paddle\Paddle-Lite\build.lite.x86\lite\backends\host\math\math_host.vcxproj”(默认目标)的操作。

请问这是什么情况,而且内存一直在涨

paddle-bot-old[bot] commented 2 years ago

您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网文档常见问题历史Issue来寻求解答。祝您生活愉快~

Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the APIFAQ and Github Issue to get the answer.Have a nice day!

ANDROIDTODO commented 2 years ago

@mjp9527 好巧,就是准备在windows编译你提供的PR,但是windows编译一直卡着,无法验证https://github.com/PaddlePaddle/Paddle-Lite/pull/9137

内存情况

企业微信截图_16559708232238
mjp9527 commented 2 years ago

编译过程中,如出现源码编译耗时过长,通常是第三方库下载过慢或失败导致。请在完成 Paddle Lite 源码下载后,删除本地仓库根目录下的 third-party 目录,编译脚本会自动下载存储于国内 CDN 的第三方依赖文件压缩包,节省从 GitHub repo 同步第三方库的时间。

mjp9527 commented 2 years ago

windows编译在服务器大约需要10分钟, set_vcvarsall_dir 这个和 set_python_path都设置正确了吗

ANDROIDTODO commented 2 years ago

windows编译在服务器大约需要10分钟, set_vcvarsall_dir 这个和 set_python_path都设置正确了吗

都设置正确 2个小时候后出现如下错误

企业微信截图_16559780975253

看样子是内存不够导致的?请问需要多大的内存才能编译windows 的lite呢?

企业微信截图_1655978160613
mjp9527 commented 2 years ago

要不换个2015试一下,这个问题确实没见过,我们这边也不太建议用户自己编windows的包

cocoking99 commented 1 year ago

我也遇到相同的问题了,不知道有没有什么解决办法?