Cemu
Cemu copied to clipboard
Add Apple Silicon build instructions
It builds now.
My cmake was bad and it was trying to link against arm64 libs. Terminal logs of how I resolved it
$ brew install boost
Warning: boost 1.79.0_2 is already installed, it's just not linked.
To link this version, run:
brew link boost
$ brew link boost
Linking /usr/local/Cellar/boost/1.79.0_2...
Error: Could not symlink lib/cmake/Boost-1.79.0
/usr/local/lib/cmake is not writable.
$ sudo rm /usr/local/lib/cmake
$ brew link boost
Linking /usr/local/Cellar/boost/1.79.0_2... 186 symlinks created.
$
To make it not crash I commented out this and it runs with controller support, good audio but graphical glitches. Saving is very slow.
diff --git a/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp b/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp
index fbc268c..65a4b2b 100644
--- a/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp
+++ b/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp
@@ -2230,7 +2230,7 @@ void VulkanRenderer::SubmitCommandBuffer(VkSemaphore* signalSemaphore, VkSemapho
const VkResult result = vkQueueSubmit(m_graphicsQueue, 1, &submitInfo, m_cmd_buffer_fences[m_commandBufferIndex]);
if (result != VK_SUCCESS)
- UnrecoverableError(fmt::format("failed to submit command buffer. Error {}", result).c_str());
+// UnrecoverableError(fmt::format("failed to submit command buffer. Error {}", result).c_str());
m_numSubmittedCmdBuffers++;
// check if any previously submitted command buffers have finished execution

Thanks @Tachi107 for your feedback
I would add a suggestion to install rosetta if the user doesn't have it installed already.
softwareupdate --install-rosetta
My build was failed... cmake error.txt