MrGF / py-faster-rcnn-windows

py-faster-rcnn that can compile on windows directly
MIT License
135 stars 70 forks source link

python setup_cuda.py install Error #20

Open ZieveXu opened 6 years ago

ZieveXu commented 6 years ago

I have compiled setup.py but compile setup_cuda.py is error how to solve this....thanks!! C:\Users\XuZhi\Desktop\py-faster-rcnn-windows-master\py-faster-rcnn-windows-master\lib>python setup_cuda.py install running install running bdist_egg running egg_info writing py_fast_rcnn_gpu.egg-info\PKG-INFO writing top-level names to py_fast_rcnn_gpu.egg-info\top_level.txt writing dependency_links to py_fast_rcnn_gpu.egg-info\dependency_links.txt reading manifest file 'py_fast_rcnn_gpu.egg-info\SOURCES.txt' writing manifest file 'py_fast_rcnn_gpu.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_ext building 'nms.gpu_nms' extension C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe --compiler-bindir "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin" -c -IC:\Users\XuZhi\Anaconda3\envs\tensorflow\lib\site-packages\numpy\core\include "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include" -IC:\Users\XuZhi\Anaconda3\envs\tensorflow\include -IC:\Users\XuZhi\Anaconda3\envs\tensorflow\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" nms\gpu_nms.cu -o build\temp.win-amd64-3.5\Release\nms\gpu_nms.obj -O --ptxas-options=-v -arch=sm_35 -c --compiler-options=/nologo,/Ox,/W3,/GL,/DNDEBUG,/MD gpu_nms.cu c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(849) : warning C4819: 该文件包含不能在 当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(1787) : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(2637) : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(3492) : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(4431) : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(5345) : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(6252) : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(7142) : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\math_functions.h(7956) : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_functions.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_functions.h(774) : warning C4819: 该文件包含不能 在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_functions.h(1618) : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\device_double_functions.h : warning C4819: 该文件包含不 能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\sm_20_intrinsics.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 c:\program files\nvidia gpu computing toolkit\cuda\v8.0\include\sm_20_intrinsics.h(943) : warning C4819: 该文件包含不能 在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\yvals.h(646): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\yvals.h(781): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\initializer_list(27): error: identifier "constexpr" is undefined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\initializer_list(27): error: member function with the same name as its class must be a constructor

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\initializer_list(27): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\initializer_list(54): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\initializer_list(59): error: explicit type is missing ("int" assumed)

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\initializer_list(60): error: "constexpr" is not a function or static data member

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\initializer_list(71): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\initializer_list(71): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(24): error: identifier "constexpr" is undefined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(24): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(26): error: member "std::integral_constant<_Ty, _Val>::_Ty" is not a type name

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(27): error: member "std::integral_constant<_Ty, _Val>::_Ty" is not a type name

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(29): error: identifier "constexpr" is undefined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(29): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(38): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(100): error: this declaration has no storage class or type specifier

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(100): error: "constexpr" is not a function or static data member

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(213): error: identifier "char16_t" is undefined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(219): error: identifier "char32_t" is undefined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(219): error: class "std::_Is_integral<>" has already been defined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(245): error: this declaration has no storage class or type specifier

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(245): error: "constexpr" is not a function or static data member

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(282): error: this declaration has no storage class or type specifier

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(282): error: "constexpr" is not a function or static data member

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(295): error: this declaration has no storage class or type specifier

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xtr1common(295): error: "constexpr" is not a function or static data member

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(146): error: explicit type is missing ("int" assumed)

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(146): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(181): error: identifier "constexpr" is undefined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(181): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(185): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(195): error: identifier "constexpr" is undefined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(195): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(199): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(209): error: identifier "constexpr" is undefined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(209): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(213): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(223): error: this declaration has no storage class or type specifier

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(223): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(227): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(237): error: this declaration has no storage class or type specifier

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(237): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(241): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(251): error: this declaration has no storage class or type specifier

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(251): error: member "std::plus::constexpr" is not a valid class member template

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(251): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(258): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(268): error: this declaration has no storage class or type specifier

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(268): error: member "std::minus::constexpr" is not a valid class member template

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(268): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(275): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(285): error: this declaration has no storage class or type specifier

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(285): error: member "std::multiplies::constexpr" is not a valid class member template

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(285): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(292): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(302): error: this declaration has no storage class or type specifier

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(302): error: member "std::equal_to::constexpr" is not a valid class member template

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(302): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(309): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(319): error: this declaration has no storage class or type specifier

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(319): error: member "std::less::constexpr" is not a valid class member template

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(319): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(326): warning: parsing restarts here after previous syntax error

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(375): error: invalid combination of type specifiers

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(404): error: identifier "char16_t" is undefined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(405): error: identifier "char16_t" is undefined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(410): error: identifier "char32_t" is undefined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(410): error: class "std::hash<>" has already been defined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(411): error: identifier "char32_t" is undefined

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(659): error: explicit type is missing ("int" assumed)

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(659): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: invalid combination of type specifiers

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: invalid combination of type specifiers

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: invalid combination of type specifiers

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: invalid combination of type specifiers

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: invalid combination of type specifiers

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: invalid combination of type specifiers

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: invalid combination of type specifiers

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: invalid combination of type specifiers

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(673): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: explicit type is missing ("int" assumed)

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: explicit type is missing ("int" assumed)

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: explicit type is missing ("int" assumed)

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: explicit type is missing ("int" assumed)

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: expected a ";"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: expected a ">"

C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/INCLUDE\xstddef(686): error: expected a ">"

Error limit reached. 100 errors detected in the compilation of "C:/Users/XuZhi/AppData/Local/Temp/tmpxft_00001f38_00000000-8_gpu_nms.cpp1.ii". Compilation terminated. error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin\nvcc.exe' failed with exit status 4