facebookresearch / maskrcnn-benchmark

Fast, modular reference implementation of Instance Segmentation and Object Detection algorithms in PyTorch.
MIT License
9.31k stars 2.49k forks source link

errors in python setup.py in windows11 #1355

Open xywhat opened 1 year ago

xywhat commented 1 year ago

WINDOWS11+CUDA10.0+torch1.2.0(cuda) Thanks a lot!!!!!

deform_conv_cuda.cu C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\yvals_core.h(801): error: static assertion failed with "Error in C++ Standard Library usage."

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xtr1common(169): error: identifier "__builtin_is_constant_evaluated" is undefined

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\exception(324): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\utility(151): error: expected an identifier

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\utility(151): error: expected a ")"

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\utility(150): error: explicit type is missing ("int" assumed)

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\utility(150): error: not a valid member class or function template declaration

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\utility(150): error: "explicit" is not allowed

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\utility(151): error: expected a ";"

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\utility(190): error: expected an identifier

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\utility(190): error: expected a ")"

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\utility(190): error: explicit type is missing ("int" assumed)

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\utility(190): error: not a valid member class or function template declaration

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\utility(190): error: "explicit" is not allowed

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\utility(190): error: expected a ";"

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(1695): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(1702): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(1707): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xmemory(545): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xmemory(550): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xmemory(631): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xmemory(645): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xmemory(832): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xmemory(845): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xmemory(2041): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xmemory(2062): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\memory(2657): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\memory(2752): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\memory(3392): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\memory(3397): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xstring(4378): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(194): error: type name is not allowed detected during instantiation of "_To std::_Bit_cast<_To,_From,>(const _From &) [with _To=uintptr_t, _From=std::error_category::_Addr_storage, =0]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\system_error(97): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(194): error: identifier "__builtin_bit_cast" is undefined detected during instantiation of "_To std::_Bit_cast<_To,_From,>(const _From &) [with _To=uintptr_t, _From=std::error_category::_Addr_storage, =0]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\system_error(97): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(935): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=const char , _Sentinel=const char ]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(1985): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(936): 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 ]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(1985): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(935): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=wchar_t *, _Sentinel=wchar_t *]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(1986): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(936): 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 *]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(1986): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(935): 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 *]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(2021): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(936): 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 *]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(2021): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(935): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=char , _Sentinel=char ]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(2022): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(936): error: identifier "_Verify_range" is undefined detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=char , _Sentinel=char ]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(2022): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(935): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=unsigned short , _Sentinel=unsigned short ]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(2185): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(936): 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 ]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(2185): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(935): 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 ]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(2221): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(936): 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 ]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(2221): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(935): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=char , _Sentinel=const char ]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(2760): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(936): 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 ]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(2760): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(935): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=wchar_t *, _Sentinel=const wchar_t *]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(2941): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(936): 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 *]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(2941): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(935): error: expected a "(" detected during instantiation of "void std::_Adl_verify_range(const _Iter &, const _Sentinel &) [with _Iter=unsigned short , _Sentinel=const unsigned short ]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(3143): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(936): 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 ]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xlocale(3143): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\tuple(268): error: expected an identifier

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\tuple(268): error: expected a ")"

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\tuple(267): error: explicit type is missing ("int" assumed)

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\tuple(267): error: not a valid member class or function template declaration

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\tuple(267): error: "explicit" is not allowed

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\tuple(268): error: expected a ";"

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\tuple(302): error: explicit type is missing ("int" assumed)

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\tuple(302): error: member "std::tuple<_This, _Rest...>::_Tuple_conditional_explicit_v" is not a valid class member template

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\tuple(302): error: "explicit" is not allowed

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\tuple(303): error: expected a ";"

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\functional(1041): error: a nontype template parameter may not have class type

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\functional(1058): error: a nontype template parameter may not have class type

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\functional(1088): error: a nontype template parameter may not have class type

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\vector(1925): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\vector(3227): error: attribute "nodiscard" does not take arguments

D:/software/anaconda3/envs/energy_based/lib/site-packages/torch/include\c10/util/Exception.h(28): warning: base class dllexport/dllimport specification differs from that of the derived class

D:/software/anaconda3/envs/energy_based/lib/site-packages/torch/include\c10/util/Exception.h(29): warning: field of class type without a DLL interface used in a class with a DLL interface

D:/software/anaconda3/envs/energy_based/lib/site-packages/torch/include\c10/util/Exception.h(30): warning: field of class type without a DLL interface used in a class with a DLL interface

D:/software/anaconda3/envs/energy_based/lib/site-packages/torch/include\c10/util/Exception.h(35): warning: field of class type without a DLL interface used in a class with a DLL interface

D:/software/anaconda3/envs/energy_based/lib/site-packages/torch/include\c10/util/Exception.h(36): warning: field of class type without a DLL interface used in a class with a DLL interface

D:/software/anaconda3/envs/energy_based/lib/site-packages/torch/include\c10/core/Allocator.h(21): warning: field of class type without a DLL interface used in a class with a DLL interface

D:/software/anaconda3/envs/energy_based/lib/site-packages/torch/include\c10/core/Allocator.h(183): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\algorithm(4215): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\algorithm(4240): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\thread(87): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(53): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(99): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(131): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(137): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(143): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(147): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(151): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(159): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(164): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(198): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(205): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(212): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(221): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(350): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(422): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(763): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(783): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(800): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(808): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(846): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(886): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(915): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\mutex(923): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\list(1194): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xhash(833): error: attribute "nodiscard" does not take arguments

D:/software/anaconda3/envs/energy_based/lib/site-packages/torch/include\c10/core/TensorTypeIdRegistration.h(33): warning: field of class type without a DLL interface used in a class with a DLL interface

D:/software/anaconda3/envs/energy_based/lib/site-packages/torch/include\c10/core/TensorTypeIdRegistration.h(49): warning: field of class type without a DLL interface used in a class with a DLL interface

D:/software/anaconda3/envs/energy_based/lib/site-packages/torch/include\c10/core/TensorTypeIdRegistration.h(50): warning: field of class type without a DLL interface used in a class with a DLL interface

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\array(509): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\array(688): error: attribute "nodiscard" does not take arguments

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(194): error: type name is not allowed detected during instantiation of "_To std::_Bit_cast<_To,_From,>(const _From &) [with _To=unsigned long long, _From=double, =0]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\complex(137): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(194): error: identifier "__builtin_bit_cast" is undefined detected during instantiation of "_To std::_Bit_cast<_To,_From,>(const _From &) [with _To=unsigned long long, _From=double, =0]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\complex(137): here

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\complex(139): error: no instance of function template "std::_Bit_cast" matches the argument list argument types are: (const )

C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\xutility(194): error: type name is not allowed detected during instantiation of "_To std::_Bit_cast<_To,_From,>(const _From &) [with _To=uint64_t, _From=long double, =0]" C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/include\complex(538): here

Error limit reached. 100 errors detected in the compilation of "C:/Users/Administrator/AppData/Local/Temp/tmpxft_0000150c_00000000-10_deform_conv_cuda.cpp1.ii". Compilation terminated. error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe' failed with exit status 1