mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-27 00:36:00 +03:00
[GH-ISSUE #1269] cmake error on macos #404
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#404
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kaisyaliu on GitHub (Oct 6, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/1269
[ 75%] Building CXX object CMakeFiles/shadps4.dir/src/qt_gui/game_list_frame.cpp.o
In file included from /Users/jingliu/Downloads/shadPS4/build/shadps4_autogen/mocs_compilation.cpp:11:
In file included from /Users/jingliu/Downloads/shadPS4/build/shadps4_autogen/YDF7JMINI2/moc_main_window.cpp:9:
In file included from /Users/jingliu/Downloads/shadPS4/build/shadps4_autogen/YDF7JMINI2/../../../src/qt_gui/main_window.h:16:
In file included from /Users/jingliu/Downloads/shadPS4/src/emulator.h:10:
/Users/jingliu/Downloads/shadPS4/src/core/linker.h:86:30: error: no member named 'contains' in namespace 'std::__1::ranges'
if (std::ranges::contains(imports, m->name, &ModuleInfo::name)) {
~~~~~~~~~~~~~^
3 warnings generated.
[ 75%] Building CXX object CMakeFiles/shadps4.dir/src/qt_gui/game_grid_frame.cpp.o
[ 75%] Building CXX object CMakeFiles/shadps4.dir/src/qt_gui/game_install_dialog.cpp.o
1 error generated.
make[2]: *** [CMakeFiles/shadps4.dir/shadps4_autogen/mocs_compilation.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /Users/jingliu/Downloads/shadPS4/src/qt_gui/main_window.cpp:19:
In file included from /Users/jingliu/Downloads/shadPS4/src/qt_gui/main_window.h:16:
In file included from /Users/jingliu/Downloads/shadPS4/src/emulator.h:10:
/Users/jingliu/Downloads/shadPS4/src/core/linker.h:86:30: error: no member named 'contains' in namespace 'std::__1::ranges'
if (std::ranges::contains(imports, m->name, &ModuleInfo::name)) {
~~~~~~~~~~~~~^
In file included from /Users/jingliu/Downloads/shadPS4/src/imgui/renderer/imgui_core.cpp:7:
In file included from /Users/jingliu/Downloads/shadPS4/src/common/config.h:6:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/filesystem:245:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__filesystem/directory_entry.h:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__filesystem/filesystem_error.h:15:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__filesystem/path.h:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/string:534:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__memory/allocate_at_least.h:13:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__memory/allocator_traits.h:298:9: error: no matching function for call to 'construct_at'
_VSTD::construct_at(__p, _VSTD::forward<_Args>(__args)...);
^~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/include/c++/v1/__config:695:17: note: expanded from macro '_VSTD'
define _VSTD std
@qurious-pixel commented on GitHub (Oct 6, 2024):
It is similar to this issue: https://github.com/shadps4-emu/shadPS4/issues/799
Your Clang/AppleClang does not have the
std::ranges::contains@kaisyaliu commented on GitHub (Oct 6, 2024):
This's my gcc version info. it's version wrong?
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: x86_64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
@squidbus commented on GitHub (Oct 6, 2024):
You need Xcode 16.
@kaisyaliu commented on GitHub (Oct 6, 2024):
Thanks a lot.