Advertisement
Black_Fox

Untitled

May 8th, 2024
655
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 13.04 KB | None | 0 0
  1. /home/black_fox/src/OpenGothic/lib/ZenKit/src/__legacy_buffer.cc: In member function ‘virtual void phoenix::detail::heap_backing::read(std::byte*, uint64_t, uint64_t) const’:
  2. /home/black_fox/src/OpenGothic/lib/ZenKit/src/__legacy_buffer.cc:45:38: error: ‘copy_n’ is not a member of ‘std’; did you mean ‘copy’?
  3.    45 |                                 std::copy_n(_m_data.cbegin() + static_cast<long>(offset), size, buf);
  4.       |                                      ^~~~~~
  5.       |                                      copy
  6. /home/black_fox/src/OpenGothic/lib/ZenKit/src/__legacy_buffer.cc: In member function ‘virtual void phoenix::detail::heap_backing::write(const std::byte*, uint64_t, uint64_t):
  7. /home/black_fox/src/OpenGothic/lib/ZenKit/src/__legacy_buffer.cc:59:38: error: ‘copy_n’ is not a member of ‘std’; did you mean ‘copy’?
  8.    59 |                                 std::copy_n(buf, size, const_cast<std::byte*>(_m_data.data()) + static_cast<long>(offset));
  9.       |                                      ^~~~~~
  10.       |                                      copy
  11. /home/black_fox/src/OpenGothic/lib/ZenKit/src/__legacy_buffer.cc: In member function ‘virtual void phoenix::detail::mmap_backing::read(std::byte*, uint64_t, uint64_t) const’:
  12. /home/black_fox/src/OpenGothic/lib/ZenKit/src/__legacy_buffer.cc:92:38: error: ‘copy_n’ is not a member of ‘std’; did you mean ‘copy’?
  13.    92 |                                 std::copy_n(_m_data.data() + static_cast<long>(offset), size, buf);
  14.       |                                      ^~~~~~
  15.       |                                      copy
  16. /home/black_fox/src/OpenGothic/lib/ZenKit/src/__legacy_buffer.cc: In member function ‘virtual void phoenix::detail::mmap_backing::write(const std::byte*, uint64_t, uint64_t):
  17. /home/black_fox/src/OpenGothic/lib/ZenKit/src/__legacy_buffer.cc:106:38: error: ‘copy_n’ is not a member of ‘std’; did you mean ‘copy’?
  18.   106 |                                 std::copy_n(buf, size, const_cast<std::byte*>(_m_data.data()) + static_cast<long>(offset));
  19.       |                                      ^~~~~~
  20.       |                                      copy
  21. make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:76: lib/ZenKit/CMakeFiles/zenkit.dir/src/__legacy_buffer.cc.o] Error 1
  22. make[2]: *** Waiting for unfinished jobs....
  23. /home/black_fox/src/OpenGothic/lib/ZenKit/src/CutsceneLibrary.cc: In member function ‘const zenkit::CutsceneBlock* zenkit::CutsceneLibrary::block_by_name(std::string_view) const’:
  24. /home/black_fox/src/OpenGothic/lib/ZenKit/src/CutsceneLibrary.cc:26:47: error: no matching function for call to ‘lower_bound(std::vector<zenkit::CutsceneBlock>::const_iterator, std::vector<zenkit::CutsceneBlock>::const_iterator, std::string_view&, zenkit::CutsceneLibrary::block_by_name(std::string_view) const::<lambda(const auto:27&, auto:28)>)
  25.    26 |                 auto result = std::lower_bound(this->blocks.begin(), this->blocks.end(), name, [](auto const& it, auto n) {
  26.       |                               ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  27.    27 |                         return it.name < n;
  28.       |                         ~~~~~~~~~~~~~~~~~~~    
  29.    28 |                 });
  30.       |                 ~~                            
  31. In file included from /usr/include/c++/14/vector:62,
  32.                  from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/Boxes.hh:8,
  33.                  from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/Archive.hh:4,
  34.                  from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/CutsceneLibrary.hh:4,
  35.                  from /home/black_fox/src/OpenGothic/lib/ZenKit/src/CutsceneLibrary.cc:3:
  36. /usr/include/c++/14/bits/stl_algobase.h:1527:5: note: candidate: ‘template<class _ForwardIterator, class _Tp> _ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&)
  37.  1527 |     lower_bound(_ForwardIterator __first, _ForwardIterator __last,
  38.       |     ^~~~~~~~~~~
  39. /usr/include/c++/14/bits/stl_algobase.h:1527:5: note:   candidate expects 3 arguments, 4 provided
  40. /home/black_fox/src/OpenGothic/lib/ZenKit/src/CutsceneLibrary.cc: In member function ‘void zenkit::CutsceneLibrary::load(zenkit::Read*):
  41. /home/black_fox/src/OpenGothic/lib/ZenKit/src/CutsceneLibrary.cc:101:22: error: ‘sort’ is not a member of ‘std’; did you mean ‘sqrt’?
  42.   101 |                 std::sort(this->blocks.begin(), this->blocks.end(), [](auto const& a, auto const& b) {
  43.       |                      ^~~~
  44.       |                      sqrt
  45. make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:342: lib/ZenKit/CMakeFiles/zenkit.dir/src/CutsceneLibrary.cc.o] Error 1
  46. /home/black_fox/src/OpenGothic/lib/ZenKit/src/archive/ArchiveBinsafe.cc: In member function ‘virtual void zenkit::WriteArchiveBinsafe::write_header():
  47. /home/black_fox/src/OpenGothic/lib/ZenKit/src/archive/ArchiveBinsafe.cc:458:22: error: ‘sort’ is not a member of ‘std’; did you mean ‘sqrt’?
  48.   458 |                 std::sort(vc.begin(), vc.end(), [](auto const& a, auto const& b) { return a.second < b.second; });
  49.       |                      ^~~~
  50.       |                      sqrt
  51. make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:300: lib/ZenKit/CMakeFiles/zenkit.dir/src/archive/ArchiveBinsafe.cc.o] Error 1
  52. /home/black_fox/src/OpenGothic/lib/ZenKit/src/world/BspTree.cc: In lambda function:
  53. /home/black_fox/src/OpenGothic/lib/ZenKit/src/world/BspTree.cc:105:38: error: ‘sort’ is not a member of ‘std’; did you mean ‘sqrt’?
  54.   105 |                                 std::sort(this->leaf_polygons.begin(), this->leaf_polygons.end());
  55.       |                                      ^~~~
  56.       |                                      sqrt
  57. make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:90: lib/ZenKit/CMakeFiles/zenkit.dir/src/world/BspTree.cc.o] Error 1
  58. /home/black_fox/src/OpenGothic/lib/ZenKit/src/DaedalusScript.cc: In member function ‘const zenkit::DaedalusSymbol* zenkit::DaedalusScript::find_symbol_by_name(std::string_view) const’:
  59. /home/black_fox/src/OpenGothic/lib/ZenKit/src/DaedalusScript.cc:153:22: error: ‘transform’ is not a member of ‘std’
  60.   153 |                 std::transform(up.begin(), up.end(), up.begin(), toupper);
  61.       |                      ^~~~~~~~~
  62. /home/black_fox/src/OpenGothic/lib/ZenKit/src/DaedalusScript.cc: In member function ‘zenkit::DaedalusSymbol* zenkit::DaedalusScript::find_symbol_by_name(std::string_view):
  63. /home/black_fox/src/OpenGothic/lib/ZenKit/src/DaedalusScript.cc:179:22: error: ‘transform’ is not a member of ‘std’
  64.   179 |                 std::transform(up.begin(), up.end(), up.begin(), toupper);
  65.       |                      ^~~~~~~~~
  66. /home/black_fox/src/OpenGothic/lib/ZenKit/src/DaedalusScript.cc: In member function ‘void zenkit::DaedalusScript::enumerate_instances_by_class_name(std::string_view, const std::function<void(zenkit::DaedalusSymbol&)>&):
  67. /home/black_fox/src/OpenGothic/lib/ZenKit/src/DaedalusScript.cc:206:46: error: no matching function for call to ‘find(std::vector<unsigned int>::iterator, std::vector<unsigned int>::iterator, uint32_t)
  68.   206 |                                    (std::find(prototypes.begin(), prototypes.end(), sym.parent()) != prototypes.end() ||
  69.       |                                     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  70. In file included from /usr/include/c++/14/bits/locale_facets.h:48,
  71.                  from /usr/include/c++/14/locale:42,
  72.                  from /usr/include/c++/14/bits/fs_path.h:36,
  73.                  from /usr/include/c++/14/filesystem:52,
  74.                  from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/Stream.hh:13,
  75.                  from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/DaedalusScript.hh:6,
  76.                  from /home/black_fox/src/OpenGothic/lib/ZenKit/src/DaedalusScript.cc:3:
  77. /usr/include/c++/14/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)
  78.   435 |     find(istreambuf_iterator<_CharT> __first,
  79.       |     ^~~~
  80. /usr/include/c++/14/bits/streambuf_iterator.h:435:5: note:   template argument deduction/substitution failed:
  81. /home/black_fox/src/OpenGothic/lib/ZenKit/src/DaedalusScript.cc:206:46: note:   ‘__gnu_cxx::__normal_iterator<unsigned int*, std::vector<unsigned int> >’ is not derived from ‘std::istreambuf_iterator<_CharT>
  82.   206 |                                    (std::find(prototypes.begin(), prototypes.end(), sym.parent()) != prototypes.end() ||
  83.       |                                     ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  84. make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:356: lib/ZenKit/CMakeFiles/zenkit.dir/src/DaedalusScript.cc.o] Error 1
  85. /home/black_fox/src/OpenGothic/lib/ZenKit/src/vobs/Misc.cc: In member function ‘virtual void zenkit::VNpc::load(zenkit::ReadArchive&, zenkit::GameVersion):
  86. /home/black_fox/src/OpenGothic/lib/ZenKit/src/vobs/Misc.cc:365:54: error: no matching function for call to ‘find(__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >&, std::__cxx11::basic_string<char>::iterator, char)
  87.   365 |                                 auto next = std::find(it, pack.end(), ';');
  88.       |                                             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  89. In file included from /usr/include/c++/14/bits/locale_facets.h:48,
  90.                  from /usr/include/c++/14/locale:42,
  91.                  from /usr/include/c++/14/bits/fs_path.h:36,
  92.                  from /usr/include/c++/14/filesystem:52,
  93.                  from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/Stream.hh:13,
  94.                  from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/Archive.hh:7,
  95.                  from /home/black_fox/src/OpenGothic/lib/ZenKit/src/vobs/Misc.cc:4:
  96. /usr/include/c++/14/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT, std::char_traits<_CharT> > >::__type std::find(istreambuf_iterator<_CharT, char_traits<_CharT> >, istreambuf_iterator<_CharT, char_traits<_CharT> >, const _CharT2&)
  97.   435 |     find(istreambuf_iterator<_CharT> __first,
  98.       |     ^~~~
  99. /usr/include/c++/14/bits/streambuf_iterator.h:435:5: note:   template argument deduction/substitution failed:
  100. /home/black_fox/src/OpenGothic/lib/ZenKit/src/vobs/Misc.cc:365:54: note:   ‘__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >’ is not derived from ‘std::istreambuf_iterator<_CharT, std::char_traits<_CharT> >
  101.   365 |                                 auto next = std::find(it, pack.end(), ';');
  102.       |                                             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
  103. make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:160: lib/ZenKit/CMakeFiles/zenkit.dir/src/vobs/Misc.cc.o] Error 1
  104. /home/black_fox/src/OpenGothic/lib/ZenKit/src/Stream.cc: In member function ‘virtual size_t zenkit::detail::WriteDynamic::write(const void*, size_t):
  105. /home/black_fox/src/OpenGothic/lib/ZenKit/src/Stream.cc:450:38: error: ‘copy_n’ is not a member of ‘std’; did you mean ‘copy’?
  106.   450 |                                 std::copy_n(cbuf, len, _m_vector->data() + _m_position);
  107.       |                                      ^~~~~~
  108.       |                                      copy
  109. make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:636: lib/ZenKit/CMakeFiles/zenkit.dir/src/Stream.cc.o] Error 1
  110. /home/black_fox/src/OpenGothic/lib/ZenKit/src/Mesh.cc: In member function ‘void zenkit::Mesh::triangulate(const std::vector<unsigned int>&):
  111. /home/black_fox/src/OpenGothic/lib/ZenKit/src/Mesh.cc:201:35: error: ‘binary_search’ is not a member of ‘std’
  112.   201 |                         if (!std::binary_search(leaf_polygons.begin(), leaf_polygons.end(), i)) {
  113.       |                                   ^~~~~~~~~~~~~
  114. make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:454: lib/ZenKit/CMakeFiles/zenkit.dir/src/Mesh.cc.o] Error 1
  115. /home/black_fox/src/OpenGothic/lib/ZenKit/src/SaveGame.cc: In function ‘std::optional<std::filesystem::__cxx11::path> zenkit::find_file_matching(const std::set<std::filesystem::__cxx11::path>&, std::string_view):
  116. /home/black_fox/src/OpenGothic/lib/ZenKit/src/SaveGame.cc:254:36: error: ‘find_if’ is not a member of ‘std’; did you mean ‘find’?
  117.   254 |                 auto result = std::find_if(choices.begin(), choices.end(), [filename](std::filesystem::path const& path) {
  118.       |                                    ^~~~~~~
  119.       |                                    find
  120. make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:608: lib/ZenKit/CMakeFiles/zenkit.dir/src/SaveGame.cc.o] Error 1
  121. make[1]: *** [CMakeFiles/Makefile2:634: lib/ZenKit/CMakeFiles/zenkit.dir/all] Error 2
  122. make: *** [Makefile:136: all] Error 2
  123.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement