-
Notifications
You must be signed in to change notification settings - Fork 637
Build issue with LLVM 18.1.1 on msys2 #39
Comments
These guys had the same problem: jtv/libpqxx#738 |
You could try modifying the C:/msys64/clang64/include/qt6/QtCore/qbytearrayview.h file this way: struct uchar_traits : std::char_traits {
}; Here's my modified file: |
It compiled but gave me an error at loading |
OK, I gave Copilot AI another chance and reworked my request. It suggested replacing line 25 in
with this:
I tried it; it compiles and games seem to work in both OpenGL and Vulkan. Not sure if I trust it though, so hopefully someone stronger with C++ can either verify or write something that's correct. |
My problem was using old dll libraries. Both methods seem to work. Good work, we need more people like you trying to improve the emu, this repo feels a little alone. |
Is there an existing issue for this?
Affected Build(s)
HEAD
Description of Issue
Building Citra with Clang 18.1.1 on msys2 now yields this error:
And the compiler seems to now be enforcing this deprecation.
I'm not a strong coder, but I was able to get something that compiled with the assistance of Copilot AI, but it breaks Vulkan (so more investigation needed, but I get better performance on OpenGL on this set up anyway so I can live with it).
That said, as far as I can tell, at least these files need to be modified:
to rework the QString stuff. I'm not very familiar with the code to know if there are other places as well.
Expected Behavior
Successful compilation.
Reproduction Steps
Build Citra with Clang 18.1.1 (on msys2, but maybe on other OSes as well).
Log File
No logs; this is a compile issue.
System Configuration
CPU: Intel Kaby Lake
GPU/Driver: Integrated Intel HD Graphics 620
RAM: 8GB
OS: Windows 10 64-bit
The text was updated successfully, but these errors were encountered: