sf2ww icon indicating copy to clipboard operation
sf2ww copied to clipboard

Building and running on Apple Silicon (M2)

Open palmerj opened this issue 4 months ago • 0 comments

Anyone tested this?

I've patched sf2types.h

diff --git a/FistBlue/sf2types.h b/FistBlue/sf2types.h
index 850c90c..96ef487 100644
--- a/FistBlue/sf2types.h
+++ b/FistBlue/sf2types.h
@@ -27,7 +27,7 @@
 #define SF2_CPU_AMD64
 #endif

-#ifdef __arm__
+#if defined(__arm__) || defined(__arm64__)
 #define SF2_ENDIAN_LITTLE
 #define SF2_CPU_ARM
 #endif

then built the roms, compiled the code with cmake, and then ran glutBasics I get a brown screen with debug info only.

Screenshot 2024-02-15 at 17 43 13

I've also tried building and running the code using the xcode project, but I got the same result.

Any tips for areas of the code to look at for platform issues?

palmerj avatar Feb 15 '24 06:02 palmerj