PaddlePaddle / Paddle

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

win10编译2.3 GPU版本的paddle失败 #47427

Closed DevilcLo closed 9 months ago

DevilcLo commented 1 year ago

问题描述 Issue Description

编译windows版本的2.3 GPU paddle失败 错误消息: 56 errors detected in the compilation of "D:/paddle_project/Paddle/paddle/phi/kernels/funcs/eigen/pad.cu". pad.cu [89/3371] Building CUDA object paddle\phi\kernels\funcs\eigen\CMakeFiles\eigen_function.dir\broadcast.cu.obj FAILED: paddle/phi/kernels/funcs/eigen/CMakeFiles/eigen_function.dir/broadcast.cu.obj C:\PROGRA~1\NVIDIA~2\CUDA\v11.2\bin\nvcc.exe -forward-unknown-to-host-compiler -DBOOST_HAS_STATIC_ASSERT -DCUDA_TOOLKIT_ROOT_DIR="\"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.2\"" -DCUDA_VERSION_MAJOR=\"11\" -DCUDA_VERSION_MINOR=\"2\" -DCUDNN_MAJOR_VERSION=\"8\" -DEIGEN_STRONG_INLINE=inline -DEIGEN_USE_GPU -DGOOGLE_GLOG_DLL_DECL="" -DNOMINMAX -DPADDLE_DISABLE_PROFILER -DPADDLE_DLL_EXPORT -DPADDLE_DLL_INFERENCE -DPADDLE_NO_PYTHON -DPADDLE_ON_INFERENCE -DPADDLE_USE_OPENBLAS -DPADDLE_VERSION=0.0.0 -DPADDLE_VERSION_INTEGER=0 -DPADDLE_WITH_AVX -DPADDLE_WITH_CRYPTO -DPADDLE_WITH_CUDA -DPADDLE_WITH_POCKETFFT -DPADDLE_WITH_SSE3 -DTRT_PLUGIN_FP16_AVALIABLE -DUTF8PROC_STATIC -D_XKEYCHECK_H -ID:\paddle_project\Paddle\build -ID:\paddle_project\Paddle\paddle\fluid\framework\io -ID:\paddle_project\Paddle\build\third_party\install\zlib\include -ID:\paddle_project\Paddle\build\third_party\install -ID:\paddle_project\Paddle\build\third_party\install\gflags\include -ID:\paddle_project\Paddle\build\third_party\install\glog\include -ID:\paddle_project\Paddle\build\third_party\boost\src\extern_boost -ID:\paddle_project\Paddle\build\third_party\eigen3\src\extern_eigen3 -ID:\paddle_project\Paddle\build\third_party\threadpool\src\extern_threadpool -ID:\paddle_project\Paddle\build\third_party\dlpack\src\extern_dlpack\include -ID:\paddle_project\Paddle\build\third_party\install\xxhash\include -ID:\paddle_project\Paddle\build\third_party\install\warpctc\include -ID:\paddle_project\Paddle\build\third_party\install\utf8proc\include -ID:\paddle_project\Paddle\build\third_party\install\openblas\include\openblas -ID:\paddle_project\Paddle\build\third_party\install\protobuf\include -ID:\paddle_project\Paddle\build\third_party\install\cryptopp\include -ID:\paddle_project\Paddle\build\third_party\pocketfft\src -ID:\paddle_project\Paddle\build\third_party\dirent\src\extern_dirent\include -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2\include" -ID:\paddle_project\Paddle -ID:\paddle_project\Paddle\build..\paddle\fluid\framework\io -D_WINDOWS -Xcompiler=" /W0 /GR /EHsc" -D_MWAITXINTRIN_H_INCLUDED -D__STRICT_ANSI__ -Wno-deprecated-gpu-targets -gencode arch=compute_86,code=sm_86 -w --expt-relaxed-constexpr --expt-extended-lambda -Xcompiler "/wd4244 /wd4267 /wd4819 " -Xcompiler /bigobj -Xcompiler="/arch:AVX" -Xcompiler="-MD -O2 -Ob2" -DNDEBUG -std=c++14 -MD -MT paddle\phi\kernels\funcs\eigen\CMakeFiles\eigen_function.dir\broadcast.cu.obj -MF paddle\phi\kernels\funcs\eigen\CMakeFiles\eigen_function.dir\broadcast.cu.obj.d -x cu -c D:\paddle_project\Paddle\paddle\phi\kernels\funcs\eigen\broadcast.cu -o paddle\phi\kernels\funcs\eigen\CMakeFiles\eigen_function.dir\broadcast.cu.obj -Xcompiler=-Fdpaddle\phi\kernels\funcs\eigen\CMakeFiles\eigen_function.dir\eigen_function.pdb,-FS D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1260): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const char , _Sentinel=const char ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(1971): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1261): error: identifier "_Verify_range" is undefined detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const char , _Sentinel=const char ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(1971): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1260): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=wchar_t *, _Sentinel=wchar_t *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(1972): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1261): error: identifier "_Verify_range" is undefined detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=wchar_t *, _Sentinel=wchar_t *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(1972): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1260): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const wchar_t *, _Sentinel=const wchar_t *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(2007): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1261): error: identifier "_Verify_range" is undefined detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const wchar_t *, _Sentinel=const wchar_t *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(2007): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1260): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=char , _Sentinel=char ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(2008): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1261): error: identifier "_Verify_range" is undefined detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=char , _Sentinel=char ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(2008): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1260): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=unsigned short , _Sentinel=unsigned short ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(2171): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1261): error: identifier "_Verify_range" is undefined detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=unsigned short , _Sentinel=unsigned short ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(2171): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1260): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const unsigned short , _Sentinel=const unsigned short ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(2207): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1261): error: identifier "_Verify_range" is undefined detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const unsigned short , _Sentinel=const unsigned short ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(2207): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1260): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=char , _Sentinel=const char ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(2746): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1261): error: identifier "_Verify_range" is undefined detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=char , _Sentinel=const char ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(2746): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1260): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=wchar_t *, _Sentinel=const wchar_t *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(2927): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1261): error: identifier "_Verify_range" is undefined detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=wchar_t *, _Sentinel=const wchar_t *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(2927): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1260): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=unsigned short , _Sentinel=const unsigned short ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(3129): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1261): error: identifier "_Verify_range" is undefined detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=unsigned short , _Sentinel=const unsigned short ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(3129): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(58): error: expected a "(" detected during: instantiation of "size_t std::_Get_size_of_n<_Ty_size>(size_t) [with _Ty_size=1ULL]" (801): here instantiation of "_Ty *std::allocator<_Ty>::allocate(size_t) [with _Ty=char]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2908): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Construct_lv_contents(const std::basic_string<_Elem, _Traits, _Alloc> &) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2420): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(const std::basic_string<_Elem, _Traits, _Alloc> &) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\system_error(437): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(124): error: expected a "(" detected during: instantiation of "void *std::_Voidify_iter(_Iter) [with _Iter=char *]" (149): here instantiation of "void std::_Construct_in_place(_Ty &, _Types &&...) [with _Ty=char , _Types=<char *const &>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2909): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Construct_lv_contents(const std::basic_string<_Elem, _Traits, _Alloc> &) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2420): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(const std::basic_string<_Elem, _Traits, _Alloc> &) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\system_error(437): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(923): error: expected a "(" detected during: instantiation of "_Size_type std::_Convert_size<_Size_type>(size_t) [with _Size_type=size_t]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(3230): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::assign(const _Elem ) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2487): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(const _Elem ) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\system_error(447): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2847): error: expected a "(" detected during: instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Take_contents(std::basic_string<_Elem, _Traits, _Alloc> &) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" (2573): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(std::basic_string<_Elem, _Traits, _Alloc> &&) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\system_error(432): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(295): error: expected a "(" detected during: instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=char *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4587): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Tidy_deallocate() [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2969): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::~basic_string() [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\system_error(431): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(913): error: expected a "(" detected during: instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=char , _NoThrowSentinel=char ]" (296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=char *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4587): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Tidy_deallocate() [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2969): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::~basic_string() [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\system_error(431): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(295): error: expected a "(" detected during: instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=char]" (915): here instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=char , _NoThrowSentinel=char ]" (296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=char *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4587): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Tidy_deallocate() [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2969): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::~basic_string() [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\system_error(431): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(913): error: expected a "(" detected during: instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=char, _NoThrowSentinel=unsigned long long]" (296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=char]" (915): here instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=char , _NoThrowSentinel=char ]" (296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=char *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4587): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Tidy_deallocate() [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2969): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::~basic_string() [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\system_error(431): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1198): error: class "std::iterator_traits" has no member "value_type" detected during: instantiation of type "std::_Iter_value_t" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(913): here instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=char, _NoThrowSentinel=unsigned long long]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=char]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(915): here instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=char , _NoThrowSentinel=char ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=char *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4587): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Tidy_deallocate() [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2969): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::~basic_string() [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\system_error(431): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(915): error: operand of "" must be a pointer detected during: instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=char, _NoThrowSentinel=unsigned long long]" (296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=char]" (915): here instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=char , _NoThrowSentinel=char ]" (296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=char ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4587): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Tidy_deallocate() [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2969): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::~basic_string() [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\system_error(431): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(58): error: expected a "(" detected during: instantiation of "size_t std::_Get_size_of_n<_Ty_size>(size_t) [with _Ty_size=2ULL]" (801): here instantiation of "_Ty std::allocator<_Ty>::allocate(size_t) [with _Ty=wchar_t]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4481): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::_Reallocate_for(std::basic_string<_Elem, _Traits, _Alloc>::size_type, _Fty, _ArgTys...) [with _Elem=__wchar_t, _Traits=std::char_traits<wchar_t>, _Alloc=std::allocator<__wchar_t>, _Fty=lambda [](__wchar_t , size_t, const wchar_t *)->void, _ArgTys=<const wchar_t >]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(3226): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::assign(const _Elem , std::basic_string<_Elem, _Traits, _Alloc>::size_type) [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2469): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(const _Elem *, std::basic_string<_Elem, _Traits, _Alloc>::size_type) [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4964): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(124): error: expected a "(" detected during: instantiation of "void *std::_Voidify_iter(_Iter) [with _Iter=wchar_t *]" (149): here instantiation of "void std::_Construct_in_place(_Ty &, _Types &&...) [with _Ty=__wchar_t , _Types=<__wchar_t *const &>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4496): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::_Reallocate_for(std::basic_string<_Elem, _Traits, _Alloc>::size_type, _Fty, _ArgTys...) [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>, _Fty=lambda [](wchar_t *, size_t, const wchar_t )->void, _ArgTys=<const __wchar_t >]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(3226): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::assign(const _Elem , std::basic_string<_Elem, _Traits, _Alloc>::size_type) [with _Elem=__wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2469): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(const _Elem , std::basic_string<_Elem, _Traits, _Alloc>::size_type) [with _Elem=__wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4964): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2847): error: expected a "(" detected during: instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Take_contents(std::basic_string<_Elem, _Traits, _Alloc> &) [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" (2573): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(std::basic_string<_Elem, _Traits, _Alloc> &&) [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(575): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(295): error: expected a "(" detected during: instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=wchar_t *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4587): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Tidy_deallocate() [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2969): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::~basic_string() [with _Elem=__wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(573): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(913): error: expected a "(" detected during: instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=wchar_t *, _NoThrowSentinel=wchar_t ]" (296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=__wchar_t ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4587): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Tidy_deallocate() [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2969): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::~basic_string() [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(573): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(295): error: expected a "(" detected during: instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=wchar_t]" (915): here instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=wchar_t , _NoThrowSentinel=__wchar_t ]" (296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=wchar_t *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4587): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Tidy_deallocate() [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2969): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::~basic_string() [with _Elem=__wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(573): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(913): error: expected a "(" detected during: instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=wchar_t, _NoThrowSentinel=unsigned long long]" (296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=wchar_t]" (915): here instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=wchar_t , _NoThrowSentinel=__wchar_t ]" (296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=wchar_t *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4587): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Tidy_deallocate() [with _Elem=wchar_t, _Traits=std::char_traits<wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2969): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::~basic_string() [with _Elem=__wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(573): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1198): error: class "std::iterator_traits<__wchar_t>" has no member "value_type" detected during: instantiation of type "std::_Iter_value_t<__wchar_t>" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(913): here instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=wchar_t, _NoThrowSentinel=unsigned long long]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=wchar_t]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(915): here instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=wchar_t , _NoThrowSentinel=__wchar_t ]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=wchar_t *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4587): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Tidy_deallocate() [with _Elem=wchar_t, _Traits=std::char_traits<wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2969): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::~basic_string() [with _Elem=__wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(573): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(915): error: operand of "" must be a pointer detected during: instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=__wchar_t, _NoThrowSentinel=unsigned long long]" (296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=wchar_t]" (915): here instantiation of "void std::_Destroy_range(_NoThrowFwdIt, _NoThrowSentinel) [with _NoThrowFwdIt=wchar_t , _NoThrowSentinel=wchar_t *]" (296): here instantiation of "void std::_Destroy_in_place(_Ty &) [with _Ty=wchar_t *]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4587): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Tidy_deallocate() [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2969): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::~basic_string() [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(573): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(124): error: expected a "(" detected during: instantiation of "void *std::_Voidify_iter(_Iter) [with _Iter=char16_t *]" (149): here instantiation of "void std::_Construct_in_place(_Ty &, _Types &&...) [with _Ty=char16_t , _Types=<char16_t const &>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4496): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::_Reallocate_for(std::basic_string<_Elem, _Traits, _Alloc>::size_type, _Fty, _ArgTys...) [with _Elem=char16_t, _Traits=std::char_traits, _Alloc=std::allocator, _Fty=lambda [](char16_t , size_t, const char16_t )->void, _ArgTys=<const char16_t >]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(3226): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::assign(const _Elem , std::basic_string<_Elem, _Traits, _Alloc>::size_type) [with _Elem=char16_t, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2469): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(const _Elem , std::basic_string<_Elem, _Traits, _Alloc>::size_type) [with _Elem=char16_t, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4974): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(58): error: expected a "(" detected during: instantiation of "size_t std::_Get_size_of_n<_Ty_size>(size_t) [with _Ty_size=4ULL]" (801): here instantiation of "_Ty std::allocator<_Ty>::allocate(size_t) [with _Ty=char32_t]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4481): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::_Reallocate_for(std::basic_string<_Elem, _Traits, _Alloc>::size_type, _Fty, _ArgTys...) [with _Elem=char32_t, _Traits=std::char_traits, _Alloc=std::allocator, _Fty=lambda [](char32_t , size_t, const char32_t )->void, _ArgTys=<const char32_t >]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(3226): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::assign(const _Elem , std::basic_string<_Elem, _Traits, _Alloc>::size_type) [with _Elem=char32_t, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2469): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(const _Elem , std::basic_string<_Elem, _Traits, _Alloc>::size_type) [with _Elem=char32_t, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4978): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(124): error: expected a "(" detected during: instantiation of "void *std::_Voidify_iter(_Iter) [with _Iter=char32_t *]" (149): here instantiation of "void std::_Construct_in_place(_Ty &, _Types &&...) [with _Ty=char32_t , _Types=<char32_t const &>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4496): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::_Reallocate_for(std::basic_string<_Elem, _Traits, _Alloc>::size_type, _Fty, _ArgTys...) [with _Elem=char32_t, _Traits=std::char_traits, _Alloc=std::allocator, _Fty=lambda [](char32_t , size_t, const char32_t )->void, _ArgTys=<const char32_t >]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(3226): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::assign(const _Elem , std::basic_string<_Elem, _Traits, _Alloc>::size_type) [with _Elem=char32_t, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2469): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(const _Elem , std::basic_string<_Elem, _Traits, _Alloc>::size_type) [with _Elem=char32_t, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(4978): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\atomic(356): error: expected a "(" detected during: instantiation of "_Integral std::_Atomic_reinterpret_as<_Integral,_Ty>(const _Ty &) [with _Integral=int, _Ty=std::remove_reference_t]" (971): here instantiation of "void std::_Atomic_storage<_Ty, 4ULL>::store(std::_Atomic_storage<_Ty, 4ULL>::_TVal, std::memory_order) [with _Ty=long]" (2919): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\atomic(358): error: expected a "(" detected during: instantiation of "_Integral std::_Atomic_reinterpret_as<_Integral,_Ty>(const _Ty &) [with _Integral=int, _Ty=std::remove_reference_t]" (971): here instantiation of "void std::_Atomic_storage<_Ty, 4ULL>::store(std::_Atomic_storage<_Ty, 4ULL>::_TVal, std::memory_order) [with _Ty=long]" (2919): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\atomic(359): error: invalid type conversion detected during: instantiation of "_Integral std::_Atomic_reinterpret_as<_Integral,_Ty>(const _Ty &) [with _Integral=int, _Ty=std::remove_reference_t]" (971): here instantiation of "void std::_Atomic_storage<_Ty, 4ULL>::store(std::_Atomic_storage<_Ty, 4ULL>::_TVal, std::memory_order) [with _Ty=long]" (2919): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\atomic(356): error: expected a "(" detected during: instantiation of "_Integral std::_Atomic_reinterpret_as<_Integral,_Ty>(const _Ty &) [with _Integral=long, _Ty=std::remove_reference_t]" (965): here instantiation of "void std::_Atomic_storage<_Ty, 4ULL>::store(std::_Atomic_storage<_Ty, 4ULL>::_TVal) [with _Ty=long]" (987): here instantiation of "void std::_Atomic_storage<_Ty, 4ULL>::store(std::_Atomic_storage<_Ty, 4ULL>::_TVal, std::memory_order) [with _Ty=long]" (2919): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\atomic(358): error: expected a "(" detected during: instantiation of "_Integral std::_Atomic_reinterpret_as<_Integral,_Ty>(const _Ty &) [with _Integral=long, _Ty=std::remove_reference_t]" (965): here instantiation of "void std::_Atomic_storage<_Ty, 4ULL>::store(std::_Atomic_storage<_Ty, 4ULL>::_TVal) [with _Ty=long]" (987): here instantiation of "void std::_Atomic_storage<_Ty, 4ULL>::store(std::_Atomic_storage<_Ty, 4ULL>::_TVal, std::memory_order) [with _Ty=long]" (2919): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(884): error: expected a "(" detected during: instantiation of "void std::_Pocma(_Alloc &, _Alloc &) [with _Alloc=std::_Rebind_alloc_t<std::allocator, char>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2743): here instantiation of "void std::basic_string<_Elem, _Traits, _Alloc>::_Move_assign(std::basic_string<_Elem, _Traits, _Alloc> &, std::_Equal_allocators) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2817): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::operator=(std::basic_string<_Elem, _Traits, _Alloc> &&) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2824): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc> &std::basic_string<_Elem, _Traits, _Alloc>::assign(std::basic_string<_Elem, _Traits, _Alloc> &&) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocnum(1261): here instantiation of "_OutIt std::num_put<_Elem, _OutIt>::do_put(_OutIt, std::ios_base &, _Elem, __nv_bool) const [with _Elem=char, _OutIt=std::ostreambuf_iterator<char, std::char_traits>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocnum(1207): here instantiation of "std::num_put<_Elem, _OutIt>::num_put(const std::_Locinfo &, size_t) [with _Elem=char, _OutIt=std::ostreambuf_iterator<char, std::char_traits>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocnum(1185): here instantiation of "size_t std::num_put<_Elem, _OutIt>::_Getcat(const std::locale::facet *, const std::locale ) [with _Elem=char, _OutIt=std::ostreambuf_iterator<char, std::char_traits>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xlocale(432): here instantiation of "const _Facet &std::use_facet<_Facet>(const std::locale &) [with _Facet=std::num_put<char, std::ostreambuf_iterator<char, std::char_traits>>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\ostream(273): here instantiation of "std::basic_ostream<_Elem, _Traits> &std::basic_ostream<_Elem, _Traits>::operator<<(int) [with _Elem=char, _Traits=std::char_traits]" D:\paddle_project\Paddle\build\third_party\eigen3\src\extern_eigen3\unsupported\Eigen\CXX11\src/Tensor/TensorDeviceGpu.h(72): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1276): error: expected a "(" detected during: instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=char &]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2532): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(_Iter, _Iter, const _Alloc &) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator, _Iter=char , =0]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(494): here instantiation of "std::basic_string<_Elem, std::char_traits<_Elem>, std::allocator<_Elem>> std::_Integral_to_string<_Elem,_Ty>(_Ty) [with _Elem=char, _Ty=int]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(509): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1278): error: expected a "(" detected during: instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=char &]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2532): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(_Iter, _Iter, const _Alloc &) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator, _Iter=char , =0]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(494): here instantiation of "std::basic_string<_Elem, std::char_traits<_Elem>, std::allocator<_Elem>> std::_Integral_to_string<_Elem,_Ty>(_Ty) [with _Elem=char, _Ty=int]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(509): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1279): error: expression must have class type detected during: instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=char &]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2532): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(_Iter, _Iter, const _Alloc &) [with _Elem=char, _Traits=std::char_traits, _Alloc=std::allocator, _Iter=char , =0]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(494): here instantiation of "std::basic_string<_Elem, std::char_traits<_Elem>, std::allocator<_Elem>> std::_Integral_to_string<_Elem,_Ty>(_Ty) [with _Elem=char, _Ty=int]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(509): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1276): error: expected a "(" detected during: instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=wchar_t *&]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2532): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(_Iter, _Iter, const _Alloc &) [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>, _Iter=__wchar_t *, =0]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(494): here instantiation of "std::basic_string<_Elem, std::char_traits<_Elem>, std::allocator<_Elem>> std::_Integral_to_string<_Elem,_Ty>(_Ty) [with _Elem=__wchar_t, _Ty=int]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(548): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1278): error: expected a "(" detected during: instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=wchar_t *&]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2532): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(_Iter, _Iter, const _Alloc &) [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>, _Iter=__wchar_t *, =0]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(494): here instantiation of "std::basic_string<_Elem, std::char_traits<_Elem>, std::allocator<_Elem>> std::_Integral_to_string<_Elem,_Ty>(_Ty) [with _Elem=__wchar_t, _Ty=int]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(548): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xutility(1279): error: expression must have class type detected during: instantiation of "decltype(auto) std::_Get_unwrapped(_Iter &&) [with _Iter=wchar_t *&]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xstring(2532): here instantiation of "std::basic_string<_Elem, _Traits, _Alloc>::basic_string(_Iter, _Iter, const _Alloc &) [with _Elem=wchar_t, _Traits=std::char_traits<__wchar_t>, _Alloc=std::allocator<__wchar_t>, _Iter=__wchar_t *, =0]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(494): here instantiation of "std::basic_string<_Elem, std::char_traits<_Elem>, std::allocator<_Elem>> std::_Integral_to_string<_Elem,_Ty>(_Ty) [with _Elem=__wchar_t, _Ty=int]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\string(548): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\xmemory(903): error: expected a "(" detected during: instantiation of "void std::_Destroy_range(std::_Alloc_ptr_t<_Alloc>, std::_Alloc_ptr_t<_Alloc>, _Alloc &) [with _Alloc=std::_Rebind_alloc_t<std::allocator, std::seed_seq::result_type>]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(1667): here instantiation of "void std::vector<_Ty, _Alloc>::_Destroy(std::vector<_Ty, _Alloc>::pointer, std::vector<_Ty, _Alloc>::pointer) [with _Ty=std::seed_seq::result_type, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(1751): here instantiation of "void std::vector<_Ty, _Alloc>::_Tidy() [with _Ty=std::seed_seq::result_type, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\vector(699): here instantiation of "std::vector<_Ty, _Alloc>::~vector() [with _Ty=std::seed_seq::result_type, _Alloc=std::allocator]" D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\random(150): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\atomic(356): error: expected a "(" detected during: instantiation of "_Integral std::_Atomic_reinterpret_as<_Integral,_Ty>(const _Ty &) [with _Integral=char, _Ty=std::remove_reference_t<__nv_bool>]" (770): here instantiation of "std::_Atomic_storage<_Ty, 1ULL>::_TVal std::_Atomic_storage<_Ty, 1ULL>::exchange(std::_Atomic_storage<_Ty, 1ULL>::_TVal, std::memory_order) [with _Ty=__nv_bool]" D:\paddle_project\Paddle\build\third_party\eigen3\src\extern_eigen3\unsupported\Eigen\CXX11\src/Tensor/TensorDeviceGpu.h(57): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\atomic(358): error: expected a "(" detected during: instantiation of "_Integral std::_Atomic_reinterpret_as<_Integral,_Ty>(const _Ty &) [with _Integral=char, _Ty=std::remove_reference_t<__nv_bool>]" (770): here instantiation of "std::_Atomic_storage<_Ty, 1ULL>::_TVal std::_Atomic_storage<_Ty, 1ULL>::exchange(std::_Atomic_storage<_Ty, 1ULL>::_TVal, std::memory_order) [with _Ty=__nv_bool]" D:\paddle_project\Paddle\build\third_party\eigen3\src\extern_eigen3\unsupported\Eigen\CXX11\src/Tensor/TensorDeviceGpu.h(57): here

D:\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\atomic(359): error: invalid type conversion detected during: instantiation of "_Integral std::_Atomic_reinterpret_as<_Integral,_Ty>(const _Ty &) [with _Integral=char, _Ty=std::remove_reference_t<__nv_bool>]" (770): here instantiation of "std::_Atomic_storage<_Ty, 1ULL>::_TVal std::_Atomic_storage<_Ty, 1ULL>::exchange(std::_Atomic_storage<_Ty, 1ULL>::_TVal, std::memory_order) [with _Ty=__nv_bool]" D:\paddle_project\Paddle\build\third_party\eigen3\src\extern_eigen3\unsupported\Eigen\CXX11\src/Tensor/TensorDeviceGpu.h(57): here

56 errors detected in the compilation of "D:/paddle_project/Paddle/paddle/phi/kernels/funcs/eigen/broadcast.cu". broadcast.cu ninja: build stopped: subcommand failed.

版本&环境信息 Version & Environment Information

paddle:2.3 cuda:11.2.2 cudnn:8.2.1 vs:2019 cmake:3.24.0 ninja:1.10.2 python:3.8.10 git:2.38.1

paddle-bot[bot] commented 1 year ago

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

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 APIFAQGithub Issue and AI community to get the answer.Have a nice day!

zhwesky2010 commented 1 year ago

@DevilcLo 你好,目前vs2019+cuda11.2我们是可以编译通过的,目前的Windows发版也是通过这种配置编译的。这个报错看起来是vs的版本不对,导致头文件报错? 我们安装的是vs2019社区版: infoflow 2022-10-28 14-47-24

DevilcLo commented 1 year ago

@DevilcLo你好,现在vs2019+cuda11.2我们是可以通过编译的,现在的Windows发版也是通过这种配置编译的。这个报错看起来是vs的版本不对,导致头文件报错 ?版: 信息流 2022-10-28 14-47-24 我这边是更新的一个版本 1666939799814

1666940032056 1666940058670

1666940081941
DevilcLo commented 1 year ago

后面修改成cuda 11.6.2 cuDNN 8.2.1 TensorRT 8.4.0.6然后使用 cmake .. -G "Ninja" -DWITH_MKL=ON -DWITH_GPU=ON -DON_INFER=ON -DWITH_PYTHON=OFF -DMSVC_STATIC_CRT=OFF -DCUDA_ARCH_NAME=Auto -DWITH_RCCL=OFF -DWITH_NCCL=OFF -DWITH_UNITY_BUILD=ON -DCUDA_TOOLKIT_ROOT_DIR="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.6" -DWITH_TENSORRT=ON -DTENSORRT_ROOT="D:\TensorRT-8.4.0.6" 就能正常编译了,paddle修改成了2.3.1版本进行编译

luotao1 commented 1 year ago

@DevilcLo

paddle-bot[bot] commented 9 months ago

Since you haven\'t replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。