SHARE
TWEET

ReShade compilation error

luluco250 Jan 2nd, 2017 162 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 1>------ Build started: Project: ReShade, Configuration: Release Win32 ------
  2. 1>Updating Version Number File .......
  3. 1> Full Version: 0.0.0.3
  4. 1> File Version: 0.0.0.3
  5. 1> Product Version: 0.0.0
  6. 1>main.cpp
  7. 1>runtime.cpp
  8. 1>runtime_objects.cpp
  9. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory0(840): error C2280: 'std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)': attempting to reference a deleted function
  10. 1>        with
  11. 1>        [
  12. 1>            _Ty=reshade::base_object
  13. 1>        ]
  14. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\memory(1857): note: see declaration of 'std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>::unique_ptr'
  15. 1>        with
  16. 1>        [
  17. 1>            _Ty=reshade::base_object
  18. 1>        ]
  19. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory0(959): note: see reference to function template instantiation 'void std::allocator<_Ty>::construct<_Objty,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>&>(_Objty *,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> &)' being compiled
  20. 1>        with
  21. 1>        [
  22. 1>            _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>,
  23. 1>            _Objty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>
  24. 1>        ]
  25. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory0(959): note: see reference to function template instantiation 'void std::allocator<_Ty>::construct<_Objty,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>&>(_Objty *,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> &)' being compiled
  26. 1>        with
  27. 1>        [
  28. 1>            _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>,
  29. 1>            _Objty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>
  30. 1>        ]
  31. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory0(1097): note: see reference to function template instantiation 'void std::allocator_traits<_Alloc>::construct<_Ty,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>&>(std::allocator<_Ty> &,_Objty *,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> &)' being compiled
  32. 1>        with
  33. 1>        [
  34. 1>            _Alloc=std::allocator<std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>>,
  35. 1>            _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>,
  36. 1>            _Objty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>
  37. 1>        ]
  38. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory0(1096): note: see reference to function template instantiation 'void std::allocator_traits<_Alloc>::construct<_Ty,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>&>(std::allocator<_Ty> &,_Objty *,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> &)' being compiled
  39. 1>        with
  40. 1>        [
  41. 1>            _Alloc=std::allocator<std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>>,
  42. 1>            _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>,
  43. 1>            _Objty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>
  44. 1>        ]
  45. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory(92): note: see reference to function template instantiation 'void std::_Wrap_alloc<std::allocator<_Ty>>::construct<_Ty,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>&>(_Ty *,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> &)' being compiled
  46. 1>        with
  47. 1>        [
  48. 1>            _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>
  49. 1>        ]
  50. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory(92): note: see reference to function template instantiation 'void std::_Wrap_alloc<std::allocator<_Ty>>::construct<_Ty,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>&>(_Ty *,std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> &)' being compiled
  51. 1>        with
  52. 1>        [
  53. 1>            _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>
  54. 1>        ]
  55. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\xmemory(126): note: see reference to function template instantiation '_FwdIt *std::_Uninitialized_copy_al_unchecked<_Iter,_Iter,std::allocator<_Ty>>(_InIt,_InIt,_FwdIt,std::_Wrap_alloc<std::allocator<_Ty>> &,std::_General_ptr_iterator_tag,std::_Any_tag)' being compiled
  56. 1>        with
  57. 1>        [
  58. 1>            _FwdIt=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *,
  59. 1>            _Iter=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *,
  60. 1>            _Ty=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>>,
  61. 1>            _InIt=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *
  62. 1>        ]
  63. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\vector(1859): note: see reference to function template instantiation '_FwdIt *std::_Uninitialized_copy<_Iter,std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>*,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>(_InIt,_InIt,_FwdIt,std::_Wrap_alloc<std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>> &)' being compiled
  64. 1>        with
  65. 1>        [
  66. 1>            _FwdIt=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *,
  67. 1>            _Iter=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *,
  68. 1>            _Ty=reshade::base_object,
  69. 1>            _InIt=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *
  70. 1>        ]
  71. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\vector(809): note: see reference to function template instantiation 'std::unique_ptr<reshade::base_object,std::default_delete<_Ty>> *std::vector<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::_Ucopy<std::unique_ptr<_Ty,std::default_delete<_Ty>>*>(_Iter,_Iter,std::unique_ptr<_Ty,std::default_delete<_Ty>> *)' being compiled
  72. 1>        with
  73. 1>        [
  74. 1>            _Ty=reshade::base_object,
  75. 1>            _Iter=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *
  76. 1>        ]
  77. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\vector(809): note: see reference to function template instantiation 'std::unique_ptr<reshade::base_object,std::default_delete<_Ty>> *std::vector<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::_Ucopy<std::unique_ptr<_Ty,std::default_delete<_Ty>>*>(_Iter,_Iter,std::unique_ptr<_Ty,std::default_delete<_Ty>> *)' being compiled
  78. 1>        with
  79. 1>        [
  80. 1>            _Ty=reshade::base_object,
  81. 1>            _Iter=std::unique_ptr<reshade::base_object,std::default_delete<reshade::base_object>> *
  82. 1>        ]
  83. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\vector(803): note: while compiling class template member function 'std::vector<std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::vector(const std::vector<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>> &)'
  84. 1>        with
  85. 1>        [
  86. 1>            _Ty=reshade::base_object
  87. 1>        ]
  88. 1>source\runtime_objects.cpp(246): note: see reference to function template instantiation 'std::vector<std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::vector(const std::vector<std::unique_ptr<_Ty,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>> &)' being compiled
  89. 1>        with
  90. 1>        [
  91. 1>            _Ty=reshade::base_object
  92. 1>        ]
  93. 1>c:\projects\c++\reshade\source\runtime_objects.hpp(105): note: see reference to class template instantiation 'std::vector<std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>' being compiled
  94. 1>        with
  95. 1>        [
  96. 1>            _Ty=reshade::base_object
  97. 1>        ]
  98. 1>E:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.24728\include\memory(1857): note: 'std::unique_ptr<reshade::base_object,std::default_delete<_Ty>>::unique_ptr(const std::unique_ptr<_Ty,std::default_delete<_Ty>> &)': function was explicitly deleted
  99. 1>        with
  100. 1>        [
  101. 1>            _Ty=reshade::base_object
  102. 1>        ]
  103. 1>Done building project "ReShade.vcxproj" -- FAILED.
  104. ========== Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========
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