SHARE
TWEET

Cannot enable c++11 ???

a guest May 6th, 2016 146 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [278/2506] Generating kernel_sm_30.cubin
  2. FAILED: intern/cycles/kernel/kernel_sm_30.cubin
  3. cd /home/igor/src/blender/build-gcc/intern/cycles/kernel && /opt/cuda/bin/nvcc -arch=sm_30 -m64 --cubin /home/igor/src/blender/blender/intern/cycles/kernel/kernels/cuda/kernel.cu -o /home/igor/src/blender/build-gcc/intern/cycles/kernel/kernel_sm_30.cubin --ptxas-options="-v" -D__KERNEL_CUDA_VERSION__=75 --use_fast_math -I/home/igor/src/blender/blender/intern/cycles/kernel/../util -I/home/igor/src/blender/blender/intern/cycles/kernel/svm -DCCL_NAMESPACE_BEGIN= -DCCL_NAMESPACE_END= -DNVCC
  4. /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/include/stddef.h(436): error: identifier "nullptr" is undefined
  5.  
  6. /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/include/stddef.h(436): error: expected a ";"
  7.  
  8. /usr/include/c++/6.1.1/x86_64-pc-linux-gnu/bits/c++config.h(202): error: expected a ";"
  9.  
  10. /usr/include/c++/6.1.1/exception(63): error: expected a ";"
  11.  
  12. /usr/include/c++/6.1.1/exception(69): error: expected a ";"
  13.  
  14. /usr/include/c++/6.1.1/exception(77): error: expected a ";"
  15.  
  16. /usr/include/c++/6.1.1/exception(85): error: expected a ";"
  17.  
  18. /usr/include/c++/6.1.1/exception(95): error: expected a "{"
  19.  
  20. /usr/include/c++/6.1.1/bits/exception_ptr.h(64): error: function "std::current_exception" returns incomplete type "std::__exception_ptr::exception_ptr"
  21.  
  22. /usr/include/c++/6.1.1/bits/exception_ptr.h(64): error: expected a "{"
  23.  
  24. /usr/include/c++/6.1.1/bits/exception_ptr.h(71): error: namespace "std" has no member "rethrow_exception"
  25.  
  26. /usr/include/c++/6.1.1/bits/exception_ptr.h(81): error: expected a ";"
  27.  
  28. /usr/include/c++/6.1.1/bits/exception_ptr.h(83): error: expected a ";"
  29.  
  30. /usr/include/c++/6.1.1/bits/exception_ptr.h(84): error: expected a ";"
  31.  
  32. /usr/include/c++/6.1.1/bits/exception_ptr.h(86): error: expected a ";"
  33.  
  34. /usr/include/c++/6.1.1/bits/exception_ptr.h(88): error: declaration is incompatible with previous "std::current_exception"
  35. (64): here
  36.  
  37. /usr/include/c++/6.1.1/bits/exception_ptr.h(88): error: use of a local type to declare a function
  38.  
  39. /usr/include/c++/6.1.1/bits/exception_ptr.h(88): error: expected a ";"
  40.  
  41. /usr/include/c++/6.1.1/bits/exception_ptr.h(89): error: use of a local type to declare a function
  42.  
  43. /usr/include/c++/6.1.1/bits/exception_ptr.h(92): error: expected a ";"
  44.  
  45. /usr/include/c++/6.1.1/bits/exception_ptr.h(94): error: expected a ";"
  46.  
  47. /usr/include/c++/6.1.1/bits/exception_ptr.h(97): error: incomplete type is not allowed
  48.  
  49. /usr/include/c++/6.1.1/bits/exception_ptr.h(97): error: expected a ";"
  50.  
  51. /usr/include/c++/6.1.1/bits/exception_ptr.h(118): error: expected a ";"
  52.  
  53. /usr/include/c++/6.1.1/bits/exception_ptr.h(128): error: expected a ";"
  54.  
  55. /usr/include/c++/6.1.1/bits/exception_ptr.h(145): error: use of a local type to declare a function
  56.  
  57. /usr/include/c++/6.1.1/bits/exception_ptr.h(146): error: expected a ";"
  58.  
  59. /usr/include/c++/6.1.1/bits/exception_ptr.h(149): error: expected a ";"
  60.  
  61. /usr/include/c++/6.1.1/bits/exception_ptr.h(154): error: use of a local type to declare a function
  62.  
  63. /usr/include/c++/6.1.1/bits/exception_ptr.h(155): error: expected a ";"
  64.  
  65. /usr/include/c++/6.1.1/bits/exception_ptr.h(158): error: use of a local type to declare a function
  66.  
  67. /usr/include/c++/6.1.1/bits/exception_ptr.h(159): error: expected a ";"
  68.  
  69. /usr/include/c++/6.1.1/bits/exception_ptr.h(162): error: use of a local type to declare a function
  70.  
  71. /usr/include/c++/6.1.1/bits/exception_ptr.h(163): error: expected a ";"
  72.  
  73. /usr/include/c++/6.1.1/bits/exception_ptr.h(171): error: expected a ";"
  74.  
  75. /usr/include/c++/6.1.1/bits/exception_ptr.h(197): error: expected a ";"
  76.  
  77. /usr/include/c++/6.1.1/bits/move.h(47): error: expected a ";"
  78.  
  79. /usr/include/c++/6.1.1/type_traits(71): error: identifier "constexpr" is undefined
  80.  
  81. /usr/include/c++/6.1.1/type_traits(71): error: template parameter "_Tp" may not be redeclared in this scope
  82.  
  83. /usr/include/c++/6.1.1/type_traits(71): error: expected a ";"
  84.  
  85. /usr/include/c++/6.1.1/type_traits(72): error: member "std::integral_constant<_Tp, __v>::_Tp" is not a type name
  86.  
  87. /usr/include/c++/6.1.1/type_traits(73): error: member "std::integral_constant<_Tp, __v>::_Tp" is not a type name
  88.  
  89. /usr/include/c++/6.1.1/type_traits(74): error: identifier "constexpr" is undefined
  90.  
  91. /usr/include/c++/6.1.1/type_traits(79): error: identifier "constexpr" is undefined
  92.  
  93. /usr/include/c++/6.1.1/type_traits(79): error: "value_type" has already been declared in the current scope
  94.  
  95. /usr/include/c++/6.1.1/type_traits(79): error: expected a ";"
  96.  
  97. /usr/include/c++/6.1.1/type_traits(84): error: identifier "constexpr" is undefined
  98.  
  99. /usr/include/c++/6.1.1/type_traits(84): error: "_Tp" is not a function or static data member
  100.  
  101. /usr/include/c++/6.1.1/type_traits(93): error: expected a declaration
  102.  
  103. /usr/include/c++/6.1.1/type_traits(93): error: expected a ";"
  104.  
  105. /usr/include/c++/6.1.1/type_traits(126): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  106.  
  107. /usr/include/c++/6.1.1/type_traits(235): error: identifier "char16_t" is undefined
  108.  
  109. /usr/include/c++/6.1.1/type_traits(239): error: identifier "char32_t" is undefined
  110.  
  111. /usr/include/c++/6.1.1/type_traits(239): error: class "std::__is_integral_helper<<error-type>>" has already been defined
  112.  
  113. /usr/include/c++/6.1.1/type_traits(337): error: identifier "__float128" is undefined
  114.  
  115. /usr/include/c++/6.1.1/type_traits(453): error: expected a ">"
  116.  
  117. /usr/include/c++/6.1.1/type_traits(457): error: expected a ">"
  118.  
  119. /usr/include/c++/6.1.1/type_traits(465): error: expected a ">"
  120.  
  121. /usr/include/c++/6.1.1/type_traits(469): error: expected a ">"
  122.  
  123. /usr/include/c++/6.1.1/type_traits(477): error: expected a ">"
  124.  
  125. /usr/include/c++/6.1.1/type_traits(481): error: expected a ">"
  126.  
  127. /usr/include/c++/6.1.1/type_traits(489): error: expected a ">"
  128.  
  129. /usr/include/c++/6.1.1/type_traits(493): error: expected a ">"
  130.  
  131. /usr/include/c++/6.1.1/type_traits(501): error: expected a ">"
  132.  
  133. /usr/include/c++/6.1.1/type_traits(505): error: expected a ">"
  134.  
  135. /usr/include/c++/6.1.1/type_traits(513): error: expected a ">"
  136.  
  137. /usr/include/c++/6.1.1/type_traits(517): error: expected a ">"
  138.  
  139. /usr/include/c++/6.1.1/type_traits(525): error: expected a ">"
  140.  
  141. /usr/include/c++/6.1.1/type_traits(529): error: expected a ">"
  142.  
  143. /usr/include/c++/6.1.1/type_traits(537): error: expected a ">"
  144.  
  145. /usr/include/c++/6.1.1/type_traits(541): error: expected a ">"
  146.  
  147. /usr/include/c++/6.1.1/type_traits(551): error: namespace "std" has no member "nullptr_t"
  148.  
  149. /usr/include/c++/6.1.1/type_traits(572): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  150.  
  151. /usr/include/c++/6.1.1/type_traits(578): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  152.  
  153. /usr/include/c++/6.1.1/type_traits(585): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  154.  
  155. /usr/include/c++/6.1.1/type_traits(592): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  156.  
  157. /usr/include/c++/6.1.1/type_traits(602): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  158.  
  159. /usr/include/c++/6.1.1/type_traits(628): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  160.  
  161. /usr/include/c++/6.1.1/type_traits(738): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  162.  
  163. /usr/include/c++/6.1.1/type_traits(752): error: expected a ";"
  164.  
  165. /usr/include/c++/6.1.1/type_traits(767): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  166.  
  167. /usr/include/c++/6.1.1/type_traits(777): error: expected a ")"
  168.  
  169. /usr/include/c++/6.1.1/type_traits(788): error: an explicit template argument list is not allowed on this declaration
  170.  
  171. /usr/include/c++/6.1.1/type_traits(788): error: expected a type specifier
  172.  
  173. /usr/include/c++/6.1.1/type_traits(788): error: function returning function is not allowed
  174.  
  175. /usr/include/c++/6.1.1/type_traits(788): error: expected a ";"
  176.  
  177. /usr/include/c++/6.1.1/type_traits(794): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  178.  
  179. /usr/include/c++/6.1.1/type_traits(795): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  180.  
  181. /usr/include/c++/6.1.1/type_traits(825): error: identifier "noexcept" is undefined
  182.  
  183. /usr/include/c++/6.1.1/type_traits(825): error: function call is not allowed in a constant expression
  184.  
  185. /usr/include/c++/6.1.1/type_traits(825): error: function call is not allowed in a constant expression
  186.  
  187. /usr/include/c++/6.1.1/type_traits(825): error: this operator is not allowed in a template argument expression
  188.  
  189. /usr/include/c++/6.1.1/type_traits(836): error: an explicit template argument list is not allowed on this declaration
  190.  
  191. /usr/include/c++/6.1.1/type_traits(836): error: expected a type specifier
  192.  
  193. /usr/include/c++/6.1.1/type_traits(836): error: function returning function is not allowed
  194.  
  195. /usr/include/c++/6.1.1/type_traits(836): error: expected a ";"
  196.  
  197. /usr/include/c++/6.1.1/type_traits(842): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  198.  
  199. /usr/include/c++/6.1.1/type_traits(843): error: space required between adjacent ">" delimiters of nested template argument lists (">>" is the right shift operator)
  200.  
  201. /usr/include/c++/6.1.1/type_traits(868): error: function returning function is not allowed
  202.  
  203. /usr/include/c++/6.1.1/type_traits(879): error: an explicit template argument list is not allowed on this declaration
  204.  
  205. Error limit reached.
  206. 100 errors detected in the compilation of "/tmp/tmpxft_00007a49_00000000-7_kernel.cpp1.ii".
  207. Compilation terminated.
  208. [283/2506] Building CXX object intern/cycles/kernel/CMakeFiles/cycles_kernel.dir/kernels/cpu/kernel_avx.cpp.o
  209. ninja: build stopped: subcommand failed.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top