Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /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’:
- /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’?
- 45 | std::copy_n(_m_data.cbegin() + static_cast<long>(offset), size, buf);
- | ^~~~~~
- | copy
- /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)’:
- /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’?
- 59 | std::copy_n(buf, size, const_cast<std::byte*>(_m_data.data()) + static_cast<long>(offset));
- | ^~~~~~
- | copy
- /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’:
- /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’?
- 92 | std::copy_n(_m_data.data() + static_cast<long>(offset), size, buf);
- | ^~~~~~
- | copy
- /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)’:
- /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’?
- 106 | std::copy_n(buf, size, const_cast<std::byte*>(_m_data.data()) + static_cast<long>(offset));
- | ^~~~~~
- | copy
- make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:76: lib/ZenKit/CMakeFiles/zenkit.dir/src/__legacy_buffer.cc.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- /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’:
- /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)>)’
- 26 | auto result = std::lower_bound(this->blocks.begin(), this->blocks.end(), name, [](auto const& it, auto n) {
- | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 27 | return it.name < n;
- | ~~~~~~~~~~~~~~~~~~~
- 28 | });
- | ~~
- In file included from /usr/include/c++/14/vector:62,
- from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/Boxes.hh:8,
- from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/Archive.hh:4,
- from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/CutsceneLibrary.hh:4,
- from /home/black_fox/src/OpenGothic/lib/ZenKit/src/CutsceneLibrary.cc:3:
- /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&)’
- 1527 | lower_bound(_ForwardIterator __first, _ForwardIterator __last,
- | ^~~~~~~~~~~
- /usr/include/c++/14/bits/stl_algobase.h:1527:5: note: candidate expects 3 arguments, 4 provided
- /home/black_fox/src/OpenGothic/lib/ZenKit/src/CutsceneLibrary.cc: In member function ‘void zenkit::CutsceneLibrary::load(zenkit::Read*)’:
- /home/black_fox/src/OpenGothic/lib/ZenKit/src/CutsceneLibrary.cc:101:22: error: ‘sort’ is not a member of ‘std’; did you mean ‘sqrt’?
- 101 | std::sort(this->blocks.begin(), this->blocks.end(), [](auto const& a, auto const& b) {
- | ^~~~
- | sqrt
- make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:342: lib/ZenKit/CMakeFiles/zenkit.dir/src/CutsceneLibrary.cc.o] Error 1
- /home/black_fox/src/OpenGothic/lib/ZenKit/src/archive/ArchiveBinsafe.cc: In member function ‘virtual void zenkit::WriteArchiveBinsafe::write_header()’:
- /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’?
- 458 | std::sort(vc.begin(), vc.end(), [](auto const& a, auto const& b) { return a.second < b.second; });
- | ^~~~
- | sqrt
- make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:300: lib/ZenKit/CMakeFiles/zenkit.dir/src/archive/ArchiveBinsafe.cc.o] Error 1
- /home/black_fox/src/OpenGothic/lib/ZenKit/src/world/BspTree.cc: In lambda function:
- /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’?
- 105 | std::sort(this->leaf_polygons.begin(), this->leaf_polygons.end());
- | ^~~~
- | sqrt
- make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:90: lib/ZenKit/CMakeFiles/zenkit.dir/src/world/BspTree.cc.o] Error 1
- /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’:
- /home/black_fox/src/OpenGothic/lib/ZenKit/src/DaedalusScript.cc:153:22: error: ‘transform’ is not a member of ‘std’
- 153 | std::transform(up.begin(), up.end(), up.begin(), toupper);
- | ^~~~~~~~~
- /home/black_fox/src/OpenGothic/lib/ZenKit/src/DaedalusScript.cc: In member function ‘zenkit::DaedalusSymbol* zenkit::DaedalusScript::find_symbol_by_name(std::string_view)’:
- /home/black_fox/src/OpenGothic/lib/ZenKit/src/DaedalusScript.cc:179:22: error: ‘transform’ is not a member of ‘std’
- 179 | std::transform(up.begin(), up.end(), up.begin(), toupper);
- | ^~~~~~~~~
- /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&)>&)’:
- /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)’
- 206 | (std::find(prototypes.begin(), prototypes.end(), sym.parent()) != prototypes.end() ||
- | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/14/bits/locale_facets.h:48,
- from /usr/include/c++/14/locale:42,
- from /usr/include/c++/14/bits/fs_path.h:36,
- from /usr/include/c++/14/filesystem:52,
- from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/Stream.hh:13,
- from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/DaedalusScript.hh:6,
- from /home/black_fox/src/OpenGothic/lib/ZenKit/src/DaedalusScript.cc:3:
- /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&)’
- 435 | find(istreambuf_iterator<_CharT> __first,
- | ^~~~
- /usr/include/c++/14/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed:
- /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>’
- 206 | (std::find(prototypes.begin(), prototypes.end(), sym.parent()) != prototypes.end() ||
- | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:356: lib/ZenKit/CMakeFiles/zenkit.dir/src/DaedalusScript.cc.o] Error 1
- /home/black_fox/src/OpenGothic/lib/ZenKit/src/vobs/Misc.cc: In member function ‘virtual void zenkit::VNpc::load(zenkit::ReadArchive&, zenkit::GameVersion)’:
- /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)’
- 365 | auto next = std::find(it, pack.end(), ';');
- | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- In file included from /usr/include/c++/14/bits/locale_facets.h:48,
- from /usr/include/c++/14/locale:42,
- from /usr/include/c++/14/bits/fs_path.h:36,
- from /usr/include/c++/14/filesystem:52,
- from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/Stream.hh:13,
- from /home/black_fox/src/OpenGothic/lib/ZenKit/include/zenkit/Archive.hh:7,
- from /home/black_fox/src/OpenGothic/lib/ZenKit/src/vobs/Misc.cc:4:
- /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&)’
- 435 | find(istreambuf_iterator<_CharT> __first,
- | ^~~~
- /usr/include/c++/14/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed:
- /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> >’
- 365 | auto next = std::find(it, pack.end(), ';');
- | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
- make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:160: lib/ZenKit/CMakeFiles/zenkit.dir/src/vobs/Misc.cc.o] Error 1
- /home/black_fox/src/OpenGothic/lib/ZenKit/src/Stream.cc: In member function ‘virtual size_t zenkit::detail::WriteDynamic::write(const void*, size_t)’:
- /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’?
- 450 | std::copy_n(cbuf, len, _m_vector->data() + _m_position);
- | ^~~~~~
- | copy
- make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:636: lib/ZenKit/CMakeFiles/zenkit.dir/src/Stream.cc.o] Error 1
- /home/black_fox/src/OpenGothic/lib/ZenKit/src/Mesh.cc: In member function ‘void zenkit::Mesh::triangulate(const std::vector<unsigned int>&)’:
- /home/black_fox/src/OpenGothic/lib/ZenKit/src/Mesh.cc:201:35: error: ‘binary_search’ is not a member of ‘std’
- 201 | if (!std::binary_search(leaf_polygons.begin(), leaf_polygons.end(), i)) {
- | ^~~~~~~~~~~~~
- make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:454: lib/ZenKit/CMakeFiles/zenkit.dir/src/Mesh.cc.o] Error 1
- /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)’:
- /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’?
- 254 | auto result = std::find_if(choices.begin(), choices.end(), [filename](std::filesystem::path const& path) {
- | ^~~~~~~
- | find
- make[2]: *** [lib/ZenKit/CMakeFiles/zenkit.dir/build.make:608: lib/ZenKit/CMakeFiles/zenkit.dir/src/SaveGame.cc.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:634: lib/ZenKit/CMakeFiles/zenkit.dir/all] Error 2
- make: *** [Makefile:136: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement